
/* =========================================================
   ASPIRIN CRM — CLIENTS V160
   ========================================================= */

#screen-clients {
    padding-bottom: 145px;
}


.a160-wrap {
    margin-top: 22px;
}


.a160-search {
    position: relative;

    margin-bottom: 14px;
}


.a160-search-input {
    width: 100%;

    box-sizing: border-box;

    min-height: 54px;

    padding:
        0 48px 0 18px;

    border-radius: 18px;

    border:
        1px solid
        rgba(255,255,255,.09);

    outline: 0;

    background:
        rgba(255,255,255,.045);

    color: #fff;

    font: inherit;
    font-size: 14px;
}


.a160-search-input::placeholder {
    color: #70737b;
}


.a160-search-icon {
    position: absolute;

    right: 17px;
    top: 50%;

    transform:
        translateY(-50%);

    color: #777a82;

    font-size: 19px;

    pointer-events: none;
}


.a160-summary {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 9px;

    margin-bottom: 18px;
}


.a160-stat {
    padding:
        14px 15px;

    border-radius: 18px;

    border:
        1px solid
        rgba(255,255,255,.07);

    background:
        rgba(255,255,255,.035);
}


.a160-stat-value {
    color: #cfff2f;

    font-size: 21px;
    font-weight: 950;
}


.a160-stat-label {
    margin-top: 4px;

    color: #747780;

    font-size: 10px;
}


.a160-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.a160-card {
    width: 100%;

    padding:
        17px;

    box-sizing: border-box;

    border-radius: 21px;

    border:
        1px solid
        rgba(255,255,255,.08);

    background:
        rgba(255,255,255,.04);

    color: #fff;

    text-align: left;
}


.a160-card:active {
    transform:
        scale(.985);
}


.a160-card-top {
    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap: 12px;
}


.a160-card-name {
    color: #fff;

    font-size: 17px;
    font-weight: 900;
}


.a160-card-phone {
    margin-top: 5px;

    color: #8d9098;

    font-size: 12px;
}


.a160-arrow {
    color: #cfff2f;

    font-size: 23px;
}


.a160-car {
    margin-top: 14px;

    padding-top: 13px;

    border-top:
        1px solid
        rgba(255,255,255,.055);
}


.a160-car-name {
    color: #e7e7e9;

    font-size: 13px;
    font-weight: 750;
}


.a160-plate {
    display: inline-block;

    margin-top: 5px;

    padding:
        4px 8px;

    border-radius: 8px;

    background:
        rgba(255,255,255,.065);

    color: #b9bbc1;

    font-size: 10px;

    letter-spacing: .5px;
}


.a160-card-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 13px;
}


.a160-chip {
    padding:
        5px 8px;

    border-radius: 9px;

    background:
        rgba(207,255,47,.07);

    color: #aeb585;

    font-size: 9px;
}


.a160-state {
    padding:
        40px 20px;

    text-align: center;

    color: #7d8088;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   DETAIL
   ========================================================= */

.a160-overlay {
    position: fixed;

    z-index: 8500;

    inset: 0;

    display: none;

    background:
        rgba(0,0,0,.76);

    backdrop-filter:
        blur(12px);
}


.a160-overlay.open {
    display: block;
}


.a160-sheet {
    position: absolute;

    left: 12px;
    right: 12px;

    bottom:
        calc(
            12px
            + env(safe-area-inset-bottom)
        );

    max-height:
        calc(
            100vh
            - 85px
        );

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border-radius: 27px;

    border:
        1px solid
        rgba(255,255,255,.09);

    background: #151619;

    box-shadow:
        0 30px 90px
        rgba(0,0,0,.6);
}


.a160-sheet-head {
    flex: 0 0 auto;

    display: flex;

    justify-content:
        space-between;

    align-items: flex-start;

    gap: 15px;

    padding:
        20px 18px 15px;

    border-bottom:
        1px solid
        rgba(255,255,255,.055);
}


.a160-detail-name {
    color: #fff;

    font-size: 21px;
    font-weight: 950;
}


.a160-detail-phone {
    margin-top: 5px;

    color: #878a91;

    font-size: 12px;
}


.a160-close {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 14px;

    background:
        rgba(255,255,255,.065);

    color: #fff;

    font-size: 20px;
}


.a160-sheet-body {
    flex: 1 1 auto;

    overflow-y: auto;

    padding:
        15px 15px 22px;

    -webkit-overflow-scrolling:
        touch;
}


.a160-new-appointment {
    width: 100%;

    min-height: 49px;

    margin-bottom: 15px;

    border: 0;
    border-radius: 16px;

    background:
        #cfff2f;

    color: #070707;

    font-size: 13px;
    font-weight: 900;
}


.a160-section-title {
    margin:
        17px 3px 9px;

    color: #777a82;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .7px;
}


.a160-vehicles {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.a160-vehicle {
    padding:
        12px 13px;

    border-radius: 15px;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid
        rgba(255,255,255,.05);
}


.a160-vehicle-name {
    color: #e7e8ea;

    font-size: 12px;
    font-weight: 800;
}


.a160-visit {
    margin-bottom: 9px;

    padding:
        14px;

    border-radius: 17px;

    background:
        rgba(255,255,255,.038);

    border:
        1px solid
        rgba(255,255,255,.055);
}


.a160-visit-head {
    display: flex;

    justify-content:
        space-between;

    gap: 10px;
}


.a160-visit-date {
    color: #fff;

    font-size: 13px;
    font-weight: 850;
}


.a160-status {
    padding:
        4px 7px;

    border-radius: 8px;

    font-size: 8px;
    font-weight: 850;

    white-space: nowrap;
}


.a160-status.new {
    color: #ddd;

    background:
        rgba(255,255,255,.07);
}


.a160-status.in_progress {
    color: #d7ff63;

    background:
        rgba(207,255,47,.08);
}


.a160-status.done {
    color: #9ff0bb;

    background:
        rgba(60,220,120,.08);
}


.a160-status.no_show {
    color: #ff9a9a;

    background:
        rgba(255,112,112,.08);
}


.a160-visit-car {
    margin-top: 8px;

    color: #b5b7bd;

    font-size: 11px;
}


.a160-visit-services {
    margin-top: 10px;

    color: #e6e7e9;

    font-size: 12px;

    line-height: 1.45;

    white-space: pre-wrap;
}


.a160-visit-note {
    margin-top: 9px;

    color: #858890;

    font-size: 11px;

    line-height: 1.4;

    white-space: pre-wrap;
}


.a160-reception {
    display: flex;

    gap: 7px;

    flex-wrap: wrap;

    margin-top: 10px;
}


.a160-reception-chip {
    padding:
        5px 7px;

    border-radius: 8px;

    background:
        rgba(207,255,47,.065);

    color: #aab576;

    font-size: 8px;
}


.a160-source {
    margin-top: 9px;

    color: #555860;

    font-size: 8px;
}
