/* ===================================================
   guests.css — Guest list page styles
   Requires: global.css
   =================================================== */

.back-btn {
    font-size: 20px;
    color: var(--text-main);
    text-decoration: none;
}

/* Scrollable filter chips */
.filter-container {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.filter-container::-webkit-scrollbar { display: none; }

.filter-chip {
    padding: 8px 18px;
    background-color: var(--card-bg);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid #eee;
    cursor: pointer;
    transition: 0.3s;
}

.filter-chip.active {
    background-color: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

/* Guest cards */
.guest-list { padding: 0 20px; }

.guest-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.08);
}

.guest-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.guest-info p  { font-size: 12px; color: var(--text-muted); }

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
}

/* Floating action button */
.fab {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 56px;
    height: 56px;
    background-color: var(--primary-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    z-index: 200;
}

/* Add-guest bottom sheet modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: flex-end;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 480px;
    padding: 30px 20px 40px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.modal-content h2 { font-size: 18px; margin-bottom: 20px; }

.btn-save {
    width: 100%;
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
}

/* ─── WhatsApp share button ─────────────────────────────────────────────── */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.45);
}
