@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);

:root {
            --primary-blue: #004AAD;
            --primary-pink: #CD208B;
            --yellow: #FFD700;
            --text-dark: #000000;
            --text-light: #FFFFFF;
            --text-gray: #666;
        }

        html {
            font-size: 1rem;
            scrollbar-gutter: stable;
            scroll-behavior: smooth;
            overflow-y: scroll;
            overflow-x: hidden;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', system-ui, -apple-system, sans-serif;
            transition: all 0.3s ease-in-out;
        }

        /* Body Styles */
        body {
            font-family: 'Poppins', system-ui, -apple-system, sans-serif;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-pink) 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            line-height: 1.6;
            overflow-y: auto;
            overflow-x: hidden;
        }

        /* Logo Styles */
        .logo-container {
            display: flex;
            justify-content: center;
            padding: 0;
        }

        .logo-container a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo-container img {
            width: 100px;
            height: auto;
        }

        .header h1 {
            color: var(--primary-blue);
            font-size: 2.3rem;
            text-align: center;
            margin-top: 0.5rem;
        }

        .header p {
            color: var(--primary-pink);
            font-size: 1.5rem;
        }

        /* Container Styles */
        .container {
            background: white;
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 1000px;
            margin: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
        }

        .subtitle {
            color: var(--primary-pink);
            font-size: 1.1rem;
        }

        .profile-section {
            text-align: center;
            margin-bottom: 40px;
        }

        .profile-photo {
            width: 180px;
            height: 180px;
            margin: 0 auto;
            border-radius: 50%;
            background: var(--background-light);
            border: 2px dashed var(--primary-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .profile-photo:hover {
            border-color: var(--primary-pink);
            background: #f0f7ff;
        }

        .profile-photo span {
            color: var(--primary-blue);
            font-size: 0.9rem;
            font-weight: 500;
            padding: 0 20px;
            text-align: center;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-dark);
            font-weight: 500;
            font-size: 0.95rem;
        }

        input, select {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid var(--primary-blue);
            background-color: #f8f9fa;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            color: var(--text-dark);
        }

        input:hover, select:hover {
            border-color: var(--primary-pink);
        }

        input:focus, select:focus {
            border-color: var(--primary-pink);
            outline: none;
            box-shadow: 0 0 0 3px rgba(205, 32, 139, 0.1);
            background-color: white;
        }

        .error-container {
            background-color: #fee2e2;
            border: 1px solid red;
            border-radius: 8px;
            padding: 16px;
            margin: 20px 0;
        }

        .error-message {
            color: red;
            font-size: 0.875rem;
        }

        .error-message strong {
            display: block;
            margin-bottom: 4px;
        }

        .error-message ul {
            margin-left: 20px;
            margin-top: 5px;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 5px;
            margin: 0;
        }

        .checkbox-group input[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            width: 15px;
            height: 15px;
            border: 2px solid var(--primary-blue);
            border-radius: 4px;
            cursor: pointer;
            position: relative;
            margin: 0;
            transition: all 0.2s ease;
        }

        .checkbox-group input[type="checkbox"]:checked {
            background-color: var(--primary-pink);
            border-color: var(--primary-pink);
        }

        .checkbox-group input[type="checkbox"]:checked::after {
            content: '✓';
            position: absolute;
            color: white;
            font-size: 15px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .checkbox-group input[type="checkbox"]:hover {
            border-color: var(--primary-pink);
        }

        .checkbox-group input[type="checkbox"]:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(205, 32, 139, 0.1);
        }

        .checkbox-group label {
            flex: 1;
            font-size: 0.95rem;
            line-height: 1.5;
            cursor: pointer;
            color: var(--text-dark);
            padding-top: 2px;
        }

        .checkbox-group a {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .checkbox-group a:hover {
            color: var(--primary-pink);
            text-decoration: underline;
        }

        /* Style for required checkbox validation */
        .checkbox-group.error input[type="checkbox"] {
            border-color: #dc3545;
            animation: shake 0.5s linear;
        }

        @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            50% { transform: translateX(5px); }
            75% { transform: translateX(-5px); }
            100% { transform: translateX(0); }
        }

        .full-width {
            grid-column: 1 / -1;
        }

        textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid var(--primary-blue);
            background-color: #f8f9fa;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            color: var(--text-dark);
            resize: vertical;
            min-height: 120px;
            font-family: inherit;
        }

        textarea:hover {
            border-color: var(--primary-pink);
        }

        textarea:focus {
            border-color: var(--primary-pink);
            outline: none;
            box-shadow: 0 0 0 3px rgba(205, 32, 139, 0.1);
            background-color: white;
        }

        .char-counter {
            font-size: 0.8rem;
            color: #666;
            text-align: right;
            margin-top: 4px;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
            overflow-y: auto;
        }

        .modal.show {
            display: flex;
        }

        .modal-content {
            background-color: #fff;
            margin: 2rem auto;
            padding: 0;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            position: relative;
            width: 90%;
            max-width: 800px;
            max-height: calc(100vh - 4rem);
            overflow-y: auto;
        }

        /* Additional styles for the success message */
        .success-icon {
            font-size: 64px;
            color: #28a745;
            margin-bottom: 30px;
            animation: scaleIn 0.5s ease-in-out;
        }

        @keyframes scaleIn {
            0% { transform: scale(0); }
            60% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        .modal h2 {
            font-size: 28px;
            margin-bottom: 20px;
            color: var(--primary-blue);
        }

        .modal p {
            font-size: 18px;
            margin-bottom: 30px;
            line-height: 1.5;
            color: var(--text-dark);
            padding: 0 20px;
        }

        .text-center {
            text-align: center;
        }

        .photo-options {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 20px;
        }

        .photo-options button {
            padding: 15px 25px;
            border: none;
            border-radius: 8px;
            background-color: var(--primary-blue);
            color: white;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            transition: background-color 0.3s;
        }

        .photo-options button:hover {
            background-color: var(--primary-pink);
        }

        .photo-options i {
            font-size: 24px;
        }

        #cameraFeed {
            width: 100%;
            max-width: 640px;
            margin: 0 auto;
            display: block;
        }

        .camera-controls {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }

        .camera-controls button {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            background-color: var(--primary-blue);
            color: white;
            cursor: pointer;
        }

        .close {
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .upload-group {
            margin: 20px 0;
        }

        .upload-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .id-upload-container {
            display: flex;
            gap: 20px;
            margin-bottom: 10px;
        }

        .id-upload-box {
            flex: 1;
            position: relative;
            height: 200px;
            border: 1px solid var(--primary-blue);
            background-color: #f8f9fa;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .id-upload-box:hover {
            border-color: var(--primary-pink);
            background-color: #f0f0f0;
        }

        .id-preview {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 1;
        }

        .id-preview i {
            font-size: 48px;
            color: #6c757d;
            margin-bottom: 10px;
        }

        .id-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: none;
        }

        .id-upload-box input[type="file"] {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0;
            cursor: pointer;
            z-index: 2;
        }

        .upload-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px;
            text-align: center;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .id-upload-box:hover .upload-overlay {
            transform: translateY(0);
        }

        .upload-requirements {
            margin-top: 10px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .upload-requirements small {
            color: #6c757d;
            font-size: 0.875rem;
        }

        .upload-error {
            border-color: #dc3545;
            animation: shake 0.5s linear;
        }

        @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            50% { transform: translateX(5px); }
            75% { transform: translateX(-5px); }
            100% { transform: translateX(0); }
        }
        #successModal .modal-content {
        text-align: center;
        padding: 30px;
        max-width: 500px !important;
    }

    #successModal .fas.fa-check-circle {
        animation: scaleIn 0.5s ease-in-out;
    }

    .text-center {
        text-align: center;
    }

    #successModal button {
        margin-top: 20px;
        padding: 10px 25px;
        background-color: var(--primary-blue);
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    #successModal button:hover {
        background-color: var(--primary-pink);
    }

    .steps-container {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-bottom: 40px;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 10px;
        opacity: 0.5;
        transition: all 0.3s ease;
    }

    .step.active {
        opacity: 1;
    }

    .step-number {
        width: 30px;
        height: 30px;
        background: var(--primary-blue);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }

    .step.active .step-number {
        background: var(--primary-pink);
    }

    .step-text {
        font-weight: 500;
        color: var(--text-dark);
    }

    .form-section {
        display: block;
        transition: all 0.3s ease;
    }

    .form-section.hidden {
        display: none;
    }

    .button-container {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    .btn {
        padding: 0 20px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 120px;
        height: 50px;
    }

    .btn-primary {
        background: var(--primary-pink);
        border: 2px solid var(--primary-pink);
        color: var(--text-light);
    }

    .btn-outline {
        background: white;
        border: 2px solid var(--primary-blue);
        color: var(--primary-blue);
    }

        .btn-gigs {
            background: var(--primary-blue);
            border: 2px solid var(--primary-blue);
            color: var(--text-light);
            width: 200px;
        }

        .btn-primary:hover {
            background: white;
            border: 2px solid var(--primary-pink);
            color: var(--primary-pink);
            text-decoration: none;
        }

        .btn-outline:hover {
            background: var(--primary-blue);
            color: var(--text-light);
            text-decoration: none;
        }

        .btn-gigs:hover {
            background: white;
            color: var(--primary-blue);
        }


    .mobile-input-group {
        display: flex;
        align-items: center;
        border: 1px solid var(--primary-blue);
        border-radius: 8px;
        overflow: hidden;
        background-color: #f8f9fa;
        transition: all 0.3s ease;
    }

    .mobile-input-group:hover {
        border-color: var(--primary-pink);
    }

    .mobile-input-group:focus-within {
        border-color: var(--primary-pink);
        outline: none;
        box-shadow: 0 0 0 3px rgba(205, 32, 139, 0.1);
        background-color: white;
    }

    .country-code {
        background-color: transparent;
        padding: 12px 16px;
        border-right: 1px solid var(--primary-blue);
        color: var(--text-dark);
        font-size: 1rem;
        white-space: nowrap;
    }

    .mobile-input-group input {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background-color: transparent !important;
    }

    .mobile-input-group.error {
        border-color: #dc3545;
    }

    .password-input-group {
        position: relative;
        display: flex;
        align-items: center;
    }

    .password-input-group input {
        width: 100%;
    }

    .password-toggle {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #6c757d;
        padding: 5px;
        z-index: 2;
    }

    .password-toggle:hover {
        color: var(--primary-blue);
    }

    .required {
        color: red;
        margin-left: 2px;
    }

        #validation-errors ul, #validation-errors-step2 ul{
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        #validation-errors li, #validation-errors-step2 li{
            color: red;
            display: flex;
            justify-content: left;
            align-items: center;
            margin-bottom: 5px;
        }
        #validation-errors li::before, #validation-errors-step2 li::before{
            content: "•";
            margin-right: 10px;
        }
    .loading-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }

    .loading-overlay.show {
        display: flex;
    }

    .loading-spinner {
        text-align: center;
    }

    .spinner {
        width: 50px;
        height: 50px;
        border: 5px solid #f3f3f3;
        border-top: 5px solid var(--primary-blue);
        border-radius: 50%;
        margin: 0 auto 15px;
        animation: spin 1s linear infinite;
    }

    .loading-spinner p {
        color: var(--primary-blue);
        font-weight: 500;
        margin-top: 10px;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* TV */
        @media screen and (min-width: 1921px) and (max-width: 3840px) {
        }


    /* Desktop & Laptop */
        @media screen and (min-width: 1721px) and (max-width: 1920px) {
        }

    /* Medium to Large Desktops */
        @media screen and (max-width: 1720px) {
        }

        @media screen and (max-width: 1500px) {
            
        }

    /* Large Mobile Devices */
    @media screen and (max-width: 768px) {
       

    }

    /* Small Mobile Devices */
        @media screen and (max-width: 480px) {
            /* Container and Layout */
        .container {
            padding: 10px;
        }

        .form-section {
            padding: 15px;
        }

        .form-grid {
            grid-template-columns: 1fr;
            gap: 10px;
        }

        /* Header */
        .header h1 {
            font-size: 25px;
        }

        .header p {
            font-size: 20px;
        }

        /* Profile Section */
        .profile-photo {
            width: 150px;
            height: 150px;
            margin: 0 auto;
        }

        /* Form Elements */
        .form-group {
            margin-bottom: 12px;
        }

        .form-group label {
            font-size: 14px;
            margin-bottom: 4px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 8px;
            font-size: 14px;
            width: 100%;
        }

        /* Mobile Number Input */
        .mobile-input-group {
            display: flex;
            gap: 8px;
        }

        .country-code {
            width: 80px;
            font-size: 14px;
        }

        /* Buttons */
        .button-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 20px;
        }

        .button-container button {
            width: 100%;
            padding: 12px;
            font-size: 14px;
        }

        /* File Upload */
        .id-upload-box {
            padding: 10px;
            margin-top: 5px;
        }

        /* Helper Text */
        .char-counter,
        .error-message {
            font-size: 12px;
        }

        /* Checkbox */
        .checkbox-group {
            margin: 10px 0;
        }

        .checkbox-group label {
            font-size: 13px;
        }

        /* Step indicators styling for mobile */
        .step {
            text-align: center;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .step-number {
            width: 24px;
            height: 24px;
            font-size: 14px;
            line-height: 24px;
        }

        .step-text {
            text-align: center;
            font-size: 15px;
            display: block;
            width: 100%;
        }

        .steps-container {
            gap: 3rem;
        }
        }
    
    @media screen and (max-width: 360px) {
        /* Container and Layout */
        .container {
            padding: 10px;
        }   

        .form-section {
            padding: 15px;
        }

        .form-grid {
            grid-template-columns: 1fr;
            gap: 10px;
        }

        /* Header */
        .header h1 {
            font-size: 24px;
        }

        .header p {
            font-size: 16px;
        }

        /* Logo Container */
        .logo-container img {
            width: 80px;
        }

        .logo-container h1 {
            font-size: 1.5rem;
            margin-left: -1rem;
        }

        /* Profile Section */
        .profile-photo {
            width: 100px;
            height: 100px;
            margin: 0 auto;
        }

        /* Form Elements */
        .form-group {
            margin-bottom: 12px;
        }

        .form-group label {
            font-size: 14px;
            margin-bottom: 4px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 8px;
            font-size: 14px;
            width: 100%;
        }

        /* Mobile Number Input */
        .mobile-input-group {
            display: flex;
            gap: 8px;
        }

        .country-code {
            width: 80px;
            font-size: 14px;
        }

        /* Steps Container */
        .steps-container {
            margin: 20px 0;
            gap: 20px;
        }

        .step {
            padding: 8px;
        }

        .step-number {
            width: 24px;
            height: 24px;
            font-size: 12px;
        }

        .step-text {
            font-size: 12px;
        }

        /* ID Upload Section */
        .upload-group {
            margin: 15px 0;
            width: 100%;
        }

        .id-upload-container {
            flex-direction: column;
            gap: 15px;
            width: 100%;
            margin-bottom: 15px;
        }

        .id-upload-box {
            width: 100%;
            height: 150px;
            position: relative;
            margin: 0;
            border: 2px dashed var(--primary-blue);
            background-color: #f8f9fa;
            border-radius: 8px;
        }

        .id-preview {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1;
        }

        .id-upload-box input[type="file"] {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0;
            cursor: pointer;
            z-index: 2;
        }

        .upload-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px;
            text-align: center;
            z-index: 3;
        }

        /* Improve visual feedback for touch */
        .id-upload-box:active {
            background-color: #e9ecef;
            border-color: var(--primary-pink);
        }

        /* Make icons and text more visible */
        .id-preview i {
            font-size: 32px;
            color: var(--primary-blue);
            margin-bottom: 10px;
        }

        .id-preview span {
            font-size: 14px;
            color: #495057;
            text-align: center;
        }

        /* Buttons */
        .button-container {
            flex-direction: column;
            gap: 10px;
        }

        .button-container button {
            width: 100%;
            padding: 10px;
            font-size: 14px;
        }

        /* Modal */
        .modal-content {
            padding: 15px;
            width: 95%;
        }

        .success-icon {
            font-size: 48px;
        }

        .modal h2 {
            font-size: 20px;
        }

        .modal p {
            font-size: 14px;
            padding: 0 10px;
        }
    }

    /* PWD Section Styles */
    .pwd-details-section {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 20px;
        margin-top: 15px;
        transition: all 0.3s ease;
    }

    .pwd-details-section .form-text {
        color: #6c757d;
        font-size: 12px;
        margin-top: 5px;
    }

    .pwd-details-section .form-text i {
        margin-right: 5px;
        color: #28a745;
    }

    .char-counter {
        font-size: 12px;
        color: #666;
        text-align: right;
        margin-top: 5px;
    }

    #pwdQualificationModal .modal-content {
    background-color: #fff;
    margin: 2rem auto;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

