.aat-v2-dashboard{
    max-width:1400px;
    margin:40px auto;
    padding:20px;
    font-family:Arial,sans-serif;
}

.aat-v2-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    gap:20px;
    flex-wrap:wrap;
}

.aat-v2-profile{
    display:flex;
    align-items:center;
    gap:18px;
}
.aat-cal-day.today{
    border:2px solid #1e73be;
    background:#eaf4ff;
}

.aat-calendar-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:12px;
}



.aat-calendar-empty{
    min-height:90px;
}

.aat-calendar-day.today{
    border:2px solid #1e73be;
    background:#eef6ff;
}


.aat-calendar-weekdays{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:12px;
    margin-bottom:15px;
    text-align:center;
    font-weight:700;
}



.aat-calendar-weekdays span{
    display:block;
}

.aat-v2-full-card{

    grid-column:1/-1;

    background:#fff;

    border-radius:18px;

    padding:25px;

    box-shadow:0 4px 20px rgba(0,0,0,.06);

    margin-bottom:20px;
}

.aat-calendar-wrapper{
    width:100%;

    overflow-x:hidden;
}

.aat-v2-avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#0a7cff;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:700;
}

.aat-v2-status{
    background:#ecfdf3;
    color:#027a48;
    padding:10px 18px;
    border-radius:30px;
    font-weight:600;
}

.online-dot{
    width:10px;
    height:10px;
    background:#12b76a;
    display:inline-block;
    border-radius:50%;
    margin-right:8px;
}

.aat-v2-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.aat-v2-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
}

.aat-v2-card h3{
    margin:0 0 10px;
    font-size:15px;
    color:#666;
}

.aat-v2-card strong{
    font-size:32px;
}

.aat-v2-tabs{
    display:flex;
    gap:12px;
    margin-bottom:30px;
    flex-wrap:wrap;
}

.aat-v2-tabs button{
    border:none;
    background:#f2f4f7;
    padding:12px 18px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
}

.aat-v2-tabs button.active{
    background:#0a7cff;
    color:#fff;
}

.aat-v2-active-job,
.aat-v2-history{
    background:#fff;
    border-radius:18px;
    padding:25px;
    margin-bottom:30px;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
}

.aat-v2-job-header,
.aat-v2-section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.aat-v2-live{
    background:#fee4e2;
    color:#d92d20;
    padding:6px 12px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
}

