/* Editor Styles */

.form-inputs {
    animation: slideIn 0.3s ease;
}

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

.form-inputs label span {
    font-weight: 600;
    color: #374151;
}

body.dark-mode .form-inputs label span {
    color: #d1d5db;
}

/* Input Validation */
.form-inputs input.error,
.form-inputs textarea.error {
    border-color: #ef4444;
    background: #fef2f2;
}

body.dark-mode .form-inputs input.error,
body.dark-mode .form-inputs textarea.error {
    background: #7f1d1d;
    border-color: #dc2626;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

body.dark-mode .message.success {
    background: #064e3b;
    border-color: #10b981;
    color: #d1fae5;
}

.message.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
}

body.dark-mode .message.error {
    background: #7f1d1d;
    border-color: #dc2626;
    color: #fee2e2;
}

/*Estilos agregados

