/**
 * Estilos del Formulario de Ingresos
 */

/* Header del formulario de ingresos */
.mt-income-form-wrapper .mt-income-header {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.mt-income-header .mt-header-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

/* Secciones del formulario */
.mt-form-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.mt-form-section:last-of-type {
    border-bottom: none;
}

.mt-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #059669;
    display: inline-block;
}

/* Botón de ingreso */
.mt-income-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.mt-income-btn:hover {
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35) !important;
}

/* Upload hint */
.mt-upload-hint {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Modal de confirmación */
.mt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.mt-modal {
    background: #ffffff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mt-modal-header {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.mt-warning-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px 12px 0 0;
}

.mt-modal-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
}

.mt-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #92400e;
}

.mt-modal-body {
    padding: 24px;
}

.mt-warning-text {
    color: #1e293b;
    font-size: 0.95rem;
    margin: 0 0 16px 0;
}

.mt-warning-list {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.mt-warning-list li {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.mt-confirm-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.mt-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.mt-summary-row:last-child {
    border-bottom: none;
}

.mt-summary-row span {
    color: #64748b;
    font-size: 0.85rem;
}

.mt-summary-row strong {
    color: #1e293b;
    font-size: 0.9rem;
}

.mt-modal-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.mt-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.mt-btn-secondary {
    background: #e2e8f0;
    color: #475569;
}

.mt-btn-secondary:hover {
    background: #cbd5e1;
}

.mt-btn-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.mt-btn-success:hover {
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Mensaje de éxito para ingresos */
.mt-success-message.mt-income-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left-color: #059669;
}

.mt-success-message.mt-income-success .mt-success-icon {
    color: #059669;
}