html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

/*Custome colour code class*/

.bg-darkblue {
    background-color: #222d66;
}
.btn-darkblue {
    background-color: #222d66;
}
.table-darkblue {
    background-color: #222d66;
}
.table-darkblue th {
        background-color: #222d66;
        color: white;
}
.table-darkblue th:hover {
        background-color: #1a2350;
}
.card.bg-darkblue {
    background-color: #222d66 !important;
}
/* Profile Avatar Styles */
.profile-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 4px solid white;
}

.avatar-initials {
    font-size: 48px;
    font-weight: bold;
    color: white;
}

/* Info Card Styles */
.info-card {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.2s ease;
    border-left: 3px solid #4e73df;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 5px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    word-break: break-word;
}

/*Disabled Terms and conditions checkbox*/
.form-check-input:disabled {
    opacity: 1 !important; 
    cursor: not-allowed;
    background-color: #e9ecef; 
    border-color: #ced4da;
}


/* VISUAL FEEDBACK FOR REQUIRED FIELDS STYLE START HERE */
.field-validation-error {
    color: #dc3545;
    font-size: 0.875em;
}

/* Apply error styling to BOTH input and textarea */
input.input-validation-error,
textarea.input-validation-error {
    border: 2px solid red;
    background-color: #ffe6e6;
}

.hidden-field {
    display: none !important;
}
/* VISUAL FEEDBACK FOR REQUIRED FIELDS STYLE END HERE */


/* Info icon with tooltip for LPC STYLE START HERE */

.tooltip-inner {
    background-color: #0d6efd !important; /* Bootstrap primary blue */
    color: #fff;
    font-size: 13px;
    padding: 8px 10px;
}

/* Tooltip arrow */
.tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-color: #0d6efd !important;
}
/* Info icon with tooltip for LPC STYLE ENDS HERE */



/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* FOOTER STYLE START HERE */
.footer-bg {
    background-image: url('/Images/Footer.png');  
    background-size: cover;  
    background-repeat: no-repeat;  
    background-position: center; 
    padding: 5px 0; 
}
/*/* FOOTER STYLE END HERE */


/* SESSION FORM VALIDATION START HERE */

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-animation {
    animation: pulse 1s infinite;
}

/* Modal styling */
#sessionTimeoutModal .modal-content {
    border: 3px solid #ffc107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

/* SESSION FORM VALIDATION END HERE */


/* Star Rating Styles */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

    .star-rating input {
        display: none;
    }

    .star-rating label {
        cursor: pointer;
        font-size: 2rem;
        color: #ddd;
        transition: color 0.2s;
    }

        .star-rating label:before {
            content: "★";
        }

    .star-rating input:checked ~ label {
        color: #ffc107;
    }

    .star-rating label:hover,
    .star-rating label:hover ~ label {
        color: #ffb300;
    }

/* For displaying ratings in read-only mode */
.star-rating-display {
    display: inline-flex;
    gap: 0.15rem;
}

    .star-rating-display .star {
        font-size: 1rem;
        color: #ddd;
    }

        .star-rating-display .star.filled {
            color: #ffc107;
        }

/* Document Tags Styling */
.document-tag, .uploaded-doc-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f7ff;
    border: 1px solid #cce5ff;
    border-radius: 20px;
    padding: 6px 12px;
    margin: 4px;
    font-size: 0.85rem;
}

.btn-remove-doc {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0 4px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

    .btn-remove-doc:hover {
        color: #a71d2a;
    }

.documents-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
}

.documents-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}




/* CLAIMANTS PAGE DASHBOARD STYLES */
#claimants-page .dashboard-container {
    min-height: calc(100vh - 80px);
    background-color: #f8f9fa;
}

#claimants-page .admin-layout {
    min-height: calc(100vh - 140px);
}

#claimants-page .admin-sidebar-wrapper {
    padding: 0;
}

#claimants-page .admin-sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    height: 100%;
    min-height: calc(100vh - 140px);
    padding: 0;
    box-shadow: 3px 0 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
}

