 .spinner {
        display: none;
        width: 16px;
        height: 16px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-left: 10px;
    }

    .submit-btn.loading .spinner {
        display: inline-block;
    }

    .submit-btn.loading .btn-text {
        display: none;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .registration-success {
        background-color: #d4edda;
        color: #155724;
        padding: 12px;
        border-radius: 4px;
        margin-bottom: 15px;
        border: 1px solid #c3e6cb;
        animation: slideDown 0.3s ease-out;
    }

    .registration-error {
        background-color: #f8d7da;
        color: #721c24;
        padding: 12px;
        border-radius: 4px;
        margin-bottom: 15px;
        border: 1px solid #f5c6cb;
        animation: slideDown 0.3s ease-out;
    }

    .registration-error ul {
        margin: 5px 0 0 20px;
    }

    .registration-error li {
        margin: 5px 0;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .email-checking {
        font-size: 12px;
        color: #3498db;
    }
     /* Form Sections Animation */
    .form-section {
        display: none;
        animation: fadeInForm 0.3s ease-in;
    }

    .form-section.active {
        display: block;
    }

    @keyframes fadeInForm {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

 .registration-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 30px 20px;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #f9f9f9;
            border-radius: 8px;
        }

        .form-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .form-header h1 {
            font-size: 28px;
            font-weight: 600;
            color: #333;
            margin: 0 0 10px 0;
        }

        .form-header p {
            font-size: 16px;
            color: #666;
            margin: 0;
        }

        .registration-errors {
            background-color: #fee;
            border: 1px solid #fcc;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .error-message_m {
            color: #e74c3c;
            font-weight: 500;
            margin: 5px 0;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-group label {
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .required {
            color: #e74c3c;
            font-weight: bold;
            margin-left: 2px;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            font-family: inherit;
            transition: all 0.3s ease;
            background-color: #fff;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .form-group input.success,
        .form-group textarea.success,
        .form-group select.success {
            border-color: #27ae60;
            background-color: #f0fdf4;
        }

        .form-group input.error,
        .form-group textarea.error,
        .form-group select.error {
            border-color: #e74c3c;
            background-color: #fef2f2;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
            font-family: inherit;
        }

        .error-message,
        .success-message {
            font-size: 12px;
            margin-top: 5px;
            display: none;
            font-weight: 500;
        }

        .error-message {
            color: #e74c3c;
        }

        .success-message {
            color: #27ae60;
        }

        .error-message.show,
        .success-message.show {
            display: block;
            animation: slideIn 0.2s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-5px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hint-text {
            font-size: 12px;
            color: #666;
            margin-top: 4px;
            transition: color 0.3s ease;
        }

        .file-upload-wrapper {
            background: #f5f5f5;
            border: 2px dashed #ddd;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .file-upload-wrapper.has-file {
            border-color: #27ae60;
            background-color: #f0fdf4;
        }

        .file-preview {
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .file-preview.has-file {
            background: #fff;
            border-radius: 6px;
            padding: 10px;
        }

        .file-preview-icon {
            font-size: 32px;
            display: block;
            margin-bottom: 10px;
        }

        .file-preview-text {
            display: block;
            color: #666;
            font-size: 14px;
        }

        .file-upload-container {
            position: relative;
        }

        .custom-file-upload {
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .custom-file-upload input[type="file"] {
            display: none;
        }

        .file-upload-btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: #3498db;
            color: white;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: background-color 0.3s ease;
            border: none;
        }

        .file-upload-btn:hover {
            background-color: #2980b9;
        }

        .file-name {
            margin-top: 10px;
            font-size: 14px;
            color: #333;
            word-break: break-all;
            font-weight: 500;
        }

        .file-info {
            margin-top: 8px;
            font-size: 12px;
            color: #999;
        }

        .checkbox-group {
            grid-column: 1 / -1;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            cursor: pointer;
            flex-shrink: 0;
            accent-color: #27ae60;
        }

        .checkbox-group label {
            margin: 0;
            cursor: pointer;
            font-weight: 400;
            font-size: 14px;
        }

        .checkbox-group a {
            color: #3498db;
            text-decoration: none;
        }

        .checkbox-group a:hover {
            text-decoration: underline;
        }

        .submit-btn {
            grid-column: 1 / -1;
            padding: 14px 30px;
            background-color: #27ae60;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .submit-btn:hover {
            background-color: #229954;
            box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
        }

        .submit-btn:active {
            transform: translateY(1px);
        }

        .form-footer {
            grid-column: 1 / -1;
            text-align: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #ddd;
        }

        .form-footer p {
            margin: 0;
            color: #666;
            font-size: 14px;
        }

        .form-footer a {
            color: #3498db;
            text-decoration: none;
            font-weight: 600;
        }

        .form-footer a:hover {
            text-decoration: underline;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .registration-container {
                padding: 20px 15px;
            }

            .form-header h1 {
                font-size: 24px;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .form-group.full-width {
                grid-column: 1;
            }

            .submit-btn {
                padding: 12px 20px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .registration-container {
                padding: 15px 10px;
            }

            .form-header h1 {
                font-size: 20px;
            }

            .form-header p {
                font-size: 14px;
            }

            .checkbox-group {
                flex-direction: column;
            }

            .checkbox-group input[type="checkbox"] {
                margin-top: 0;
            }

            .file-upload-wrapper {
                padding: 15px;
            }
        }
      /*  login form css */
       .login-container {
        max-width: 400px;
        margin: 50px auto;
        padding: 40px 30px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }

    .login-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .login-header h1 {
        font-size: 28px;
        font-weight: 600;
        color: #333;
        margin: 0 0 10px 0;
    }

    .login-header p {
        font-size: 14px;
        color: #666;
        margin: 0;
    }

    .login-error {
        background-color: #fee;
        border: 1px solid #fcc;
        border-radius: 6px;
        padding: 12px 15px;
        margin-bottom: 20px;
        color: #e74c3c;
        font-weight: 500;
        font-size: 14px;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .form-group {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }

    .form-group label {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .form-group input[type="text"],
    .form-group input[type="password"] {
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        font-family: inherit;
        transition: all 0.3s ease;
        background-color: #fff;
    }

    .form-group input[type="text"]:focus,
    .form-group input[type="password"]:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

    .form-group input[type="text"].success,
    .form-group input[type="password"].success {
        border-color: #27ae60;
        background-color: #f0fdf4;
    }

    .form-group input[type="text"].error,
    .form-group input[type="password"].error {
        border-color: #e74c3c;
        background-color: #fef2f2;
    }

    .error-message,
    .success-message {
        font-size: 12px;
        margin-top: 5px;
        display: none;
        font-weight: 500;
    }

    .error-message {
        color: #e74c3c;
    }

    .success-message {
        color: #27ae60;
    }

    .error-message.show,
    .success-message.show {
        display: block;
        animation: slideIn 0.2s ease;
    }

    .form-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px 0;
        font-size: 14px;
    }

    .remember-label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-weight: 400;
        color: #333;
    }

    .remember-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 8px;
        cursor: pointer;
        accent-color: #27ae60;
        flex-shrink: 0;
    }

    .form-footer a {
        color: #3498db;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .form-footer a:hover {
        color: #2980b9;
        text-decoration: underline;
    }

    .login-btn {
        width: 100%;
        padding: 12px;
        background-color: #27ae60;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 10px;
    }

    .login-btn:hover {
        background-color: #229954;
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    }

    .login-btn:active {
        transform: translateY(1px);
    }

    .login-btn:disabled {
        background-color: #bdc3c7;
        cursor: not-allowed;
        box-shadow: none;
    }

    .extra-links {
        text-align: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }

    .extra-links span {
        font-size: 14px;
        color: #666;
    }

    .extra-links a {
        color: #3498db;
        text-decoration: none;
        font-weight: 600;
    }

    .extra-links a:hover {
        text-decoration: underline;
    }

    /* Responsive Design */
    @media (max-width: 600px) {
        .login-container {
            margin: 30px 15px;
            padding: 30px 20px;
        }

        .login-header h1 {
            font-size: 24px;
        }

        .login-header p {
            font-size: 13px;
        }

        .form-footer {
            flex-direction: column;
            gap: 10px;
        }

        .remember-label {
            margin-bottom: 10px;
        }

        .form-footer a {
            width: 100%;
            text-align: center;
        }
    }

    @media (max-width: 480px) {
        .login-container {
            margin: 20px 10px;
            padding: 20px 15px;
        }

        .login-header h1 {
            font-size: 22px;
        }

        .form-group input[type="text"],
        .form-group input[type="password"] {
            padding: 10px;
            font-size: 16px;
        }

        .login-btn {
            padding: 10px;
            font-size: 14px;
        }
    }

      .forget-password-container {
        max-width: 450px;
        margin: 50px auto;
        padding: 40px 30px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }

    .forget-password-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .forget-password-header h1 {
        font-size: 28px;
        font-weight: 600;
        color: #333;
        margin: 0 0 10px 0;
    }

    .forget-password-header p {
        font-size: 14px;
        color: #666;
        margin: 0;
        line-height: 1.5;
    }

    .forget-password-success {
        background-color: #f0fdf4;
        border: 1px solid #bbf7d0;
        border-radius: 6px;
        padding: 12px 15px;
        margin-bottom: 20px;
        color: #27ae60;
        font-weight: 500;
        font-size: 14px;
        animation: slideIn 0.3s ease;
    }

    .forget-password-error {
        background-color: #fee;
        border: 1px solid #fcc;
        border-radius: 6px;
        padding: 12px 15px;
        margin-bottom: 20px;
        color: #e74c3c;
        font-weight: 500;
        font-size: 14px;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .form-group {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }

    .form-group label {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .form-group input[type="email"] {
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        font-family: inherit;
        transition: all 0.3s ease;
        background-color: #fff;
    }

    .form-group input[type="email"]:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

    .form-group input[type="email"].success {
        border-color: #27ae60;
        background-color: #f0fdf4;
    }

    .form-group input[type="email"].error {
        border-color: #e74c3c;
        background-color: #fef2f2;
    }

    .error-message,
    .success-message {
        font-size: 12px;
        margin-top: 5px;
        display: none;
        font-weight: 500;
    }

    .error-message {
        color: #e74c3c;
    }

    .success-message {
        color: #27ae60;
    }

    .error-message.show,
    .success-message.show {
        display: block;
        animation: slideIn 0.2s ease;
    }

    .loading .spinner {
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-left: 10px;
        vertical-align: middle;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .form-info {
        background-color: #e8f4f8;
        border-left: 4px solid #3498db;
        border-radius: 4px;
        padding: 12px 15px;
        margin-bottom: 20px;
    }

    .form-info p {
        font-size: 13px;
        color: #2c3e50;
        margin: 0;
        line-height: 1.6;
    }

    .reset-btn {
        width: 100%;
        padding: 12px;
        background-color: #3498db;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 10px;
    }

    .reset-btn:hover {
        background-color: #2980b9;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

    .reset-btn:active {
        transform: translateY(1px);
    }

    .reset-btn:disabled {
        background-color: #bdc3c7;
        cursor: not-allowed;
        box-shadow: none;
    }

    .form-footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }

    .form-footer-links span {
        font-size: 14px;
        color: #666;
    }

    .form-footer-links a {
        color: #3498db;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .form-footer-links a:hover {
        color: #2980b9;
        text-decoration: underline;
    }

    .back-links {
        text-align: center;
        margin-top: 15px;
    }

    .back-links a {
        color: #666;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
        font-size: 13px;
    }

    .back-links a:hover {
        color: #3498db;
    }

    /* Responsive Design */
    @media (max-width: 600px) {
        .forget-password-container {
            margin: 30px 15px;
            padding: 30px 20px;
        }

        .forget-password-header h1 {
            font-size: 24px;
        }

        .forget-password-header p {
            font-size: 13px;
        }

        .form-footer-links {
            gap: 12px;
        }
    }

    @media (max-width: 480px) {
        .forget-password-container {
            margin: 20px 10px;
            padding: 20px 15px;
        }

        .forget-password-header h1 {
            font-size: 22px;
        }

        .forget-password-header p {
            font-size: 12px;
        }

        .form-group input[type="email"] {
            padding: 10px;
            font-size: 16px;
        }

        .reset-btn {
            padding: 10px;
            font-size: 14px;
        }

        .form-info p {
            font-size: 12px;
        }

        .form-footer-links span {
            font-size: 12px;
        }
    }
      .spinner {
        display: none;
        width: 16px;
        height: 16px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-left: 10px;
    }

    .login-btn.loading .spinner {
        display: inline-block;
    }

    .login-btn.loading .btn-text {
        display: none;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .login-success {
        background-color: #d4edda;
        color: #155724;
        padding: 12px;
        border-radius: 4px;
        margin-bottom: 15px;
        border: 1px solid #c3e6cb;
        animation: slideDown 0.3s ease-out;
    }

    .login-error-message {
        background-color: #f8d7da;
        color: #721c24;
        padding: 12px;
        border-radius: 4px;
        margin-bottom: 15px;
        border: 1px solid #f5c6cb;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }