
.employee-photo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--surface);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.employee-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.employee-name {
    color: var(--text);
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: color var(--trans);
    display: inline-block;
    position: relative;
}
.employee-name:hover {
    color: var(--accent);
}
.employee-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}
.employee-name:hover::after {
    width: 100%;
}

.employee-email {
    font-size: 12px;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}

#employeeList tr {
    transition: all 0.2s ease;
    border-radius: 12px;
}
#employeeList tr:hover {
    background: linear-gradient(90deg, #fafbff 0%, #ffffff 100%) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
#employeeList td {
    padding: 16px 18px;
    border-bottom: 1px solid #f0f1f3;
    color: var(--text);
    vertical-align: middle;
    font-size: 13.5px;
}

#employeeList .action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
}

#employeeList .btn-sm {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    padding: 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
    width: 34px;
    height: 34px;
}

#employeeList .btn-info {
    background: #e0f2fe;
    color: #0369a1;
    width: auto;
    padding: 8px 14px;
}
#employeeList .btn-info:hover {
    background: #bae6fd;
    color: #0284c7;
    transform: translateY(-1px);
}

#employeeList .btn-primary {
    background: #dbeafe;
    color: #1e40af;
}
#employeeList .btn-primary:hover {
    background: #bfdbfe;
    color: #1e40af;
    transform: translateY(-2px) scale(1.05);
}

#employeeList .btn-danger {
    background: #fee2e2;
    color: #991b1b;
}
#employeeList .btn-danger:hover {
    background: #fecaca;
    color: #7f1d1d;
    transform: translateY(-2px) scale(1.05);
}

#employeeList .btn-success {
    background: #d1fae5;
    color: #065f46;
    width: 34px;
    height: 34px;
}
#employeeList .btn-success:hover {
    background: #a7f3d0;
    color: #047857;
    transform: translateY(-2px) scale(1.05);
}

#employeeList .btn-sm i {
    font-size: 15px;
    pointer-events: none;
}

#employeeList .btn-info i {
    font-size: 13px;
}
#employeeList .btn-info span {
    font-size: 12px;
    margin-left: 4px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.badge-green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}
.badge-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}
.badge-amber {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}
.badge-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}
.badge-purple {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #5b21b6;
}
.badge-gray {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #374151;
}

.badge-role {
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
}

#filterBox {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    padding: 20px;
    width: 280px;
    z-index: 300;
    backdrop-filter: blur(0px);
}
#filterBox.open { display: block; }

#filterBox label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 6px;
}

#filterBox input,
#filterBox select {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 8px 12px;
    font-size: 13px;
    transition: all 0.2s ease;
}
#filterBox input:focus,
#filterBox select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59,91,219,0.1);
    outline: none;
}

.attendance-table-admin {
    max-height: 60vh;
    overflow-y: auto;
    border-radius: 12px;
}
.attendance-table-admin table {
    font-size: 0.85rem;
}
.attendance-table-admin th {
    background: #f8fafc;
    font-weight: 600;
    padding: 12px;
}
.attendance-table-admin td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}

#export-excel-btn {
    transition: all 0.3s ease;
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#export-excel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(59,91,219,0.3);
    background: var(--accent-h);
}
#export-excel-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.data-table thead th {
    background: #f8fafd;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 16px 18px;
    border-bottom: 1.5px solid var(--border);
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--muted);
}
.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}
.empty-state p {
    font-size: 14px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    #employeeList .action-buttons {
        flex-direction: row;
        gap: 6px;
        justify-content: flex-start;
    }
    #employeeList .btn-sm {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    #employeeList .btn-info {
        width: auto;
        padding: 6px 12px;
    }
    #employeeList .btn-info span {
        display: inline;
    }
    #employeeList td {
        padding: 12px 12px;
    }
}

#employeeList tbody tr:nth-child(even) {
    background-color: #fefefe;
}
#employeeList tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

