.aq-modal-card {
    font-family: 'Inter', sans-serif;
    border-radius: 20px !important;
    background: #ffffff;
}

/* ---- Header ---- */
.aq-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #EEEDFE;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.aq-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}
.aq-subtitle {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
}
.aq-badge-count {
    background: #FAEEDA;
    color: #633806;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.aq-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 0.5px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
}
.aq-close-btn:hover { background: #f1f5f9; }

/* ---- Column Labels ---- */
.aq-labels-row {
    display: grid;
    grid-template-columns: 20px 1.8fr 1.1fr 1.5fr 1fr 100px;
    gap: 6px;
    padding: 10px 10px 10px 10px;
    background: #f8fafc;
    border-radius: 10px;
    border: 0.5px solid #f1f5f9;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.aq-labels-row div:last-child { text-align: center; }

/* ---- Row ---- */
.aq-item-row {
    display: grid;
    grid-template-columns: 20px 1.8fr 1.1fr 1.5fr 1fr 100px;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    padding: 13px 10px;
    border: 0.5px solid #f1f5f9;
    background: #ffffff;
    margin-bottom: 7px;
    transition: background 0.15s;
}
.aq-row-pending {
    background: #FFFBF0;
    border-color: #FAC775;
}

/* ---- Status Dot ---- */
.aq-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.aq-dot-warning { background: #BA7517; }
.aq-dot-success { background: #1D9E75; }
.aq-dot-purple  { background: #534AB7; }

/* ---- Employee ---- */
.aq-col-emp {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}
.aq-avatar-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.aq-info { min-width: 0; }
.aq-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aq-id {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

/* ---- Type Badges ---- */
.aq-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    white-space: nowrap;
}
.aq-type-leave   { background: #FCEBEB; color: #791F1F; }
.aq-type-wfh     { background: #E1F5EE; color: #085041; }
.aq-type-halfday { background: #EEEDFE; color: #26215C; }

/* ---- Date ---- */
.aq-date-main {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}
.aq-date-sub {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
}

/* ---- Status Pills ---- */
.aq-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.aq-dot-inline {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.aq-status-pending  { background: #FAEEDA; color: #633806; }
.aq-status-approved { background: #EAF3DE; color: #27500A; }
.aq-status-rejected { background: #FCEBEB; color: #501313; }

/* ---- Action Buttons ---- */
.aq-col-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.aq-btn-approve,
.aq-btn-reject {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border-width: 1.5px;
    border-style: solid;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.aq-btn-approve {
    background: #EAF3DE;
    border-color: #C0DD97;
}
.aq-btn-approve:hover:not(:disabled) {
    background: #16a34a;
    border-color: #16a34a;
}
.aq-btn-approve:hover:not(:disabled) svg { stroke: #ffffff; }

.aq-btn-reject {
    background: #FCEBEB;
    border-color: #F7C1C1;
}
.aq-btn-reject:hover:not(:disabled) {
    background: #dc2626;
    border-color: #dc2626;
}
.aq-btn-reject:hover:not(:disabled) svg { stroke: #ffffff; }

.aq-actions-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ---- Footer Legend ---- */
.aq-legend {
    display: flex;
    align-items: center;
    gap: 16px;
}
.aq-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
}
.aq-legend-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border-width: 1.5px;
    border-style: solid;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aq-legend-approve { background: #EAF3DE; border-color: #C0DD97; }
.aq-legend-reject  { background: #FCEBEB; border-color: #F7C1C1; }

.aq-close-footer-btn {
    font-size: 12px;
    padding: 7px 18px;
    border-radius: 8px;
    border: 0.5px solid #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}
.aq-close-footer-btn:hover { background: #f1f5f9; }

/* ---- Trigger Button ---- */
.btn-open-queue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #534AB7;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-open-queue:hover { background: #3C3489; }

/* ---- Scrollbar ---- */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar { width: 5px; }
.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
.lrm-modal { border-radius:16px;border:1px solid #e2e8f0;overflow:hidden; }
.lrm-header { display:flex;justify-content:space-between;padding:20px;border-bottom:1px solid #f1f5f9; }
.lrm-title { font-weight:600;font-size:15px; }
.lrm-body { padding:20px; }

.lrm-form-wrapper { background:#1e202210;padding:15px;border-radius:12px;margin-bottom:20px; }

.lrm-grid {
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr auto;
    gap:10px;
}

.lrm-export-btn{
    color: var(--kyc-text-muted);
    border-color: #d0d8e6;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    border: var(--kyc-border);
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;

}

.lrm-field { display:flex;flex-direction:column;gap:5px;  justify-content: end;}

.lrm-submit-btn {
    height:36px;
    background:#0f172a;
    color:#fff;
    border:none;
    border-radius:8px;
}

.lrm-error { display:none;color:red;font-size:11px;margin-top:8px; }

.lrm-history-header { display:flex;justify-content:space-between;margin-bottom:10px; }

.lrm-empty {
    text-align:center;
    padding:20px;
    border:1px dashed #e2e8f0;
    border-radius:10px;
}

.lrm-list { display:flex;flex-direction:column;gap:6px; }

.lrm-row {
    display:flex;
    justify-content:space-between;
    padding:10px;
    border:1px solid #f1f5f9;
    border-radius:10px;
}

@media(max-width:768px){
    .lrm-grid { grid-template-columns:1fr; }
}
