/* Premium Forms Stylesheet for IREIS 2026 */
.premium-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.2);
    position: relative;
    overflow: hidden;
}

.premium-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1A120B;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    color: #3D3D3D;
    background-color: #F9F7F2;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.premium-input:focus {
    outline: none;
    border-color: #C5A059;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
    background-color: #ffffff;
}

.premium-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.premium-input.is-valid {
    border-color: #28a745;
}

.premium-btn {
    background: linear-gradient(135deg, #C5A059 0%, #8C6A36 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    display: inline-block;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
    color: #ffffff;
}

.premium-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Mobile optimizations for forms to prevent freezing/locking */
@media (max-width: 768px) {
    .premium-card {
        padding: 25px 15px;
    }
    
    .premium-input {
        /* font-size 16px is critical on mobile to prevent iOS Safari auto-zoom which can feel like "freezing" */
        font-size: 16px; 
        padding: 12px 14px;
    }
    
    .premium-btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    /* Ensure form fields don't overflow or collapse */
    .form-field {
        width: 100%;
        max-width: 100%;
    }
}