#pwdQualificationModal .modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
    border-radius: 16px 16px 0 0;
}

#pwdQualificationModal .modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#pwdQualificationModal .modal-body {
    padding: 2rem;
}

#pwdQualificationModal .qualification-section,
#pwdQualificationModal .disqualification-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: #fff;
}

#pwdQualificationModal .qualification-section {
    border: 1px solid #9ae6b4;
    box-shadow: 0 2px 4px rgba(154, 230, 180, 0.1);
    margin-bottom: 2rem;
}

#pwdQualificationModal .disqualification-section {
    border: 1px solid #feb2b2;
    box-shadow: 0 2px 4px rgba(254, 178, 178, 0.1);
}

#pwdQualificationModal .qualified-title,
#pwdQualificationModal .disqualified-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
}

#pwdQualificationModal .qualified-title {
    color: #2f855a;
    border-color: #9ae6b4;
}

#pwdQualificationModal .disqualified-title {
    color: #c53030;
    border-color: #feb2b2;
}

#pwdQualificationModal .description {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

#pwdQualificationModal .category {
    margin-bottom: 1.5rem;
}

#pwdQualificationModal .category h4 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

#pwdQualificationModal .category ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin: 0;
}

#pwdQualificationModal .category ul li {
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.5;
    color: #4a5568;
}

#pwdQualificationModal .category ul li:before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: #4a5568;
}

#pwdQualificationModal .close {
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem;
    line-height: 1;
}

#pwdQualificationModal .close:hover {
    color: #111827;
}

.face-status-row { margin-top: 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.status-pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #eee; color: #444; border: 1px solid #ddd;
}
.status-idle { background: #f3f4f6; color: #374151; }
.status-busy { background: #e0ecff; color: #1e3a8a; border-color: #bfdbfe; }
.status-pass { background: #e7f9ed; color: #065f46; border-color: #a7f3d0; }
.status-fail { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.status-note { font-size: 12px; color: #6b7280; }
.status-score { font-size: 12px; color: #374151; }
.error-inline {
  margin-top: 6px; font-size: 13px; color: #991b1b; background: #fff1f2; border: 1px solid #fecdd3; padding: 8px 10px; border-radius: 8px;
}
.btn[disabled], .btn:disabled { opacity: 0.6; cursor: not-allowed; }