#claimants-page .sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    flex-shrink: 0;
}

#claimants-page .sidebar-header h3 {
        color: white;
        font-weight: 600;
        margin: 0;
        font-size: 1.25rem;
    }

#claimants-page .sidebar-nav {
    padding: 1rem 0;
    flex-grow: 1;
    overflow-y: auto;
}

#claimants-page .sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: #b3c0d1;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

    #claimants-page .sidebar-link:hover {
        background: rgba(255,255,255,0.08);
        color: white;
        border-left-color: #3498db;
    }

    #claimants-page .sidebar-link.active {
        background: rgba(52, 152, 219, 0.15);
        color: white;
        border-left-color: #3498db;
    }

    #claimants-page .sidebar-link i {
        margin-right: 10px;
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
    }

    #claimants-page .sidebar-link span {
        transition: transform 0.3s ease;
    }

    #claimants-page .sidebar-link:hover span {
        transform: translateX(3px);
    }

#claimants-page .sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #b3c0d1;
    flex-shrink: 0;
}

#claimants-page .admin-content-wrapper {
    padding-left: 0;
}

#claimants-page .content-area {
    padding: 1.5rem;
    background-color: #f8f9fa;
    min-height: calc(100vh - 140px);
}

#claimants-page .content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

#claimants-page .content-section.active {
        display: block;
    }

/* Card Styles */
#claimants-page .card {
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

#claimants-page .card:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

#claimants-page .card-header {
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-weight: 600;
}

#claimants-page .bg-purple {
    background-color: #6f42c1 !important;
}

/* Status Badge Colors */
#claimants-page .badge-primary {
    background-color: #007bff !important;
    color: white !important;
}

#claimants-page .badge-success {
    background-color: #28a745 !important;
    color: white !important;
}

#claimants-page .badge-danger {
    background-color: #dc3545 !important;
    color: white !important;
}

#claimants-page .badge-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

#claimants-page .badge-info {
    background-color: #17a2b8 !important;
    color: white !important;
}

#claimants-page .badge-secondary {
    background-color: #6c757d !important;
    color: white !important;
}

/* Table Styles */
#claimants-page .table-responsive {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    background: white;
}

#claimants-page .table {
    margin-bottom: 0;
    background: white;
    width: 100%;
}

    #claimants-page .table thead th {
        border-bottom: 2px solid #dee2e6;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        background-color: #343a40 !important;
        color: white !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100;
        padding: 0.75rem;
    }

    #claimants-page .table tbody tr {
        border-bottom: 1px solid #f1f3f4;
    }

    #claimants-page .table tbody tr:hover {
            background-color: rgba(52, 152, 219, 0.05) !important;
        }

    #claimants-page .table tbody tr:last-child {
            border-bottom: none;
        }

#claimants-page .table-success {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

#claimants-page .table-secondary {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

/* Slot selection styles */
#claimants-page .slot-item {
    border: 2px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

    #claimants-page .slot-item:hover {
        border-color: #007bff;
        background-color: #f8f9fa;
    }

#claimants-page .slot-label {
    cursor: pointer;
    margin: 0;
    padding: 5px;
    display: block;
}

#claimants-page .slot-item input[type="radio"] {
    display: none;
}


    #claimants-page input[type="radio"]:checked + .slot-label {
        background-color: #007bff;
        color: white;
        border-radius: 3px;
    }

/* Disabled form styles */
#claimants-page .card-disabled {
    opacity: 0.6;
    background-color: #f8f9fa;
    position: relative;
}

#claimants-page .form-disabled {
    pointer-events: none;
}

#claimants-page .form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 100;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Animation */
@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@@media (max-width: 768px) {
    #claimants-page .admin-sidebar {
        min-height: auto;
        margin-bottom: 1rem;
        position: relative;
        height: auto;
    }

    #claimants-page .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        flex-wrap: nowrap;
    }

    #claimants-page .sidebar-link {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem 0.75rem;
        min-width: 90px;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 0.85rem;
    }

        #claimants-page .sidebar-link i {
            margin-right: 0;
            margin-bottom: 5px;
            font-size: 1rem;
        }

        #claimants-page .sidebar-link.active {
            border-left: none;
            border-bottom-color: #3498db;
        }

        #claimants-page .sidebar-link span {
            font-size: 0.8rem;
        }

    #claimants-page .content-area {
        padding: 1rem;
    }

    #claimants-page .card-header {
        padding: 0.75rem 1rem;
    }
}

