/* =====================================================
   ZEUDIN GROUP - CALCULADORA SOLAR
   Diseño Profesional y Limpio
   ===================================================== */

:root {
    /* Colores principales - Tonos claros y profesionales */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    
    /* Estados */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0ea5e9;
    
    /* Fondos */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-input: #f1f5f9;
    --bg-hover: #e2e8f0;
    
    /* Textos */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    
    /* Bordes */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    /* Espaciados */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}


/* =====================================
   BLOQUEO DE SCROLL HORIZONTAL
===================================== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}


/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.header-version {
    background: var(--bg-input);
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */
.main-content {
    padding: 32px 24px;
    min-height: calc(100vh - 180px);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* =====================================================
   MODE SELECTOR
   ===================================================== */
.mode-selector {
    margin-bottom: 32px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
}

.mode-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.mode-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.mode-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.02));
}

.mode-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-input);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
}

.mode-card.active .mode-icon {
    background: var(--primary);
    color: white;
}

.mode-icon svg {
    width: 28px;
    height: 28px;
}

.mode-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.mode-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.card-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.subsection-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* =====================================================
   FORMS
   ===================================================== */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 12px;
}

.btn-text:hover {
    color: var(--danger);
}

.btn-export {
    background: var(--success);
    color: white;
    padding: 14px 28px;
    font-weight: 600;
}

.btn-export:hover {
    background: #059669;
}

.btn-group {
    display: flex;
    align-items: flex-end;
}

/* =====================================================
   TIME PRESETS
   ===================================================== */
.time-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.time-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.time-btn:hover {
    border-color: var(--primary-light);
}

.time-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: white;
}

.time-icon {
    font-size: 1.25rem;
}

.time-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.time-hours {
    font-size: 0.75rem;
    opacity: 0.8;
}

.custom-time {
    background: var(--bg-input);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.time-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-input);
    border-radius: var(--radius);
}

.time-summary-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.time-summary-value {
    font-weight: 600;
    color: var(--primary);
}

/* =====================================================
   PRESETS GRID
   ===================================================== */
.presets-section {
    margin-bottom: 24px;
}

