/* --- Modal PWA: Título Cursiva Elegante --- */
.pwa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.pwa-modal-overlay.hidden {
    display: none !important;
}

.pwa-modal-card {
    background: #fdfbf7;
    border: 1px solid #e0d8c8;
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    padding: 36px 26px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: #2b2b2b;
    animation: modalPopIn 0.35s ease-out;
}

@keyframes modalPopIn {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Título principal en Cursiva Elegante */
.pwa-modal-header h2 {
    margin: 0 0 14px 0;
    font-family: 'Great Vibes', cursive;
    font-size: 2.6rem;
    font-weight: normal;
    color: #2b2b2b;
    line-height: 1.1;
}

.pwa-modal-header p {
    margin: 0 0 28px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.6;
    font-weight: 300;
}

.btn-pwa-install {
    background: #2c3539;
    color: #fdfbf7;
    border: 1px solid #2c3539;
    border-radius: 30px;
    padding: 15px 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(44, 53, 57, 0.2);
}

.btn-pwa-install:hover {
    background: #1a2124;
    border-color: #1a2124;
}

.btn-pwa-install:active {
    transform: scale(0.98);
}

.pwa-ios-guide {
    background-color: #f5f0e6;
    border: 1px solid #e2d7c3;
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    margin-bottom: 20px;
}

.ios-title {
    font-size: 0.82rem;
    font-weight: bold;
    color: #2b2b2b;
    margin: 0 0 8px 0;
}

.pwa-ios-guide ol {
    margin: 0;
    padding-left: 18px;
    font-size: 0.82rem;
    color: #555555;
    line-height: 1.5;
}

.pwa-ios-guide li {
    margin-bottom: 4px;
}

.ios-icon {
    font-size: 0.95rem;
    vertical-align: middle;
}

.pwa-close-text {
    background: none;
    border: none;
    color: #888888;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 20px;
    padding: 6px;
    letter-spacing: 0.5px;
}

.pwa-close-text:hover {
    color: #2b2b2b;
}

.hidden {
    display: none !important;
}