/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* LAWYERS PAGE DASHBOARD STYLES */
#lawyers-page .dashboard-container {
    min-height: calc(100vh - 80px);
    background-color: #f8f9fa;
}

#lawyers-page .admin-layout {
    min-height: calc(100vh - 140px);
}

#lawyers-page .admin-sidebar-wrapper {
    padding: 0;
}

#lawyers-page .admin-sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    height: 100%;
    min-height: calc(100vh - 140px);
    padding: 0;
    box-shadow: 3px 0 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
}

#lawyers-page .sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    flex-shrink: 0;
}

    #lawyers-page .sidebar-header h3 {
        color: white;
        font-weight: 600;
        margin: 0;
        font-size: 1.25rem;
    }

#lawyers-page .sidebar-nav {
    padding: 1rem 0;
    flex-grow: 1;
    overflow-y: auto;
}

#lawyers-page .sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: #b3c0d1;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

    #lawyers-page .sidebar-link:hover {
        background: rgba(255,255,255,0.08);
        color: white;
        border-left-color: #3498db;
    }

    #lawyers-page .sidebar-link.active {
        background: rgba(52, 152, 219, 0.15);
        color: white;
        border-left-color: #3498db;
    }

    #lawyers-page .sidebar-link i {
        margin-right: 10px;
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
    }

    #lawyers-page .sidebar-link span {
        transition: transform 0.3s ease;
    }

    #lawyers-page .sidebar-link:hover span {
        transform: translateX(3px);
    }

#lawyers-page .sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #b3c0d1;
    flex-shrink: 0;
}

#lawyers-page .admin-content-wrapper {
    padding-left: 0;
}

#lawyers-page .content-area {
    padding: 1.5rem;
    background-color: #f8f9fa;
    min-height: calc(100vh - 140px);
}

#lawyers-page .content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

    #lawyers-page .content-section.active {
        display: block;
    }

/* Card Styles */
#lawyers-page .card {
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

    #lawyers-page .card:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

#lawyers-page .card-header {
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-weight: 600;
}

#lawyers-page .bg-purple {
    background-color: #6f42c1 !important;
}

/* Status Badge Colors */
#lawyers-page .badge-primary {
    background-color: #007bff !important;
    color: white !important;
}

#lawyers-page .badge-success {
    background-color: #28a745 !important;
    color: white !important;
}

#lawyers-page .badge-danger {
    background-color: #dc3545 !important;
    color: white !important;
}

#lawyers-page .badge-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

#lawyers-page .badge-info {
    background-color: #17a2b8 !important;
    color: white !important;
}

#lawyers-page .badge-secondary {
    background-color: #6c757d !important;
    color: white !important;
}

/* Table Styles */
#lawyers-page .table-responsive {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    background: white;
}

#lawyers-page .table {
    margin-bottom: 0;
    background: white;
    width: 100%;
}

    #lawyers-page .table thead th {
        border-bottom: 2px solid #dee2e6;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        background-color: #343a40 !important;
        color: white !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100;
        padding: 0.75rem;
    }

    #lawyers-page .table tbody tr {
        border-bottom: 1px solid #f1f3f4;
    }

        #lawyers-page .table tbody tr:hover {
            background-color: rgba(52, 152, 219, 0.05) !important;
        }

        #lawyers-page .table tbody tr:last-child {
            border-bottom: none;
        }

#lawyers-page .table-success {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

#lawyers-page .table-secondary {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

/* Slot selection styles */
#lawyers-page .slot-item {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
}

    #lawyers-page .slot-item:hover {
        border-color: #007bff;
        background-color: #f8f9fa;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

