﻿/* Checkbox List Container */
.admindept-checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

    /* Individual Checkbox Items - Fix ASP.NET Table Structure */
    .admindept-checkbox-list table {
        width: 100%;
        border-collapse: collapse;
    }

    .admindept-checkbox-list tr {
        display: flex;
        align-items: center;
        margin-bottom: 0;
        width: 100%;
    }

    .admindept-checkbox-list td {
        display: flex;
        align-items: center;
        padding: 10px 12px;
        width: 100%;
        cursor: pointer;
        transition: all 0.2s ease;
        border-radius: 4px;
    }

        .admindept-checkbox-list td:hover {
            background-color: rgba(0, 152, 95, 0.08);
        }

    .admindept-checkbox-list label {
        display: flex;
        align-items: center;
        width: 100%;
        cursor: pointer;
        font-size: 14px;
        color: #333;
        user-select: none;
        margin: 0;
        padding: 0;
    }

    /* Checkbox Input Styling */
    .admindept-checkbox-list input[type="checkbox"] {
        margin: 0 12px 0 0;
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #00985F;
        flex-shrink: 0;
    }

    /* Label Text */
    .admindept-checkbox-list label span {
        flex: 1;
        line-height: 1.4;
    }

    /* Selected State */
    .admindept-checkbox-list input[type="checkbox"]:checked ~ span,
    .admindept-checkbox-list input[type="checkbox"]:checked + span {
        font-weight: 500;
        color: #00985F;
    }

/* Scrollable Container with Better Borders */
.admindept-checkbox-container {
    border: 2px solid #ddd;
    padding: 4px;
    max-height: 250px;
    overflow-y: auto;
    background: #fafafa;
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

    /* Custom Scrollbar */
    .admindept-checkbox-container::-webkit-scrollbar {
        width: 8px;
    }

    .admindept-checkbox-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .admindept-checkbox-container::-webkit-scrollbar-thumb {
        background: #00985F;
        border-radius: 4px;
    }

        .admindept-checkbox-container::-webkit-scrollbar-thumb:hover {
            background: #007a4d;
        }

/* Focus State for Accessibility */
.admindept-checkbox-list input[type="checkbox"]:focus {
    outline: 2px solid #00985F;
    outline-offset: 2px;
}

/* Disabled State (if needed) */
.admindept-checkbox-list input[type="checkbox"]:disabled ~ span,
.admindept-checkbox-list input[type="checkbox"]:disabled + span {
    color: #999;
    cursor: not-allowed;
}

.admindept-checkbox-list input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.admindept-checkbox-list td:has(input:disabled) {
    cursor: not-allowed;
    background-color: #f5f5f5;
}

/* Help Text Styling */
.admindept-checkbox-help {
    color: #666;
    font-size: 12px;
    display: block;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.5;
}

/* Alternating Row Colors for Better Readability */
.admindept-checkbox-list tr:nth-child(even) td {
    background-color: rgba(0, 0, 0, 0.02);
}

    .admindept-checkbox-list tr:nth-child(even) td:hover {
        background-color: rgba(0, 152, 95, 0.08);
    }

/* Empty State Message (if no departments exist) */
.admindept-checkbox-list-empty {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
}

/* Department Head Label */
.admindept-head-dept-label {
    font-weight: 600;
    color: #00985F;
}

.admindept-head-dept-sublabel {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-left: 8px;
}

/* Department Head Label */
.admindept-head-dept-label {
    font-weight: 600;
    color: #00985F;
}

.admindept-head-dept-sublabel {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-left: 8px;
}/* Subtle gradient background */
.training-wrapper {
    background: linear-gradient(135deg, rgba(0, 152, 95, 0.02) 0%, rgba(255, 255, 255, 1) 50%, rgba(0, 152, 95, 0.01) 100%);
    min-height: 100vh;
    padding: 20px;
}

.welcome-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px 0;
}

.welcome-title {
    color: #00985F;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 5px;
}

.welcome-subtitle {
    color: #666;
    font-size: 15px;
    margin: 0 0 15px 0;
}

/* Testimonial Badge */
.testimonial-badge {
    display: inline-block;
    background: rgba(0, 152, 95, 0.08);
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 10px;
    border: 1px solid rgba(0, 152, 95, 0.15);
}

    .testimonial-badge em {
        color: #00985F;
        font-size: 14px;
        font-style: italic;
    }

.testimonial-author {
    color: #666;
    font-size: 12px;
    margin-left: 5px;
}

.quote-icon {
    margin-right: 5px;
    opacity: 0.7;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 22px;
}

.info-boxes {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 850px;
    padding-right: 15px;
}

.info-box {
    flex: 1;
    width: calc(33.33% - 6px);
    max-width: calc(33.33% - 6px);
    background: white;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #00985F;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    box-sizing: border-box;
}

.box-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.box-content {
    flex: 1;
}

