/* Login/Signup Page Custom Styles */

.login-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.login-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    backdrop-filter: blur(20px);
    padding: 70px 60px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 123, 255, 0.05) 100%);
    border-radius: 24px;
    pointer-events: none;
}

.auth-form-wrapper {
    width: 100%;
}

/* Auth Mode Toggle */
.auth-mode-toggle {
    margin-bottom: 50px;
    text-align: center;
}

.auth-mode-toggle .toggle-buttons {
    display: inline-flex;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 20px;
    padding: 6px;
    border: 2px solid rgba(0, 123, 255, 0.1);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.auth-mode-toggle .toggle-buttons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, transparent 50%, rgba(0, 123, 255, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

/* User Type Toggle */
.user-type-toggle {
    margin-bottom: 30px;
}

.toggle-buttons {
    display: flex;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 16px;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.toggle-btn {
    /* flex: 1; */
    padding: 18px 28px;
    border: none;
    background: transparent;
    border-radius: 16px;
    font-weight: 700;
    color: #6c757d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    font-size: 16px;
    letter-spacing: 0.5px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 16px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.toggle-btn.active::before {
    opacity: 1;
    transform: scale(1);
}

.toggle-btn.active {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    z-index: 4;
    position: relative;
}

.toggle-btn.active::before {
    z-index: -1;
    opacity: 1;
}

.toggle-btn:hover:not(.active) {
    background: rgba(0, 123, 255, 0.08);
    color: #007bff;
    transform: translateY(-1px);
}

/* Form Styles */
.login-form,
.signup-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-weight: 500;
    color: #2c3e50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 
        0 0 0 4px rgba(0, 123, 255, 0.15),
        0 8px 30px rgba(0, 123, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #adb5bd;
    font-weight: 400;
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder {
    color: #6c757d;
    transform: translateY(-2px);
}

/* Floating Label Effect */
.form-group.floating-label {
    position: relative;
}

.form-group.floating-label input {
    padding-top: 28px;
    padding-bottom: 12px;
}

.form-group.floating-label label {
    position: absolute;
    top: 18px;
    left: 24px;
    color: #6c757d;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 8px;
    font-weight: 500;
}

.form-group.floating-label input:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label {
    top: 8px;
    font-size: 12px;
    color: #007bff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
}

/* Form Labels */
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

/* Checkbox Styles */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

/* Modern Checkbox Styling - Complete Override */
.form-check-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 24px !important;
    height: 24px !important;
    border: 3px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
}

.form-check-input:checked {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #10b981 !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4) !important;
    transform: scale(1.05) !important;
}

.form-check-input:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.form-check-input:hover {
    border-color: #10b981 !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
    transform: translateY(-2px) !important;
}

.form-check-input:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2) !important;
    border-color: #10b981 !important;
}

.form-check-input:active {
    transform: scale(0.95) !important;
}

.form-check-label {
    font-size: 15px !important;
    color: #374151 !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
    user-select: none !important;
}

.form-check:hover .form-check-label {
    color: #10b981 !important;
}

.form-check-label a {
    color: #007bff;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Form Check Groups */
.form-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
}

.form-check-group .form-check {
    margin-bottom: 0;
}

/* Custom Checkbox Styling for Organization Forms - Now handled by general .form-check-input styles */

.form-check-group .form-check-label {
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    line-height: 1.4;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.form-check-group .form-check:hover .form-check-label {
    color: #007bff;
}

/* Enhanced Organization Form Styling */
.form-check-group .form-check {
    background: rgba(248, 249, 250, 0.5);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.form-check-group .form-check:hover {
    background: rgba(0, 123, 255, 0.05);
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.form-check-group .form-check:has(.form-check-input:checked) {
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* Radio Groups */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-group .form-check {
    margin-bottom: 0;
}

/* Modern Radio Button Styling - Complete Override */
.radio-group .form-check-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 24px !important;
    height: 24px !important;
    border: 3px solid #d1d5db !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
}

.radio-group .form-check-input:checked {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #10b981 !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4) !important;
    transform: scale(1.05) !important;
}

.radio-group .form-check-input:checked::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 10px !important;
    height: 10px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.radio-group .form-check-input:hover {
    border-color: #10b981 !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
    transform: translateY(-2px) !important;
}

.radio-group .form-check-input:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2) !important;
    border-color: #10b981 !important;
}

.radio-group .form-check-input:active {
    transform: scale(0.95) !important;
}

/* Auth Switch Links */
.auth-switch {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-switch-text {
    color: #6c757d;
    font-size: 15px;
    margin: 0;
}

.auth-switch-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-switch-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Button Styles */
.theme-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 18px 35px;
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    letter-spacing: 0.5px;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.theme-btn:hover::before {
    left: 100%;
}

.theme-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}

.theme-btn:active {
    transform: translateY(-1px);
}

.theme-btn.w-100 {
    width: 100%;
    padding: 20px 35px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Forgot Password Link */
.forgot-password {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Section Title Styles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #007bff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.section-title h2 {
    color: #2c3e50;
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #2c3e50 0%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: #6c757d;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Modern Decorative Elements */
.login-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Enhanced Visual Effects */
.form-group input:focus {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 
        0 0 0 4px rgba(0, 123, 255, 0.15),
        0 10px 30px rgba(0, 123, 255, 0.1);
}

/* Modern Card Enhancements */
.login-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 123, 255, 0.05) 100%);
    border-radius: 24px;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .login-wrapper {
        margin: 20px;
        padding: 60px 50px;
        max-width: 600px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .login-section {
        padding: 50px 0;
        background-attachment: scroll;
    }
    
    .login-wrapper {
        padding: 50px 30px;
        margin: 15px;
        max-width: 500px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .toggle-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .toggle-btn {
        margin-bottom: 5px;
        width: 100%;
    }
    
    .form-group input {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .theme-btn.w-100 {
        padding: 18px 30px;
        font-size: 16px;
    }
    
    .form-check-input {
        width: 18px;
        height: 18px;
    }
    
    .form-check-label {
        font-size: 14px;
    }
    
    .form-check-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-check-group .form-check-input {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
    
    .form-check-group .form-check-input:checked::after {
        font-size: 12px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Progressive Signup Styles */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 20%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step.active .step-number {
    background: #007bff;
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step.completed .step-label {
    color: #28a745;
}

/* Step Content */
.signup-step {
    display: none;
}

.signup-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-content {
    margin-bottom: 30px;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.step-description {
    color: #6c757d;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Account Type Cards */
.account-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.account-type-card {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

.account-type-card:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.account-type-card.active {
    border-color: #007bff;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.account-type-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.account-type-card p {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 14px;
}

.account-type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.account-type-card li {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.account-type-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Select Styling */
select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Password Strength */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-bar.weak {
    background: #dc3545;
}

.strength-bar.medium {
    background: #ffc107;
}

.strength-bar.strong {
    background: #28a745;
}

.strength-text {
    font-size: 12px;
    color: #6c757d;
}

/* Review Summary */
.review-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.review-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.review-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-section h4 {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.review-section p {
    color: #6c757d;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Responsive Design for Progressive Signup */
@media (max-width: 767px) {
    .account-type-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
    }
    
    .step-number {
        margin-right: 10px;
        margin-bottom: 0;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
}

/* Animation Enhancements */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* Form Validation Styles */
.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Loading State */
.theme-btn.loading {
    position: relative;
    color: transparent;
}

.theme-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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