.preset-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.category-btn {
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-btn:hover {
    border-color: var(--primary-light);
}

.category-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.preset-item {
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-item:hover {
    border-color: var(--primary);
    background: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.preset-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.preset-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.preset-power {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* =====================================================
   MANUAL ADD
   ===================================================== */
.manual-add {
    padding: 20px;
    background: var(--bg-input);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

/* =====================================================
   EQUIPMENT LIST
   ===================================================== */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.equipment-table-container {
    overflow-x: auto;
}

.equipment-table {
    width: 100%;
    border-collapse: collapse;
}

.equipment-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.equipment-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.equipment-table tr:hover {
    background: var(--bg-input);
}

.equip-name {
    font-weight: 500;
}

.equip-type {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.power-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.power-tag.nominal {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.power-tag.surge {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.equip-actions {
    display: flex;
    gap: 4px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.action-btn.edit {
    background: var(--bg-input);
    color: var(--text-secondary);
}

.action-btn.edit:hover {
    background: var(--primary);
    color: white;
}

.action-btn.delete {
    background: var(--bg-input);
    color: var(--text-secondary);
}

.action-btn.delete:hover {
    background: var(--danger);
    color: white;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-weight: 500;
    margin-bottom: 4px;
}

.empty-state span {
    font-size: 0.85rem;
}

/* =====================================================
   RESULTS
   ===================================================== */
.results-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.result-item {
    text-align: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.result-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
}

.result-value.highlight-red {
    color: var(--danger);
}

.result-value.highlight-blue {
    color: var(--primary);
}

.results-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* =====================================================
   RECOMMENDATIONS
   ===================================================== */
.recommendations-card {
    border: 2px solid var(--primary);
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.recommendation-box {
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.recommendation-box.inverter {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.02));
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.recommendation-box.battery {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.recommendation-box.solar {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.rec-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rec-header svg {
    width: 20px;
    height: 20px;
}

.recommendation-box.inverter .rec-header { color: var(--danger); }
.recommendation-box.battery .rec-header { color: var(--primary); }
.recommendation-box.solar .rec-header { color: var(--warning); }

.rec-header span {
    font-size: 0.85rem;
    font-weight: 600;
}

.rec-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.recommendation-box.inverter .rec-value { color: var(--danger); }
.recommendation-box.battery .rec-value { color: var(--primary); }
.recommendation-box.solar .rec-value { color: var(--warning); }

.rec-detail {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* System Analysis (Mode: System) */
.system-analysis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.analysis-item {
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}

.analysis-item.available { background: rgba(16, 185, 129, 0.1); }
.analysis-item.used { background: rgba(37, 99, 235, 0.1); }
.analysis-item.remaining { background: rgba(245, 158, 11, 0.1); }
.analysis-item.autonomy { background: rgba(139, 92, 246, 0.1); }

.analysis-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.analysis-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.analysis-item.available .analysis-value { color: var(--success); }
.analysis-item.used .analysis-value { color: var(--primary); }
.analysis-item.remaining .analysis-value { color: var(--warning); }
.analysis-item.autonomy .analysis-value { color: #8b5cf6; }

.capacity-bar {
    height: 32px;
    background: var(--bg-input);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--primary));
    transition: width 0.5s ease;
}

.capacity-fill.warning { background: linear-gradient(90deg, var(--warning), var(--danger)); }
.capacity-fill.danger { background: var(--danger); }

.capacity-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.system-status {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.system-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.system-status.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.system-status.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* AI Recommendation */
.ai-recommendation {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius);
    padding: 16px;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.ai-header svg {
    width: 18px;
    height: 18px;
}

#aiRecommendationText {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================================================
   COLLAPSIBLE
   ===================================================== */
.collapsible .card-content-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapsible.open .card-content-collapsible {
    max-height: 500px;
}

.card-header-collapsible {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.card-header-collapsible .card-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.collapse-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.collapsible.open .collapse-icon {
    transform: rotate(180deg);
}

/* =====================================================
   EXPORT SECTION
   ===================================================== */
.export-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--text-primary);
    color: var(--bg-body);
    padding: 32px 24px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 12px;
}

.footer-brand strong {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.footer-brand span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-info {
    margin-bottom: 16px;
}

.footer-info span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 4px;
}

.footer-version {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* =====================================================
   CLIENT SECTION
   ===================================================== */
.client-section {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-input));
}

/* =====================================================
   SYSTEM SUMMARY
   ===================================================== */
.system-summary {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-input);
    border-radius: var(--radius);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
    }
    
    .main-content {
        padding: 20px 16px;
    }
    
    .mode-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .time-presets {
        flex-direction: column;
    }
    
    .time-btn {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
    }
    
    .presets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
    
    .export-section {
        flex-direction: column;
    }
    
    .btn-export {
        width: 100%;
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .header,
    .mode-selector,
    .presets-section,
    .manual-add,
    .export-section,
    .footer,
    .collapsible,
    .btn,
    .action-btn {
        display: none !important;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* ================================
   ZEUDIN TOAST (SweetAlert2)
================================ */
.zeudin-toast {
  border-radius: 12px !important;
  padding: 12px 14px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.zeudin-toast .swal2-title {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #0f172a !important; /* slate-900 */
  margin: 0 !important;
}

.zeudin-toast .swal2-icon {
  margin: 0 10px 0 0 !important;
}

.zeudin-toast .swal2-html-container {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: #475569 !important; /* slate-600 */
}

.zeudin-toast .swal2-timer-progress-bar {
  background: #0d47a1 !important; /* azul ZeuDin */
}


/* ================================
   ZEUDIN TOAST – MODERN SLIDE (VISIBLE)
   Entra: derecha → centro
   Sale: centro → derecha
================================ */

/* 🔴 Anula animación interna de SweetAlert */
.swal2-show,
.swal2-hide,
.swal2-toast {
  animation: none !important;
}

/* Mejor rendimiento visual */
.zeudin-toast {
  will-change: transform, opacity;
}

/* Entrada (con micro-overshoot moderno) */
@keyframes zeudin-toast-in {
  0%   { transform: translateX(130%); opacity: 0; }
  70%  { transform: translateX(-6%);  opacity: 1; }
  100% { transform: translateX(0);    opacity: 1; }
}

/* Salida */
@keyframes zeudin-toast-out {
  0%   { transform: translateX(0);    opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}

/* ✅ Forzamos que SIEMPRE se vea la animación */
.swal2-popup.zeudin-toast.zeudin-toast-show {
  animation: zeudin-toast-in 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.swal2-popup.zeudin-toast.zeudin-toast-hide {
  animation: zeudin-toast-out 0.26s cubic-bezier(0.4, 0, 1, 1) !important;
}

/* ================================
   BATTERY TOAST STACK
================================ */
.zeudin-battery-toast {
  margin-top: 8px !important;
}
