@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
}

main > div {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ESTILOS PARA MODALES --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 28rem; /* default max-width */
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 2rem);
}

.modal-content .overflow-y-auto {
    flex-shrink: 1;
}

.modal-overlay.hidden {
    display: none;
}

.pwa-panel {
    margin-top: 25px;
    padding: 18px;
    background: #f1f5f9; /* gris suave */
    border-radius: 12px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.pwa-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 12px;
}

.pwa-help-icon {
    cursor: pointer;
    color: #64748b;
    font-size: 1.1rem;
}

.pwa-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pwa-btn {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.pwa-install-btn {
    background-color: #0284c7;
    color: white;
}
.pwa-install-btn:hover {
    background-color: #0369a1;
}

.pwa-browser-btn {
    background-color: #e2e8f0;
    color: #334155;
}
.pwa-browser-btn:hover {
    background-color: #cbd5e1;
}