#lawyers-page .slot-selected {
    border-color: #007bff;
    background-color: #e3f2fd;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

#lawyers-page .slot-label {
    cursor: pointer;
    margin: 0;
    padding: 8px;
    display: block;
    border-radius: 4px;
    transition: all 0.2s;
}

#lawyers-page input[type="radio"].slot-radio {
    display: none;
}

    #lawyers-page input[type="radio"].slot-radio:checked + .slot-label {
        background-color: #007bff;
        color: white;
    }

#lawyers-page .slot-no-capacity {
    opacity: 0.5;
    background-color: #f8d7da;
    border-color: #dc3545;
}

/* Animation */
@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@@media (max-width: 768px) {
    #lawyers-page .admin-sidebar {
        min-height: auto;
        margin-bottom: 1rem;
        position: relative;
        height: auto;
    }

    #lawyers-page .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        flex-wrap: nowrap;
    }

    #lawyers-page .sidebar-link {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem 0.75rem;
        min-width: 90px;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 0.85rem;
    }

        #lawyers-page .sidebar-link i {
            margin-right: 0;
            margin-bottom: 5px;
            font-size: 1rem;
        }

        #lawyers-page .sidebar-link.active {
            border-left: none;
            border-bottom-color: #3498db;
        }

        #lawyers-page .sidebar-link span {
            font-size: 0.8rem;
        }

    #lawyers-page .content-area {
        padding: 1rem;
    }

    #lawyers-page .card-header {
        padding: 0.75rem 1rem;
    }
}

/* ============================================
   SERVICE PROVIDER PAGE STYLES
   ============================================ */
body#sp-page .slot-item {
    position: relative;
    margin-bottom: 5px;
}

    body#sp-page .slot-item input[type="radio"] {
        position: absolute;
        opacity: 0;
    }

    body#sp-page .slot-item .slot-label {
        display: block;
        width: 100%;
        padding: 8px 5px;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 0.9rem;
    }

        body#sp-page .slot-item .slot-label:hover {
            background-color: #e9ecef;
            border-color: #adb5bd;
        }

    body#sp-page .slot-item input[type="radio"]:checked + .slot-label {
        background-color: #28a745;
        color: white;
        border-color: #28a745;
    }

    body#sp-page .slot-item.sixty-minute .slot-label {
        border-left: 4px solid #17a2b8;
        background-color: #e3f2fd;
    }

    body#sp-page .slot-item.sixty-minute input[type="radio"]:checked + .slot-label {
        background-color: #28a745;
        border-left-color: #28a745;
    }

body#sp-page .badge-info {
    background-color: #17a2b8;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-left: 3px;
}

body#sp-page #slotsHeading {
    font-size: 0.9rem;
    color: #495057;
}

body#sp-page .info-tooltip {
    border-bottom: 1px dashed #6c757d;
    cursor: help;
}
/* Admin Dashboard Styles */
.dashboard-container {
    min-height: calc(100vh - 80px);
    background-color: #f8f9fa;
}

.admin-layout {
    min-height: calc(100vh - 140px);
}

.admin-sidebar-wrapper {
    padding: 0;
}

.admin-sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    height: 100%;
    min-height: calc(100vh - 140px);
    padding: 0;
    box-shadow: 3px 0 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    flex-shrink: 0;
}

    .sidebar-header h3 {
        color: white;
        font-weight: 600;
        margin: 0;
        font-size: 1.25rem;
    }

.sidebar-nav {
    padding: 1rem 0;
    flex-grow: 1;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: #b3c0d1;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

    .sidebar-link:hover {
        background: rgba(255,255,255,0.08);
        color: white;
        border-left-color: #3498db;
    }

    .sidebar-link.active {
        background: rgba(52, 152, 219, 0.15);
        color: white;
        border-left-color: #3498db;
    }

    .sidebar-link i {
        margin-right: 10px;
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
    }

    .sidebar-link span {
        transition: transform 0.3s ease;
    }

    .sidebar-link:hover span {
        transform: translateX(3px);
    }

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #b3c0d1;
    flex-shrink: 0;
}