#employeeList .btn-sm {
    position: relative;
}
#employeeList .btn-sm::before {
    content: attr(data-tooltip);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 9999;
}
#employeeList tr,
#employeeList td {
    overflow: visible !important;
}
#employeeList .btn-sm:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

#employeeList .btn-primary::before {
    content: "Edit Employee";
}
#employeeList .btn-danger::before {
    content: "Deactivate Employee";
}
#employeeList .btn-success::before {
    content: "Activate Employee";
}
#employeeList .btn-info::before {
    content: "Convert to Trainee";
}

.employee-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
    border-radius: 4px;
    transition: all 0.2s ease;
}
.employee-checkbox:hover {
    transform: scale(1.05);
}

.role-chip {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 500;
    color: #334155;
    gap: 6px;
}
.role-chip i {
    font-size: 10px;
    color: var(--accent);
}

.join-date {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.join-date i {
    font-size: 11px;
    opacity: 0.7;
}

.pagination-wrapper {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    background: var(--surface);
}
.pagination-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pagination-btn:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pagination-info {
    font-size: 12px;
    color: var(--muted);
}

.card-panel-header {
    padding: 18px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-box select,
.filter-box input {
    font-family: var(--font);
}

@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
#employeeList tbody tr {
    animation: fadeInRow 0.2s ease forwards;
}

#employeeList .btn-sm:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

#employeeList .btn-sm:active {
    transform: scale(0.95);
}


#employeeList {
    table-layout: fixed;
    width: 100%;
    overflow: hidden;
}

#employeeList thead th:nth-child(1) { width: 6%; }
#employeeList thead th:nth-child(2) { width: 24%; }
#employeeList thead th:nth-child(3) { width: 10%; }
#employeeList thead th:nth-child(4) { width: 20%; }
#employeeList thead th:nth-child(5) { width: 18%; }
#employeeList thead th:nth-child(6) { width: 12%; }
#employeeList thead th:nth-child(7) { width: 10%; }


#employeeList td:nth-child(5) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#employeeList td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#employeeList td:nth-child(2) {
    white-space: normal;
    overflow: visible;
}

#employeeList td:nth-child(2) > div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#employeeList td:nth-child(2) > div > div {
    min-width: 0;
    flex: 1;
}

.employee-name {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

#employeeList td:nth-child(6) {
    text-align: left;
    white-space: nowrap;
}

.employee-email {
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

#employeeList td:nth-child(4) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-role {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.employee-name[data-fulltext],
.employee-email[data-fulltext],
#employeeList td:nth-child(4)[data-fulltext] {
    cursor: help;
}

.employee-name:hover,
.employee-email:hover,
#employeeList td:nth-child(4):hover {
    overflow: visible;
    position: relative;
    background: var(--surface);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

@media (max-width: 992px) {
    #employeeList thead th:nth-child(3) { width: 8%; }
    #employeeList thead th:nth-child(4) { width: 18%; }
    #employeeList thead th:nth-child(7) { width: 22%; }
    
    .employee-name {
        max-width: 100px;
    }
    
    .employee-email {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    #employeeList thead th:nth-child(3),
    #employeeList td:nth-child(3) {
        display: none;
    }
    
    #employeeList thead th:nth-child(2) { width: 30%; }
    #employeeList thead th:nth-child(4) { width: 25%; }
    #employeeList thead th:nth-child(7) { width: 25%; }
    
    .employee-name {
        max-width: 80px;
    }
    
    .employee-email {
        display: none;
    }
}

@media (max-width: 576px) {
    #employeeList thead th:nth-child(5),
    #employeeList td:nth-child(5) {
        display: none;
    }
    
    #employeeList thead th:nth-child(2) { width: 35%; }
    #employeeList thead th:nth-child(4) { width: 30%; }
    #employeeList thead th:nth-child(7) { width: 35%; }
}


.custom-pagination {
    gap: 8px;
}

.custom-pagination .page-item {
    border-radius: 10px;
}