.info-box h3 {
    color: #00985F;
    font-size: 16px;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.info-box p {
    color: #555;
    line-height: 1.4;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 950px) {
    .info-boxes {
        flex-wrap: wrap;
        min-width: auto;
    }

    .info-box {
        width: 100%;
        min-width: auto;
    }

    .welcome-title {
        font-size: 24px;
    }
}

.button-container {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-button {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 200px;
    text-align: center;
}

.primary-btn {
    background: #00985F;
    color: white;
    border: 2px solid #00985F;
    box-shadow: 0 3px 10px rgba(0, 152, 95, 0.2);
}

    .primary-btn:hover {
        background: #007A4F;
        border-color: #007A4F;
        box-shadow: 0 4px 12px rgba(0, 152, 95, 0.3);
    }

.secondary-btn {
    background: white !important;
    color: #00985F !important;
    border: 2px solid #00985F !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
}

    .secondary-btn:hover {
        background: #00985F !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(0, 152, 95, 0.2) !important;
    }

.quick-start-guide {
    margin-top: 10px;
    padding: 12px;
    background: rgba(0, 152, 95, 0.05);
    border-left: 4px solid #00985F;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .modern-button {
        width: 100%;
        max-width: 300px;
    }
}
/* 🔹 Form Section */
.edit-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #00985F;
}

    /* 🔹 Form Labels & Inputs */
    .edit-form label {
        display: block;
        font-weight: 600;
        color: #00985F;
        margin-bottom: 6px;
    }

    .edit-form input[type="text"],
    .edit-form input[type="email"],
    .edit-form select,
    .edit-form textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        margin-bottom: 15px;
        transition: border-color 0.2s ease;
    }

        .edit-form input:focus,
        .edit-form select:focus,
        .edit-form textarea:focus {
            border-color: #00985F;
            outline: none;
            box-shadow: 0 0 5px rgba(0,152,95,0.2);
        }

/* 🔹 Section Divider */
.section-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 20px 0;
}

/* 🔹 Button Area */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}
/* =========================================================
   🔐 LOGIN PAGE STYLES (unique to LoginUser.aspx)
   ========================================================= */

/* Page wrapper with gradient background */
.login-wrapper {
    background: linear-gradient(135deg, rgba(0,152,95,0.05) 0%, #ffffff 60%, rgba(0,152,95,0.03) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
}

/* Login card */
.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 40px 50px;
    max-width: 420px;
    width: 100%;
    border-left: 5px solid #00985F;
    text-align: center;
}

/* Header and logo */
.login-header {
    margin-bottom: 25px;
}

    .login-header h2 {
        color: #00985F;
        font-weight: 600;
        font-size: 22px;
        margin-bottom: 5px;
    }

    .login-header p {
        color: #666;
        font-size: 14px;
    }

/* Input fields */
.login-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .login-input:focus {
        border-color: #00985F;
        outline: none;
        box-shadow: 0 0 6px rgba(0,152,95,0.25);
    }

/* Buttons */
.login-button {
    width: 100%;
    padding: 12px;
    background: #00985F;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

    .login-button:hover {
        background: #007A4F;
        box-shadow: 0 4px 12px rgba(0,152,95,0.25);
    }

/* Forgot password link */
.login-footer {
    margin-top: 15px;
}

    .login-footer a {
        color: #00985F;
        font-size: 14px;
        text-decoration: none;
    }

        .login-footer a:hover {
            text-decoration: underline;
        }

/* Optional yellow accent for brand flair */
.login-highlight {
    color: #FFDD00;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .login-header h2 {
        font-size: 20px;
    }
}
/* =========================================================
   LOGIN: bring layout back to the "before" design
   ========================================================= */

/* Make the card slightly wider and add the thin brand strip on top */
.login-card {
    max-width: 560px; /* was visually wider in 'before' */
    position: relative;
}

    .login-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 6px;
        width: 100%;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        background: linear-gradient(90deg, #00985F, #FFDD00);
    }

    /* Center the header like the "before" image */
    .login-card .welcome-header,
    .login-card .welcome-title,
    .login-card .welcome-subtitle {
        text-align: center;
    }

    .login-card .welcome-title {
        font-size: 34px; /* larger headline */
        font-weight: 700;
    }

/* Consent panel (green bordered, soft background) */
.consent-box {
    background: rgba(0, 152, 95, 0.08);
    border: 1.5px solid rgba(0, 152, 95, 0.35);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 12px 0 14px 0;
}

    .consent-box small {
        display: block;
        color: #6b7280;
        margin-top: 6px;
    }

/* Bigger, brand-colored checkboxes for the two ticks */
.login-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00985F;
}

/* Stack the CTAs full width (the global .form-actions is row-aligned) */
.login-card .form-actions { /* override the global row setting */
    display: flex;
    flex-direction: column; /* stack */
    align-items: stretch; /* full width */
    gap: 12px;
    margin-top: 18px;
}
/* Full-width utility for buttons/links */
.btn-full {
    width: 100%;
}

/* Primary gradient button to match the "before" look */
.btn-gradient-green {
    background: linear-gradient(180deg, #27C07A 0%, #00985F 100%);
    border: none;
    box-shadow: 0 6px 16px rgba(0, 152, 95, 0.25);
}

    .btn-gradient-green:hover {
        filter: brightness(0.98);
        box-shadow: 0 8px 18px rgba(0, 152, 95, 0.30);
    }

/* Outline secondary button (Forgot Password?) */
.btn-outline-green {
    background: #fff !important;
    color: #00985F !important;
    border: 2px solid #00985F !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important;
}

    .btn-outline-green:hover {
        background: rgba(0, 152, 95, 0.06) !important;
    }

/* Centered divider with text: "New to Dis-Chem Life Training?" */
.section-divider-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-size: 14px;
    justify-content: center;
    margin: 18px 0 10px 0;
}

    .section-divider-text::before,
    .section-divider-text::after {
        content: "";
        flex: 1 1 60px;
        height: 1px;
        background: rgba(0,0,0,0.08);
    }

/* Center the create-account block */
.login-meta,
.login-footer {
    text-align: center;
}

/* Small helper under the card footer ("Your information is protected.") */
.login-note {
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}
.loginuser * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.loginuser-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    color: #333;
}

.loginuser-training-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 80vh;
}