.admin-content-wrapper {
    padding-left: 0;
}

.content-area {
    padding: 1.5rem;
    background-color: #f8f9fa;
    min-height: calc(100vh - 140px);
}

.content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .content-section.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

    .card:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

.card-header {
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-weight: 600;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

/* Status Badge Colors */
.badge-primary {
    background-color: #007bff !important;
    color: white !important;
}

.badge-success {
    background-color: #28a745 !important;
    color: white !important;
}

.badge-danger {
    background-color: #dc3545 !important;
    color: white !important;
}

.badge-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge-info {
    background-color: #17a2b8 !important;
    color: white !important;
}

.badge-secondary {
    background-color: #6c757d !important;
    color: white !important;
}

/* Table Styles */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    background: white;
}

.table {
    margin-bottom: 0;
    background: white;
    width: 100%;
}

    .table thead th {
        border-bottom: 2px solid #dee2e6;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        background-color: #343a40 !important;
        color: white !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100;
        padding: 0.75rem;
    }

    .table tbody tr {
        border-bottom: 1px solid #f1f3f4;
    }

        .table tbody tr:hover {
            background-color: rgba(52, 152, 219, 0.05) !important;
        }

        .table tbody tr:last-child {
            border-bottom: none;
        }

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
    transition: background-color 0.15s ease;
}

.table tbody td {
    vertical-align: middle;
    padding: 0.75rem;
}

/* Button Styles */
.btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #212529;
    transform: translateY(-1px);
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-info:hover {
    background-color: #17a2b8;
    color: white;
    transform: translateY(-1px);
}

.btn-group .btn {
    margin: 0 2px;
}

/* Form Styles */
.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.3rem;
}

.form-control-sm {
    border-radius: 4px;
    border: 1px solid #ced4da;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Search Input */
.table-search {
    width: 200px;
    transition: width 0.3s ease;
}

    .table-search:focus {
        width: 250px;
    }

/* Pagination Styles */
.table-pagination {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .table-pagination .form-inline {
        display: flex;
        align-items: center;
    }

    .table-pagination .page-size-selector {
        width: auto;
        min-width: 70px;
        display: inline-block;
    }

    .table-pagination .pagination-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .table-pagination .showing-text {
        font-weight: 500;
        color: #495057;
    }

    .table-pagination .search-results {
        font-size: 0.8rem;
        color: #6c757d;
        margin-top: 2px;
    }

    .table-pagination .btn-group {
        flex-wrap: nowrap;
    }

    .table-pagination .btn {
        min-width: 40px;
    }

        .table-pagination .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

    .table-pagination .page-info {
        min-width: 100px;
        text-align: center;
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

/* Stats Cards */
.stats-card {
    transition: transform 0.3s ease;
}

    .stats-card:hover {
        transform: translateY(-5px);
    }

/* Empty State */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
    color: #6c757d;
}

    .empty-state i {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #dee2e6;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .admin-sidebar {
        min-height: auto;
        margin-bottom: 1rem;
        position: relative;
        height: auto;
    }

    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        flex-wrap: nowrap;
    }

    .sidebar-link {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem 0.75rem;
        min-width: 90px;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 0.85rem;
    }

        .sidebar-link i {
            margin-right: 0;
            margin-bottom: 5px;
            font-size: 1rem;
        }

        .sidebar-link.active {
            border-left: none;
            border-bottom-color: #3498db;
        }

        .sidebar-link span {
            font-size: 0.8rem;
        }

    .content-area {
        padding: 1rem;
    }

    .card-header {
        padding: 0.75rem 1rem;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }

    .table-pagination {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

        .table-pagination > div {
            width: 100%;
            justify-content: center;
        }

        .table-pagination .btn-group {
            justify-content: center;
        }
}

@media (max-width: 576px) {
    .sidebar-link {
        min-width: 80px;
        padding: 0.5rem;
    }

        .sidebar-link span {
            font-size: 0.75rem;
        }

    .table-search {
        width: 150px;
    }

        .table-search:focus {
            width: 180px;
        }
}

/* Form loading spinner */
.spinner-border {
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Table column widths for better display */
#slotsTable th:nth-child(1),
#slotsTable td:nth-child(1) {
    min-width: 150px;
}

#slotsTable th:nth-child(2),
#slotsTable td:nth-child(2) {
    min-width: 100px;
}