.custom-pagination .page-link {
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-pagination .page-link:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.custom-pagination .page-item:first-child .page-link,
.custom-pagination .page-item:last-child .page-link {
    border-radius: 12px;
}

.truncate-text {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-box {
    width: 280px;
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid #ccc;
    outline: none;
    transition: 0.3s;
}

.search-box:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
}

.table-responsive {
    overflow-x: hidden !important; 
    overflow-y: hidden !important;
    width: 100%;
}


#employeeList .btn-convert {
    background: #d1fae5;
    color: #065f46;
}

#employeeList .btn-convert:hover {
    background: #a7f3d0;
    transform: translateY(-2px) scale(1.05);
}

#employeeList .btn-convert::before {
    content: "Convert to Employee";
}




#convertModal .modal-content {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #eef2f6;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
    overflow: visible;  
}

#convertModal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f1f3;
    padding: 1.25rem 1.5rem;
}

#convertModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

#convertError {
    width: 100%;
    margin-top: 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

#convertModal .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.2px;
}

#convertModal .modal-title i {
    color: #ffffff;
    font-size: 1rem;
}

#convertModal .btn-close {
    opacity: 0.6;
    transition: all 0.2s ease;
}

#convertModal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

#convertModal .modal-body {
    padding: 1.5rem;
    background: #ffffff;
}

#convertForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#convertForm p {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#convertForm label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #253143;
    margin-bottom: 0;
}

#convertForm input:not([type="checkbox"]):not([type="radio"]),
#convertForm select,
#convertForm textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-family: inherit;
    border: 1.5px solid #a7c1ed;
    border-radius: 12px;
    background: #fafbfc;
    transition: all 0.2s ease;
    color: #1e293b;
}

#convertForm input:focus,
#convertForm select:focus,
#convertForm textarea:focus {
    outline: none;
    border-color: #3b5bdb;
    box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.08);
    background: #ffffff;
}

#convertForm input:hover:not(:focus),
#convertForm select:hover:not(:focus),
#convertForm textarea:hover:not(:focus) {
    border-color: #8393a4;
    background: #ffffff;
}

#convertForm input::placeholder,
#convertForm textarea::placeholder {
    color: #a0abb9;
    font-size: 0.8rem;
}

#convertForm input[type="checkbox"],
#convertForm input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #3b5bdb;
    cursor: pointer;
}

#convertForm label:has(input[type="checkbox"]),
#convertForm label:has(input[type="radio"]) {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    text-transform: none;
    font-size: 0.85rem;
    color: #334155;
    cursor: pointer;
}

#convertForm .helptext {
    font-size: 0.7rem;
    color: #8b9abb;
    margin-top: 4px;
    display: block;
}

#convertForm .errorlist {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
}

#convertForm .errorlist li {
    font-size: 0.7rem;
    color: #dc2626;
    background: #fef2f2;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
}

#convertForm select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b9abb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

#convertForm input[type="file"] {
    padding: 8px 10px;
    background: #fafbfc;
    border-style: dashed;
    border-width: 1.5px;
}

#convertForm input[type="file"]::file-selector-button {
    background: #f1f4f9;
    color: #334155;
    border: 1px solid #e4e7ec;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 12px;
}

#convertForm input[type="file"]::file-selector-button:hover {
    background: #e8edf5;
    border-color: #cbd5e1;
}


#convertForm .submit-wrapper {
    margin-top: 8px;
}

#cv-submit-btn {
    width: 100%;
    padding: 11px 20px;
    background: #e2e8f0;
    border: none;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    cursor: not-allowed;
}

#cv-submit-btn.ready {
    background: #3b5bdb;
    color: white;
    cursor: pointer;
}

#cv-submit-btn.ready:hover {
    background: #2d4bc0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 91, 219, 0.2);
}

#cv-submit-btn.ready:active {
    transform: translateY(1px);
    box-shadow: none;
}

#cv-submit-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

#cv-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#cv-submit-btn i {
    font-size: 0.9rem;
}

#convertForm .form-row,
#convertForm fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border: none;
    padding: 0;
    margin: 0;
}

