/**
 * Estilos del formulario frontend
 */

.ilc-form-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 0;
}

.ilc-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ilc-form-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.ilc-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.ilc-form-group .required {
    color: #e74c3c;
    margin-left: 2px;
}

.ilc-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

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

.ilc-field-note {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.ilc-form-messages {
    margin: 20px 0;
}

.ilc-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.ilc-message.ilc-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ilc-message.ilc-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ilc-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ilc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.ilc-submit-btn:active {
    transform: translateY(0);
}

.ilc-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ilc-btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ilc-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: ilc-spin 0.8s linear infinite;
}

@keyframes ilc-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 600px) {
    .ilc-form-container {
        margin: 20px auto;
    }
    
    .ilc-form {
        padding: 30px 20px;
    }
    
    .ilc-form-title {
        font-size: 24px;
    }
}