#slotsTable th:nth-child(3),
#slotsTable td:nth-child(3) {
    min-width: 80px;
}

#slotsTable th:nth-child(9),
#slotsTable td:nth-child(9) {
    min-width: 140px;
}

#bookingsTable th:nth-child(1),
#bookingsTable td:nth-child(1) {
    min-width: 120px;
}

#bookingsTable th:nth-child(5),
#bookingsTable td:nth-child(5) {
    min-width: 120px;
}

#bookingsTable th:nth-child(7),
#bookingsTable td:nth-child(7) {
    min-width: 100px;
}

/* Office Management Styles */
.content-section {
    display: none;
}

    .content-section.active {
        display: block;
    }

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.badge {
    font-size: 0.85em;
}

.btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.btn-purple {
    color: #fff;
    background-color: #6f42c1;
    border-color: #6f42c1;
}

    .btn-purple:hover {
        color: #fff;
        background-color: #5e34b1;
        border-color: #542fa0;
    }

.bg-purple {
    background-color: #6f42c1 !important;
}

#auditTable td {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#bookingsTable .btn-group {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

    #bookingsTable .btn-group .btn {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

#bookingsTable .btn-outline-success,
#bookingsTable .btn-outline-warning,
#bookingsTable .btn-outline-danger {
    opacity: 1 !important;
    visibility: visible !important;
}

#bookingsTable tbody tr .btn-group,
#bookingsTable tbody tr:hover .btn-group {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

#bookingsTable td:last-child {
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-group .btn {
    transform: none !important;
    transition: background-color 0.2s ease !important;
}

/* ADMIN PAGE STYLE ENDS HERE */
/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

        /* Claim Status STYLE Start HERE 
            /**/
        .border-left-warning {
            border-left: 4px solid #ffc107 !important;
        }

        .border-left-success {
            border-left: 4px solid #28a745 !important;
        }

        #claimResults .table th {
            background-color: #f8f9fa;
            font-weight: 600;
            font-size: 0.9rem;
        }

        #claimResults .table td {
            vertical-align: middle;
            font-size: 0.9rem;
        }

        .btn-warning {
            background-color: #ffc107;
            border-color: #ffc107;
            color: #000;
        }

        .btn-warning:hover {
                background-color: #e0a800;
                border-color: #d39e00;
                color: #000;
            }

        .btn-warning:disabled {
                background-color: #ffc107;
                border-color: #ffc107;
                opacity: 0.65;
            }

        .form-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .text-gray-800 {
            color: #5a5c69;
        }

        .text-gray-300 {
            color: #dddfeb;
        }
        /* Status badges */
        .status-badge {
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .status-success {
            color: #155724;
            background-color: #d4edda;
        }

        .status-warning {
            color: #856404;
            background-color: #fff3cd;
        }

        .status-info {
            color: #0c5460;
            background-color: #d1ecf1;
        }

        .status-danger {
            color: #721c24;
            background-color: #f8d7da;
        }
        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #claimResults {
            animation: fadeIn 0.5s ease-in-out;
        }
        /* Responsive adjustments */
        @media (max-width: 768px) {
            #claimResults .table th,
            #claimResults .table td {
                font-size: 0.8rem;
            }

            .border-left-warning .card-body,
            .border-left-success .card-body {
                padding: 1rem;
            }
        }

        /* Claim Status STYLE Start HERE */


        /* DHA API CALL STYLE START HERE */
        /*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
        .loading {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" fill="none" stroke="%23ffc107" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform></circle></svg>');
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 20px;
            background-color: #fff;
        }
        /* DHA API CALL STYLE ENDS HERE */
        /*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/