#convertForm fieldset legend {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #5b6e8c;
    margin-bottom: 12px;
    width: 100%;
    border-bottom: 1px solid #eff2f6;
    padding-bottom: 6px;
}

#convertForm label:has(.required)::after,
#convertForm label:has([required])::after {
    content: "*";
    color: #dc2626;
    margin-left: 4px;
    font-size: 10px;
}

@media (max-width: 576px) {
    #convertModal .modal-header {
        padding: 1rem 1.25rem;
    }
    
    #convertModal .modal-body {
        padding: 1.25rem;
    }
    
    #convertForm .form-row,
    #convertForm fieldset {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    #convertForm input:not([type="checkbox"]):not([type="radio"]),
    #convertForm select,
    #convertForm textarea {
        padding: 9px 12px;
        font-size: 0.8rem;
    }
    
    #cv-submit-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#convertModal.show .modal-content {
    animation: modalSlideIn 0.2s ease forwards;
}



#nxt-toast-container {
  position: fixed; top: 1rem; right: 1rem; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none; width: 320px;
}
.nxt-toast {
  pointer-events: all;
  display: flex;
  align-items: center;        
  gap: 10px;
  padding: 12px 10px 12px 16px;
  border-radius: 10px;
  border: 0.5px solid;
  position: relative;
  overflow: hidden;
  animation: nxt-in .25s ease;
}
@keyframes nxt-in { from { opacity:0; transform:translateX(20px) } to { opacity:1; transform:none } }
.nxt-toast.success { background:#f0fdf4; border-color:#86efac; color:#14532d }
.nxt-toast.error   { background:#fef2f2; border-color:#fca5a5; color:#7f1d1d }
.nxt-toast.warning { background:#fffbeb; border-color:#fcd34d; color:#78350f }
.nxt-toast.info    { background:#eff6ff; border-color:#93c5fd; color:#1e3a8a }
.nxt-toast-bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; border-radius: 10px 0 0 10px;
}
.nxt-toast.success .nxt-toast-bar { background:#22c55e }
.nxt-toast.error   .nxt-toast-bar { background:#ef4444 }
.nxt-toast.warning .nxt-toast-bar { background:#f59e0b }
.nxt-toast.info    .nxt-toast-bar { background:#3b82f6 }
.nxt-toast-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.nxt-toast-body { flex: 1; min-width: 0; }
.nxt-toast-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.nxt-toast-msg   { font-size: 12px; opacity: .8; line-height: 1.4; }
.nxt-toast-close {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  opacity: .45;
  padding: 0;
  color: inherit;
  border-radius: 4px;
}
.nxt-toast-close:hover { opacity: 1; background: rgba(0,0,0,0.06); }
.nxt-toast-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px; border-radius: 0 0 0 10px;
  animation: nxt-prog 4s linear forwards;
}
.nxt-toast.success .nxt-toast-progress { background:#22c55e }
.nxt-toast.error   .nxt-toast-progress { background:#ef4444 }
.nxt-toast.warning .nxt-toast-progress { background:#f59e0b }
.nxt-toast.info    .nxt-toast-progress { background:#3b82f6 }
@keyframes nxt-prog { from { width:100% } to { width:0% } }



/* Document Icon Cards */
.doc-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border, #e2e8f0);
    background: var(--surface, #fff);
    transition: all 0.2s ease;
    min-width: 80px;
}
.doc-icon-card:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.15);
}
.doc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #dbeafe;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}
.doc-icon-card:hover .doc-icon-wrap {
    background: #2563eb;
    color: #fff;
}
/* Different colors per doc type */
#aadhaar-document-container .doc-icon-wrap {
    background: #d1fae5;
    color: #065f46;
}
#aadhaar-document-container .doc-icon-card:hover .doc-icon-wrap {
    background: #10b981;
    color: #fff;
}
#additional-document-container .doc-icon-wrap {
    background: #ede9fe;
    color: #5b21b6;
}
#additional-document-container .doc-icon-card:hover .doc-icon-wrap {
    background: #7c3aed;
    color: #fff;
}
.doc-icon-label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    text-align: center;
}