.loginuser-form-layout {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 35px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 520px;
    position: relative;
    overflow: hidden;
    animation: loginuser-slideInUp 0.8s ease-out;
}

    .loginuser-form-layout::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #00985F, #4CAF50, #FFDD00);
    }

.loginuser-section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00985F, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loginuser-welcome-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.loginuser-form-row {
    margin-bottom: 18px;
    position: relative;
}

.loginuser-form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.loginuser-modern-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e1e5e9 !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #333 !important;
}

    .loginuser-modern-input:focus {
        outline: none !important;
        border-color: #00985F !important;
        box-shadow: 0 0 0 3px rgba(0, 152, 95, 0.1) !important;
        background: white !important;
    }

    .loginuser-modern-input:hover {
        border-color: #00985F !important;
    }

.loginuser-password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.loginuser-password-toggle {
    position: absolute;
    right: 12px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    z-index: 2;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .loginuser-password-toggle:hover {
        background: rgba(0, 152, 95, 0.1);
        color: #00985F;
    }

.loginuser-checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 152, 95, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 152, 95, 0.2);
    margin-bottom: 15px;
}

.loginuser-consent-area {
    transform: scale(1.1);
}

.loginuser-checkbox-container a {
    color: #00985F !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

    .loginuser-checkbox-container a:hover {
        color: #007a4f !important;
    }

.loginuser-remember-me-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

    .loginuser-remember-me-container input[type="checkbox"] {
        transform: scale(1.1);
    }

.loginuser-button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.loginuser-modern-button {
    background: linear-gradient(135deg, #00985F, #4CAF50) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 152, 95, 0.3);
    text-align: center;
    width: 100%;
}

    .loginuser-modern-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 152, 95, 0.4);
        background: linear-gradient(135deg, #007a4f, #3e9b47) !important;
    }

.loginuser-soft-green-button {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #00985F !important;
    border: 2px solid #00985F !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

    .loginuser-soft-green-button:hover {
        background: #00985F !important;
        color: white !important;
        border-color: #00985F !important;
    }

/* FIXED ERROR CONTAINER AND MESSAGE STYLING */
.loginuser-error-container {
    margin-top: 20px;
}

.loginuser-error-message {
    color: #dc3545 !important;
    font-size: 13px !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    background: rgba(220, 53, 69, 0.1) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
    border-radius: 8px !important;
    display: block !important;
    text-align: center !important;
    font-weight: 500 !important;
    border-left: 4px solid #dc3545 !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.loginuser-divider {
    display: flex;
    align-items: center;
    margin: 20px 0 15px 0;
}

    .loginuser-divider::before,
    .loginuser-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e0e0e0;
    }

    .loginuser-divider span {
        padding: 0 15px;
        color: #666;
        font-size: 13px;
    }

.loginuser-register-link {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

    .loginuser-register-link a {
        color: #00985F;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        .loginuser-register-link a:hover {
            color: #007a4f;
        }

    .loginuser-register-link p {
        margin-bottom: 10px !important;
    }

/* Security badge */
.loginuser-security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    color: #666;
    font-size: 11px;
}

    .loginuser-security-badge::before {
        content: '🔒';
        font-size: 12px;
    }

/* Popup Styling */
#loginuser-popupMessage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: none;
    padding: 25px;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    border-radius: 20px;
    min-width: 320px;
    backdrop-filter: blur(20px);
}

    #loginuser-popupMessage::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #dc3545, #ff6b7a);
        border-radius: 20px 20px 0 0;
    }

#loginuser-popupText {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.loginuser-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

@keyframes loginuser-slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loginuser-shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.loginuser-shake {
    animation: loginuser-shake 0.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .loginuser-training-wrapper {
        padding: 15px;
        min-height: 70vh;
    }

    .loginuser-form-layout {
        padding: 25px 20px;
        border-radius: 20px;
        max-width: 100%;
    }

    .loginuser-section-title {
        font-size: 24px;
    }

    .loginuser-button-group {
        gap: 10px;
    }
}

/* Loading state */
.loginuser-loading {
    position: relative;
    pointer-events: none;
}

    .loginuser-loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 18px;
        margin: -9px 0 0 -9px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top: 2px solid white;
        border-radius: 50%;
        animation: loginuser-spin 1s linear infinite;
    }

@keyframes loginuser-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loginuser-legal-link {
    color: #00985F;
    text-decoration: none;
    font-weight: 600;
}
.register * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.register-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

.register-centered-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 10px;
    min-height: 70vh;
}

.register-centered-form-inner {
    width: 100%;
    max-width: 580px;
    position: relative;
}

