/* PWA Install Button Styles */
.pwa-install-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1100;
    display: block !important;
}

.install-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    border-radius: 60px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
}

.install-btn:hover {
    transform: scale(1.03);
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    box-shadow: 0 12px 22px rgba(79, 70, 229, 0.4);
}

/* Sticky Note Widget - Compact Version */
.sticky-note-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 240px;
    background: #ffefb9;
    background: linear-gradient(145deg, #fff3cd, #ffe6a3);
    border-radius: 16px 16px 16px 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.2s ease;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255,215,120,0.8);
}

.sticky-note-widget::before {
    content: "📌";
    position: absolute;
    top: -14px;
    left: 16px;
    font-size: 24px;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.15));
    transform: rotate(-15deg);
    z-index: 1002;
}

.sticky-inner {
    padding: 16px 14px 14px 14px;
    position: relative;
}

.conf-date-badge {
    background: rgba(99,102,241,0.15);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.sticky-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #2d2a1e;
    margin: 6px 0 4px 0;
    letter-spacing: -0.3px;
}

.days-remaining {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #b45309, #dc7a2c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    margin: 4px 0 2px;
}

.days-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b4c1a;
    letter-spacing: 1px;
}

.event-date-range {
    font-size: 0.7rem;
    color: #5a4a2a;
    border-top: 1px dashed rgba(0,0,0,0.1);
    margin-top: 8px;
    padding-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.close-sticky {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    color: #5a3e1b;
    transition: all 0.2s;
    font-weight: bold;
}

.close-sticky:hover {
    background: rgba(0,0,0,0.3);
    color: white;
}

/* iOS Install Banner */
.ios-install-banner {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 20px;
    right: 20px;
    background: #1e293b;
    border-radius: 20px;
    padding: 14px 18px;
    z-index: 1200;
    color: white;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 1px solid #475569;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ios-install-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    flex-wrap: wrap;
    gap: 12px;
}

.ios-install-text h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
}

.ios-install-text p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.ios-install-steps {
    display: flex;
    gap: 16px;
}

.step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.close-ios-banner {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .sticky-note-widget {
        width: 200px;
        bottom: 80px;
        right: 12px;
    }
    .install-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .pwa-install-container {
        bottom: 16px;
        left: 16px;
    }
    .ios-install-banner {
        bottom: 80px;
        left: 12px;
        right: 12px;
    }
}