white/* Additional form-specific styles - complement the inline styles */

/* Form validation states */
.form-group input.error,
.form-group textarea.error {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Loading states for buttons */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Status message animations */#2a2a2a
.status-message {
    animation: slideDown 0.3s ease-out;
}

.status-message.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Verification section enhancements */
.verification-section {
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress bar enhancements */
.progress-fill {
    background: linear-gradient(
        90deg,
        #00B1E2 0%,
        #20BDE8 50%,
        #40C9EE 100%
    );
    box-shadow: 0 2px 4px rgba(0, 177, 226, 0.3);
}

/* Step transition animations */
.form-step {
    transition: all 0.3s ease-in-out;
}

.form-step.active {
    animation: fadeInSlide 0.4s ease-out;
    display: bLock !important;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced focus states */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #00B1E2;
    box-shadow: 0 0 0 3px rgba(0, 177, 226, 0.1);
    transform: translateY(-1px);
}

/* Option card hover enhancements */
.option-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:hover {
    box-shadow: 0 8px 25px rgba(0, 177, 226, 0.15);
}

.option-card.selected {
    box-shadow: 0 8px 25px rgba(0, 177, 226, 0.25);
    transform: translateY(-2px);
}

/* Button hover effects */
.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover:not(:disabled) {
    box-shadow: 0px 15px 25px 0px rgba(0, 0, 0, 0.25) !important;
}

/* Verification code input enhancements */
.verification-code-input {
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #f8fdff, #ffffff);
}

.verification-code-input:focus {
    background: white;
    border-color: #00B1E2 !important;
    box-shadow: 0 0 0 3px rgba(0, 177, 226, 0.2);
    transform: scale(1.02);
}

/* Success screen enhancements */
.success-screen {
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }
    50% {
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon {
    animation: bounce 0.8s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Verified email display enhancement */
.verified-email-display {
    animation: slideInRight 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.verified-email-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s ease-in-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Mobile enhancements */
@media (max-width: 768px) {
    .verification-code-input {
        font-size: 20px !important;
        padding: 15px !important;
    }
    
    .option-cards {
        gap: 15px;
    }
    
    .option-card {
        padding: 20px;
    }
    
    .option-icon {
        font-size: 40px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-group input,
    .form-group textarea {
        border-width: 3px;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .option-card {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}



/* Print styles */
@media print {
    #importivity-native-form {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .btn,
    .progress-bar {
        display: none;
    }
    
    .form-step {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .form-step:not(.active) {
        opacity: 0.5;
    }
}

/* Accessibility improvements */
.btn:focus {
    outline: 3px solid rgba(0, 177, 226, 0.5);
    outline-offset: 2px;
}

.form-group input:invalid {
    box-shadow: none; /* Remove browser default */
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}