.register-training-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 15px 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: register-slideInUp 0.8s ease-out;
}

    .register-training-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #00985F, #4CAF50, #FFDD00);
    }

    .register-training-wrapper h2 {
        font-size: 24px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 12px;
        margin-top: 25px;
        background: linear-gradient(135deg, #00985F, #4CAF50);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.register-section-description {
    text-align: center;
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.register-form-row {
    margin-bottom: 16px;
    position: relative;
}

.register-form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.register-modern-input {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 2px solid #e1e5e9 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #333 !important;
}

    .register-modern-input:focus {
        outline: none !important;
        border-color: #00985F !important;
        box-shadow: 0 0 0 3px rgba(0, 152, 95, 0.1) !important;
        background: white !important;
    }

    .register-modern-input:hover {
        border-color: #00985F !important;
    }

.register-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 8px;
    background: rgba(0, 152, 95, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 152, 95, 0.2);
}

.register-consent-checkbox {
    margin-top: 2px;
    transform: scale(1.1);
}

.register-checkbox-wrapper a {
    color: #00985F !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

    .register-checkbox-wrapper a:hover {
        color: #007a4f !important;
    }

.register-modern-button {
    background: linear-gradient(135deg, #00985F, #4CAF50) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 152, 95, 0.25);
    margin: 0 !important;
    min-width: 100px;
}

    .register-modern-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 152, 95, 0.4);
        background: linear-gradient(135deg, #007a4f, #3e9b47) !important;
    }

    .register-modern-button:first-of-type {
        background: rgba(255, 255, 255, 0.9) !important;
        color: #00985F !important;
        border: 2px solid #00985F !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

        .register-modern-button:first-of-type:hover {
            background: #00985F !important;
            color: white !important;
            border-color: #00985F !important;
        }

.register-error-message {
    color: #dc3545 !important;
    font-size: 13px !important;
    margin-top: 8px !important;
    padding: 10px 14px !important;
    background: rgba(220, 53, 69, 0.1) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
    border-radius: 8px !important;
    display: block !important;
}

/* Button container */
.register-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
}

.register-form-row:last-of-type {
    margin-bottom: 0;
}

/* Spinner Overlay */
#register-spinnerOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.register-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #FFDD00;
    border-radius: 50%;
    animation: register-spin 1s linear infinite;
    margin-bottom: 15px;
}

.register-spinner-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

@keyframes register-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes register-slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form field icons */
.register-form-row {
    position: relative;
}

    .register-form-row::before {
        content: '';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.5;
        z-index: 1;
        margin-top: 9px;
    }

    .register-form-row:nth-of-type(1)::before {
        content: '👤';
        font-size: 14px;
        width: auto;
        height: auto;
    }

    .register-form-row:nth-of-type(2)::before {
        content: '👤';
        font-size: 14px;
        width: auto;
        height: auto;
    }

    .register-form-row:nth-of-type(3)::before {
        content: '🏢';
        font-size: 14px;
        width: auto;
        height: auto;
    }

    .register-form-row:nth-of-type(4)::before,
    .register-form-row:nth-of-type(5)::before {
        content: '📧';
        font-size: 14px;
        width: auto;
        height: auto;
    }

    /* Hide icons for password fields */
    .register-form-row:has(.register-password-container)::before {
        display: none;
    }

/* Progress indicator */
.register-progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.register-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e1e5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 700;
    position: relative;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .register-step.register-active {
        background: linear-gradient(135deg, #00985F, #4CAF50);
        color: white;
        border-color: rgba(0, 152, 95, 0.2);
        box-shadow: 0 4px 12px rgba(0, 152, 95, 0.3);
        transform: scale(1.1);
    }

    .register-step.register-completed {
        background: #00985F;
        color: white;
    }

        .register-step.register-completed::before {
            content: '✓';
            font-size: 16px;
            font-weight: bold;
        }

.register-step-connector {
    flex: 1;
    height: 3px;
    background: #e1e5e9;
    margin: 0 8px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

    .register-step-connector.register-active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: linear-gradient(90deg, #00985F, #4CAF50);
        animation: register-progressFill 0.6s ease-out;
    }

@keyframes register-progressFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Step labels */
.register-step-label {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.register-step.register-active .register-step-label {
    color: #00985F;
}

.register-step.register-completed .register-step-label {
    color: #00985F;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-centered-form-wrapper {
        padding: 8px;
        min-height: 60vh;
        max-height: 98vh;
    }

    .register-training-wrapper {
        padding: 15px 20px;
        border-radius: 20px;
        max-height: none;
    }

        .register-training-wrapper h2 {
            font-size: 20px;
            margin-top: 10px;
        }

    .register-button-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .register-modern-button {
        width: 100%;
        max-width: 250px;
        margin-right: 0;
        margin-bottom: 0;
    }

    .register-step {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .register-step-label {
        font-size: 9px;
        top: 32px;
    }
}

@media (max-height: 700px) {
    .register-centered-form-wrapper {
        min-height: auto;
        padding: 5px;
    }

    .register-training-wrapper {
        padding: 15px 25px;
    }

    .register-progress-steps {
        margin-bottom: 10px;
    }

    .register-training-wrapper h2 {
        margin-top: 10px;
        margin-bottom: 2px;
        font-size: 22px;
    }

    .register-section-description {
        margin-bottom: 12px;
        font-size: 13px;
    }
}

/* Floating labels effect */
.register-form-group {
    position: relative;
    margin-bottom: 20px;
}

    .register-form-group input:focus + .register-form-label,
    .register-form-group input:not(:placeholder-shown) + .register-form-label {
        transform: translateY(-20px) scale(0.9);
        color: #00985F;
    }

/* Success animation */
@keyframes register-successPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.register-success-message {
    color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1) !important;
    border: 1px solid rgba(40, 167, 69, 0.3) !important;
    animation: register-successPulse 0.6s ease-out;
}

/* Bottom link section */
.register-login-link-section {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    text-align: center;
}

    .register-login-link-section p {
        color: #666;
        font-size: 13px;
        margin-bottom: 0;
    }

    .register-login-link-section a {
        color: #00985F;
        text-decoration: none;
        font-weight: 600;
    }

/* Add this CSS rule to your existing form field icons section */
.register-form-row:nth-of-type(5)::before {
    content: '👨‍🏫'; /* Teacher/trainer emoji */
    font-size: 14px;
    width: auto;
    height: auto;
}

/* Update the existing email field selectors to account for the new trainer field */
.register-form-row:nth-of-type(6)::before,
.register-form-row:nth-of-type(7)::before {
    content: '📧';
    font-size: 14px;
    width: auto;
    height: auto;
}
.admindept * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.admindept-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    color: #333;
}

.admindept-trainer-badge {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: white !important;
}

.admindept-superuser-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.admindept-admin-wrapper {
    padding: 15px;
    min-height: 80vh;
}

.admindept-admin-header {
    text-align: center;
    margin-bottom: 20px;
}

.admindept-admin-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #00985F, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .admindept-admin-title::before {
        content: '🏢';
        font-size: 32px;
    }

.admindept-admin-subtitle {
    color: #666;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.admindept-admin-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.admindept-admin-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    overflow-x: hidden !important;
    animation: admindept-slideInUp 0.6s ease-out;
}

    .admindept-admin-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #00985F, #4CAF50, #FFDD00);
    }