.aat-v2-job-body{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.aat-v2-empty{
    color:#777;
}

@media(max-width:768px){

    .aat-v2-dashboard{
        padding:15px;
    }

    .aat-v2-card strong{
        font-size:26px;
    }

}
.aat-v2-idle{
    background:#f2f4f7;
    color:#344054;
}

.aat-v2-full{
    grid-column:1/-1;
}

.aat-v2-job-actions{
    margin-top:25px;
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.aat-v2-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 18px;
    border-radius:10px;
    background:#0a7cff;
    color:#fff;
    text-decoration:none;
    border:none;
    cursor:pointer;
    font-weight:600;
}

.aat-v2-call{
    background:#12b76a;
}

.aat-v2-start{
    background:#101828;
}

.aat-v2-history-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.aat-v2-history-item{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr 1fr;
    gap:15px;
    align-items:center;
    padding:18px;
    border-radius:14px;
    background:#f9fafb;
}

.aat-v2-type{
    background:#eff8ff;
    color:#175cd3;
    padding:6px 10px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.aat-v2-status-badge{
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:700;
}

.status-completed{
    background:#ecfdf3;
    color:#027a48;
}

.status-started,
.status-on_the_way,
.status-accepted{
    background:#eff8ff;
    color:#175cd3;
}

.status-cancelled{
    background:#fee4e2;
    color:#d92d20;
}

.status-assigned,
.status-scheduled,
.status-pending{
    background:#f2f4f7;
    color:#344054;
}

@media(max-width:900px){

    .aat-v2-history-item{
        grid-template-columns:1fr;
    }

}
.aat-v2-arrived{
    background:#f79009;
}
.aat-v2-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.aat-v2-modal-box{
    background:#fff;
    border-radius:20px;
    padding:30px;
    width:100%;
    max-width:420px;
}

.aat-v2-modal-box h3{
    margin-top:0;
}

.aat-v2-modal-box input{
    width:100%;
    padding:14px;
    border:1px solid #d0d5dd;
    border-radius:10px;
    margin:20px 0;
    font-size:18px;
}

.aat-v2-cancel{
    background:#667085;
    margin-left:10px;
}
.aat-v2-photo-section{
    margin-top:30px;
    padding-top:25px;
    border-top:1px solid #eaecf0;
}

.aat-v2-photo-preview{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin:20px 0;
}

.aat-v2-photo-preview img{
    width:110px;
    height:110px;
    object-fit:cover;
    border-radius:12px;
    border:2px solid #eaecf0;
}
.aat-v2-complete{
    background:#12b76a;
}
.aat-rating-stars{
    display:flex;
    gap:10px;
    margin:20px 0;
    font-size:32px;
    cursor:pointer;
}

.aat-rating-stars span{
    opacity:0.4;
    transition:0.2s;
}

.aat-rating-stars span.active{
    opacity:1;
    transform:scale(1.1);
}

#aat_feedback{
    width:100%;
    min-height:120px;
    border:1px solid #d0d5dd;
    border-radius:12px;
    padding:14px;
    resize:none;
    margin-bottom:20px;
}

.aat-v2-card p{
    margin-top:10px;
    color:#667085;
    font-size:14px;
}

.aat-v2-wallet,
.aat-v2-transactions{
    background:#fff;
    border-radius:18px;
    padding:25px;
    margin-bottom:30px;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
}

.aat-v2-wallet-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.aat-v2-wallet-card{
    background:#f9fafb;
    border-radius:16px;
    padding:20px;
}

.aat-v2-wallet-card h4{
    margin:0 0 10px;
    color:#667085;
}

.aat-v2-wallet-card strong{
    font-size:28px;
}

.aat-v2-transaction-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.aat-v2-transaction-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:18px;
    border-radius:14px;
    background:#f9fafb;
    flex-wrap:wrap;
}
.aat-wallet-cycle{
    color:#667085;
    margin-top:-10px;
    margin-bottom:25px;
}

.aat-v2-leave-history{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.aat-v2-leave-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f8fafc;
    padding:16px;
    border-radius:12px;
}

.aat-leave-approved{
    color:#16a34a;
    font-weight:600;
}

.aat-leave-rejected{
    color:#dc2626;
    font-weight:600;
}

.aat-leave-pending{
    color:#f59e0b;
    font-weight:600;
}

#aat-leave-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

#aat-leave-form select,
#aat-leave-form input,
#aat-leave-form textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
}

.aat-v2-leave-history{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.aat-v2-leave-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f8fafc;
    border-radius:14px;
    padding:18px 20px;
}

.aat-v2-leave-info h4{
    margin:0;
    font-size:18px;
    font-weight:600;
}

.aat-v2-leave-info p{
    margin:6px 0 0;
    color:#64748b;
    font-size:14px;
}

.aat-v2-leave-status span{
    padding:8px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.aat-leave-approved{
    background:#dcfce7;
    color:#16a34a;
}

.aat-leave-rejected{
    background:#fee2e2;
    color:#dc2626;
}

.aat-leave-pending{
    background:#fef3c7;
    color:#d97706;
}



.aat-calendar-day{
    min-height:90px;
    background:#f5f7fa;
    border-radius:12px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.aat-status-p{
    color:#16a34a;
}

.aat-status-a{
    color:#dc2626;
}

.aat-status-h{
    color:#f59e0b;
}

.aat-status-cl{
    color:#2563eb;
}

.aat-status-sl{
    color:#9333ea;
}

.aat-status-el{
    color:#0f172a;
}

.aat-day-number{

    display:block;

    font-weight:700;

    font-size:16px;
}

.aat-day-status{

    display:block;

    margin-top:8px;

    font-size:14px;

    font-weight:700;
}