/* === INA Simple Form Styles === */

.ina-simple-form-container {
    max-width: 500px;
    margin: 20px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.ina-simple-form-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.ina-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.ina-form-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ina-subtitle {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0;
}

.ina-form-group {
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.ina-form-group.focused {
    transform: scale(1.02);
}

.ina-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 600;
    font-size: 0.95rem;
}

.ina-form-group input[type="text"],
.ina-form-group input[type="number"],
.ina-form-group select,
.ina-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ina-form-group input:focus,
.ina-form-group select:focus,
.ina-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ina-form-group textarea {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.ina-form-group input.error,
.ina-form-group select.error {
    border-color: #e74c3c;
    background: #fdf2f2;
    animation: shake 0.5s ease-in-out;
}

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

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

.char-counter.warning {
    color: #f39c12;
}

.char-counter.danger {
    color: #e74c3c;
    font-weight: bold;
}

.interest-preview {
    background: #e8f5e8;
    color: #27ae60;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 0.9rem;
    border: 1px solid #27ae60;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ina-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.ina-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.ina-btn.pulse {
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.ina-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;
}

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

#ina-message-preview {
    background: #f8f9fa;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#ina-message-preview h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1rem;
}

#ina-message-text {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    color: #34495e;
    font-style: italic;
    border-left: 4px solid #667eea;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ina-simple-form-container {
        margin: 10px;
        padding: 20px;
    }
    
    .ina-form-header h2 {
        font-size: 1.5rem;
    }
    
    .ina-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ina-simple-form-container {
        margin: 5px;
        padding: 15px;
    }
    
    .ina-form-header h2 {
        font-size: 1.3rem;
    }
    
    .ina-subtitle {
        font-size: 0.9rem;
    }
}

/* Estados de validación mejorados */
.ina-form-group input:valid:not(:placeholder-shown),
.ina-form-group select:valid {
    border-color: #27ae60;
    background: #f0f8f0;
}

.ina-form-group input:invalid:not(:placeholder-shown),
.ina-form-group select:invalid {
    border-color: #e74c3c;
    background: #fdf2f2;
}

/* Efectos de loading suaves */
.ina-btn:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

/* Accesibilidad */
.ina-btn:focus,
.ina-form-group input:focus,
.ina-form-group select:focus,
.ina-form-group textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
} 