.admindept-panel-title {
    font-size: 18px;
    font-weight: 600;
    color: #00985F;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.admindept-panel-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.admindept-form-section {
    background: rgba(0, 152, 95, 0.05);
    border: 1px solid rgba(0, 152, 95, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.admindept-form-row {
    margin-bottom: 12px;
}

.admindept-form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.admindept-modern-input, .admindept-modern-select {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 2px solid #e1e5e9 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    font-family: inherit !important;
}

.admindept-modern-select {
    padding-right: 35px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' 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") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 18px !important;
    cursor: pointer !important;
}

    .admindept-modern-input:focus, .admindept-modern-select:focus {
        outline: none !important;
        border-color: #00985F !important;
        box-shadow: 0 0 0 2px rgba(0, 152, 95, 0.1) !important;
        background: white !important;
    }

.admindept-modern-button {
    background: linear-gradient(135deg, #00985F, #4CAF50) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 152, 95, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 100px;
}

    .admindept-modern-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0, 152, 95, 0.4);
        background: linear-gradient(135deg, #007a4f, #3e9b47) !important;
    }

    .admindept-modern-button.admindept-danger {
        background: linear-gradient(135deg, #dc3545, #c82333) !important;
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    }

        .admindept-modern-button.admindept-danger:hover {
            background: linear-gradient(135deg, #c82333, #bd2130) !important;
            box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
        }

    .admindept-modern-button.admindept-warning {
        background: linear-gradient(135deg, #ffc107, #e0a800) !important;
        color: #212529 !important;
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    }

        .admindept-modern-button.admindept-warning:hover {
            background: linear-gradient(135deg, #e0a800, #d39e00) !important;
            box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
        }

.admindept-button-group {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.admindept-data-grid {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

.admindept-grid-header {
    background: linear-gradient(135deg, #00985F, #4CAF50);
    color: white;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admindept-grid-content {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    width: 100%;
}

.admindept-data-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: background-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

    .admindept-data-row:hover {
        background: rgba(0, 152, 95, 0.05);
    }

    .admindept-data-row:last-child {
        border-bottom: none;
    }

.admindept-department-name {
    font-weight: 600;
    color: #333;
}

.admindept-head-info {
    color: #666;
    font-size: 13px;
}

.admindept-head-name {
    font-weight: 500;
    color: #00985F;
}

.admindept-no-head {
    color: #999;
    font-style: italic;
}

.admindept-head-badge {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
    color: white !important;
}

.admindept-action-buttons {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.admindept-btn-small {
    padding: 6px 10px !important;
    font-size: 12px !important;
    min-width: auto !important;
}

.admindept-btn-icon {
    padding: 6px 8px !important;
    min-width: auto !important;
    font-size: 12px !important;
}

.admindept-success-message {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    color: #28a745;
    text-align: center;
    font-weight: 600;
    border-left: 4px solid #28a745;
}

.admindept-error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    color: #dc3545;
    text-align: center;
    font-weight: 500;
    border-left: 4px solid #dc3545;
}

.admindept-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.admindept-stat-card {
    background: linear-gradient(135deg, rgba(0, 152, 95, 0.1), rgba(76, 175, 80, 0.05));
    border: 1px solid rgba(0, 152, 95, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.admindept-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #00985F;
    display: block;
}

.admindept-stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.admindept-role-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #10964D;
    color: #fff;
}

.admindept-edit-btn,
input[type="submit"].admindept-edit-btn,
a.admindept-edit-btn,
input[type="submit"][value="Edit"],
button[value="Edit"] {
    background: linear-gradient(180deg, #FFDD00 0%, #E6A600 100%) !important;
    color: #111 !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

    .admindept-edit-btn:hover,
    input[type="submit"][value="Edit"]:hover,
    button[value="Edit"]:hover {
        background: linear-gradient(180deg, #E6C700 0%, #CC9200 100%) !important;
    }

    .admindept-edit-btn:active,
    input[type="submit"][value="Edit"]:active,
    button[value="Edit"]:active {
        transform: translateY(1px);
        box-shadow: 0 3px 8px rgba(0,0,0,.12) inset;
    }

    .admindept-edit-btn:focus,
    input[type="submit"][value="Edit"]:focus,
    button[value="Edit"]:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255,221,0,.35), 0 4px 12px rgba(0,0,0,.12) !important;
    }

.admindept-alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    color: #664d03;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 500;
}

.admindept-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.admindept-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: admindept-modalSlideIn 0.3s ease-out;
}

@keyframes admindept-modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.admindept-modal-header {
    padding: 20px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #00985F, #4CAF50);
    color: white;
    border-radius: 16px 16px 0 0;
}

    .admindept-modal-header h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
    }

.admindept-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

    .admindept-close-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

.admindept-modal-body {
    padding: 20px;
}

.admindept-search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e1e5e9;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admindept-form-row {
    position: relative;
}

.admindept-search-result-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .admindept-search-result-item:hover {
        background: rgba(0, 152, 95, 0.1);
    }

    .admindept-search-result-item:last-child {
        border-bottom: none;
    }

.admindept-user-name {
    font-weight: 600;
    color: #333;
}

.admindept-user-department {
    color: #00985F;
    font-size: 11px;
    background: rgba(0, 152, 95, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

#txtUserSearch:focus + .admindept-search-results-container {
    border-color: #00985F;
}

.admindept-control-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admindept-modern-checkbox {
    margin-top: 1px;
}

.admindept-checkbox-text {
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

@keyframes admindept-slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admindept-department-row {
    display: grid;
    grid-template-columns: 2fr 1fr 120px;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

    .admindept-department-row:last-child {
        border-bottom: none;
    }

.admindept-department-actions {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.admindept-edit-row {
    background-color: rgba(0, 152, 95, 0.05);
    border: 1px solid rgba(0, 152, 95, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 10px 0;
    width: 100%;
}

.admindept-head-card {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .admindept-head-card h4 {
        margin: 0 0 8px 0;
        color: #333;
        font-size: 16px;
    }

    .admindept-head-card .admindept-department {
        color: #666;
        font-size: 13px;
        margin-bottom: 8px;
    }

.admindept-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.admindept-head-card .admindept-edit-btn {
    margin-top: 8px;
}

.admindept-edit-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.admindept-edit-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admindept-edit-form-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
}

.admindept-edit-input-field {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e1e5e9 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: white !important;
    color: #333 !important;
    font-family: inherit !important;
}

    .admindept-edit-input-field:focus {
        outline: none !important;
        border-color: #00985F !important;
        box-shadow: 0 0 0 3px rgba(0, 152, 95, 0.1) !important;
    }

.admindept-edit-select-field {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e1e5e9 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: white !important;
    color: #333 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' 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") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px !important;
}

    .admindept-edit-select-field:focus {
        outline: none !important;
        border-color: #00985F !important;
        box-shadow: 0 0 0 3px rgba(0, 152, 95, 0.1) !important;
    }

.admindept-edit-controls {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 152, 95, 0.2);
    justify-content: flex-end;
}

.admindept-edit-button {
    background: linear-gradient(135deg, #00985F, #4CAF50) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 152, 95, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 100px !important;
}

    .admindept-edit-button:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 20px rgba(0, 152, 95, 0.4) !important;
        background: linear-gradient(135deg, #007a4f, #3e9b47) !important;
    }

    .admindept-edit-button.admindept-cancel {
        background: linear-gradient(135deg, #ffc107, #e0a800) !important;
        color: #212529 !important;
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3) !important;
    }

        .admindept-edit-button.admindept-cancel:hover {
            background: linear-gradient(135deg, #e0a800, #d39e00) !important;
            box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4) !important;
        }

.admindept-department-row.admindept-editing {
    grid-template-columns: 1fr;
    align-items: stretch;
}

    .admindept-department-row.admindept-editing .admindept-department-actions {
        display: none;
    }

.admindept-user-detail-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 80px;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: background-color 0.2s;
}

    .admindept-user-detail-row:hover {
        background: rgba(0, 152, 95, 0.05);
    }

    .admindept-user-detail-row:last-child {
        border-bottom: none;
    }

.admindept-user-main-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admindept-user-name-display {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.admindept-user-email-display {
    color: #666;
    font-size: 12px;
}

.admindept-user-join-date {
    color: #999;
    font-size: 11px;
}

.admindept-user-role-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admindept-user-role-display {
    font-size: 13px;
    color: #00985F;
    font-weight: 500;
}

.admindept-user-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.admindept-user-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.admindept-badge-admin {
    background: #dc3545;
    color: white;
}

.admindept-badge-trainer {
    background: #ffc107;
    color: #212529;
}

.admindept-badge-head {
    background: #17a2b8;
    color: white;
}

.admindept-badge-active {
    background: #28a745;
    color: white;
}

.admindept-badge-inactive {
    background: #6c757d;
    color: white;
}

.admindept-user-progress-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.admindept-progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    margin: 0margin: 0 auto 4px;
}

.admindept-progress-complete {
    background: #28a745;
    color: white;
}

.admindept-progress-partial {
    background: #ffc107;
    color: #212529;
}

.admindept-progress-none {
    background: #e9ecef;
    color: #6c757d;
}

.admindept-progress-label {
    font-size: 10px;
    color: #666;
    text-align: center;
}

.admindept-user-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admindept-btn-user-action {
    padding: 4px 8px;
    font-size: 11px;
    min-width: auto;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .admindept-admin-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .admindept-admin-wrapper {
        padding: 10px;
    }

    .admindept-admin-title {
        font-size: 22px;
    }

    .admindept-data-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }

    .admindept-action-buttons {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .admindept-stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .admindept-department-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }

    .admindept-department-actions {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .admindept-edit-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .admindept-edit-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .admindept-edit-button {
        min-width: auto !important;
    }

    .admindept-user-detail-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }

    .admindept-user-badges {
        justify-content: flex-start;
    }

    .admindept-user-progress-column {
        text-align: left;
    }

    .admindept-progress-circle {
        margin: 0 0 4px 0;
    }
}
.main-content .content-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.courseReview-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
}

/* ========== HEADER ========== */
.courseReview-header {
    background: linear-gradient(135deg, #00985F 0%, #00b36b 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 152, 95, 0.25);
}

.courseReview-backButton {
    display: none;
}

.courseReview-headerContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.courseReview-headerLeft {
    flex: 1;
}

.courseReview-courseLabel {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: 600;
}

.courseReview-courseTitle {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.courseReview-employeeInfo {
    font-size: 15px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

    .courseReview-employeeInfo::before {
        content: "👤";
        font-size: 18px;
    }

.courseReview-headerStats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    min-width: 420px;
}

.courseReview-statCard {
    background: white;
    padding: 18px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .courseReview-statCard:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.courseReview-statLabel {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 700;
}

.courseReview-statValue {
    font-size: 26px;
    font-weight: 800;
    color: #00985F;
}

/* ========== PERFORMANCE SUMMARY ========== */
.courseReview-performanceSummary {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #00985F;
}

.courseReview-summaryHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.courseReview-summaryIcon {
    font-size: 28px;
}

.courseReview-summaryTitle {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.courseReview-summaryGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.courseReview-summaryItem {
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf9 100%);
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

    .courseReview-summaryItem:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 152, 95, 0.15);
        border-color: #00985F;
    }

.courseReview-summaryNumber {
    font-size: 36px;
    font-weight: 800;
    color: #00985F;
    display: block;
    margin-bottom: 8px;
}

.courseReview-summaryLabel {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ========== MAIN CONTENT GRID ========== */
.courseReview-contentLayout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 20px;
    align-items: start;
}

/* ========== LEFT: Q&A SECTION ========== */
.courseReview-qaSection {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.courseReview-sectionHeader {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f1f5f9;
}

.courseReview-sectionIcon {
    font-size: 28px;
}

.courseReview-sectionTitle {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

/* Q&A Card */
.courseReview-qaCard {
    background: #fafbfc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .courseReview-qaCard::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(180deg, #00985F 0%, #4CAF50 100%);
    }

    .courseReview-qaCard:hover {
        border-color: #00985F;
        box-shadow: 0 8px 24px rgba(0, 152, 95, 0.12);
        transform: translateX(3px);
    }

.courseReview-qaHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.courseReview-lessonBadge {
    background: linear-gradient(135deg, #00985F 0%, #00b36b 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 152, 95, 0.3);
}

    .courseReview-lessonBadge::before {
        content: "📚";
        font-size: 16px;
    }

.courseReview-scoreDisplay {
    display: flex;
    align-items: center;
    gap: 10px;
}

.courseReview-scoreBadge {
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.courseReview-scoreExcellent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.courseReview-scoreGood {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.courseReview-scoreFair {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.courseReview-scorePoor {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Q&A Content */
.courseReview-qaItem {
    margin-bottom: 25px;
}

    .courseReview-qaItem:last-child {
        margin-bottom: 0;
    }

.courseReview-questionBlock {
    background: white;
    border-left: 4px solid #3b82f6;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.courseReview-questionLabel {
    font-size: 12px;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .courseReview-questionLabel::before {
        content: "❓";
        font-size: 14px;
    }

.courseReview-questionText {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.6;
    font-weight: 500;
}

.courseReview-answerBlock {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.courseReview-answerLabel {
    font-size: 12px;
    font-weight: 700;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .courseReview-answerLabel::before {
        content: "💬";
        font-size: 14px;
    }

.courseReview-answerText {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Evaluation */
.courseReview-evaluationSection {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e5e7eb;
}

.courseReview-evaluationHeader {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.courseReview-evaluationIcon {
    font-size: 20px;
}

.courseReview-evaluationTitle {
    font-size: 16px;
    font-weight: 700;
    color: #00985F;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.courseReview-evaluationContent {
    background: #f0fdf4;
    border-left: 4px solid #00985F;
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

    .courseReview-evaluationContent h2,
    .courseReview-evaluationContent h3 {
        font-size: 15px;
        color: #00985F;
        margin: 15px 0 10px 0;
        font-weight: 700;
    }

    .courseReview-evaluationContent strong {
        color: #1e293b;
        font-weight: 700;
    }

    .courseReview-evaluationContent ul {
        margin: 10px 0;
        padding-left: 25px;
    }

    .courseReview-evaluationContent li {
        margin: 6px 0;
    }

.courseReview-qaTimestamp {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .courseReview-qaTimestamp::before {
        content: "🕒";
        font-size: 14px;
    }

/* ========== RIGHT: REVIEW PANEL (STICKY) ========== */
.courseReview-reviewPanel {
    position: sticky;
    top: 20px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
}

.courseReview-panelHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f1f5f9;
}

.courseReview-panelIcon {
    font-size: 28px;
}

.courseReview-panelTitle {
    font-size: 20px;
    font-weight: 700;
    color: #00985F;
}

.courseReview-notesContainer {
    margin-bottom: 25px;
}

.courseReview-notesLabel {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .courseReview-notesLabel::before {
        content: "📝";
        font-size: 16px;
    }

.courseReview-notesTextarea {
    width: 100%;
    min-height: 180px;
    max-height: 400px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    background: #fafbfc;
}

    .courseReview-notesTextarea:focus {
        outline: none;
        border-color: #00985F;
        background: white;
        box-shadow: 0 0 0 4px rgba(0, 152, 95, 0.1);
    }

    .courseReview-notesTextarea::placeholder {
        color: #94a3b8;
        font-style: italic;
    }

.courseReview-actionButtons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.courseReview-actionButton {
    background: linear-gradient(135deg, #00985F 0%, #00b36b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 152, 95, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .courseReview-actionButton:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 152, 95, 0.4);
    }

    .courseReview-actionButton:active:not(:disabled) {
        transform: translateY(-1px);
    }

    .courseReview-actionButton:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .courseReview-actionButton.courseReview-reject {
        background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    }

        .courseReview-actionButton.courseReview-reject:hover:not(:disabled) {
            box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
        }

.courseReview-reviewedStatus {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    color: #065f46;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

    .courseReview-reviewedStatus::before {
        content: "✅";
        display: block;
        font-size: 32px;
        margin-bottom: 10px;
    }

.courseReview-reviewedStatusTitle {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.courseReview-reviewedStatusDetails {
    font-size: 12px;
    line-height: 1.6;
}

/* ========== NO DATA STATE ========== */
.courseReview-noDataState {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.courseReview-noDataIcon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.courseReview-noDataTitle {
    font-size: 22px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
}

.courseReview-noDataText {
    font-size: 15px;
    color: #64748b;
}

/* ========== STATUS MESSAGES ========== */
.courseReview-statusMessage {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.courseReview-errorMessage {
    background: #fef2f2;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.courseReview-successMessage {
    background: #f0fdf4;
    color: #16a34a;
    border: 2px solid #16a34a;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .courseReview-contentLayout {
        grid-template-columns: 1fr;
    }

    .courseReview-reviewPanel {
        position: static;
    }

    .courseReview-headerStats {
        min-width: auto;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courseReview-container {
        padding: 15px;
    }

    .courseReview-headerContent {
        flex-direction: column;
    }

    .courseReview-courseTitle {
        font-size: 24px;
    }

    .courseReview-summaryGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .courseReview-notesTextarea {
        min-height: 150px;
    }
}
.um-reset * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.um-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    color: #333;
}

.um-user-management-wrapper {
    padding: 15px;
    min-height: 80vh;
}

.um-breadcrumb {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .um-breadcrumb a {
        color: #00985F;
        text-decoration: none;
        font-weight: 500;
    }

        .um-breadcrumb a:hover {
            text-decoration: underline;
        }

.um-page-header {
    text-align: center;
    margin-bottom: 20px;
}

.um-page-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #00985F, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .um-page-title::before {
        content: '👥';
        font-size: 32px;
    }

.um-page-subtitle {
    color: #666;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.um-department-info {
    background: linear-gradient(135deg, #00985F, #4CAF50);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 152, 95, 0.3);
}

.um-department-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.um-department-stats {
    font-size: 14px;
    opacity: 0.9;
}

.um-controls-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.um-search-section {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.um-filter-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

.um-modern-input, .um-modern-select {
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-family: inherit;
}

    .um-modern-input:focus, .um-modern-select:focus {
        outline: none;
        border-color: #00985F;
        box-shadow: 0 0 0 2px rgba(0, 152, 95, 0.1);
        background: white;
    }

.um-modern-button {
    background: linear-gradient(135deg, #00985F, #4CAF50);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 152, 95, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .um-modern-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0, 152, 95, 0.4);
        background: linear-gradient(135deg, #007a4f, #3e9b47);
    }

    .um-modern-button.um-danger {
        background: linear-gradient(135deg, #dc3545, #c82333);
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    }

        .um-modern-button.um-danger:hover {
            background: linear-gradient(135deg, #c82333, #bd2130);
            box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
        }

    .um-modern-button.um-warning {
        background: linear-gradient(135deg, #ffc107, #e0a800);
        color: #212529;
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    }

        .um-modern-button.um-warning:hover {
            background: linear-gradient(135deg, #e0a800, #d39e00);
            box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
        }

    .um-modern-button.um-secondary {
        background: linear-gradient(135deg, #6c757d, #5a6268);
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    }

        .um-modern-button.um-secondary:hover {
            background: linear-gradient(135deg, #5a6268, #545b62);
            box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
        }

.um-btn-small {
    padding: 6px 10px;
    font-size: 12px;
    min-width: auto;
}

.um-users-grid {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.um-grid-header {
    background: linear-gradient(135deg, #00985F, #4CAF50);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr 150px;
    gap: 15px;
    align-items: center;
}

.um-grid-content {
    max-height: 600px;
    overflow-y: auto;
}

.um-user-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr 150px;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: background-color 0.2s;
}

    .um-user-row:hover {
        background: rgba(0, 152, 95, 0.05);
    }

    .um-user-row:last-child {
        border-bottom: none;
    }

.um-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.um-user-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.um-user-email {
    font-size: 12px;
    color: #666;
}

.um-user-department {
    font-weight: 500;
    color: #00985F;
}

.um-user-role {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.um-role-admin {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.um-role-user {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.um-user-status {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.um-status-active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.um-status-inactive {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.um-action-buttons {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.um-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.um-empty-state-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.um-empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.um-empty-state p {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

.um-success-message {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    color: #28a745;
    text-align: center;
    font-weight: 600;
    border-left: 4px solid #28a745;
}

.um-error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    color: #dc3545;
    text-align: center;
    font-weight: 500;
    border-left: 4px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .um-grid-header, .um-user-row {
        grid-template-columns: 2fr 1fr 1fr 120px;
    }

        .um-grid-header .um-department-col,
        .um-user-row .um-department-col {
            display: none;
        }
}

@media (max-width: 768px) {
    .um-controls-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .um-search-section, .um-filter-section {
        justify-content: center;
    }

    .um-grid-header, .um-user-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
    }

    .um-user-info {
        align-items: center;
    }

    .um-action-buttons {
        margin-top: 10px;
    }

    .um-modern-input, .um-modern-select {
        width: 100%;
        max-width: 200px;
    }
}