/* =========================================================
   REMINDER PAGE — LAYOUT, HERO, NAV
   ========================================================= */

/* Basic page layout */
body {
    background: #f5f4f2;
    color: #222;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Hero header */
#hero-header {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1.5rem auto 1rem auto;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0e7da, #e3d6c4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.hero-image-overlay {
    position: relative;
    padding: 2.5rem 2.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.hero-text h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: #2b2620;
}

.hero-sub {
    margin: 0;
    max-width: 420px;
    color: #5b5247;
    font-size: 0.98rem;
}
/* Sticky notes cluster */
.sticky-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 260px;
    justify-content: flex-end;
}

.sticky {
    background: #fffbe6;
    border-radius: 8px;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    color: #5a4b2f;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transform: rotate(-2deg);
}

/* Slight variation for visual interest */
.sticky:nth-child(2n) {
    background: #fdf0e6;
    transform: rotate(1.5deg);
}

/* Nav strip */
#reminder-nav {
    max-width: 1200px;
    margin: 0 auto 1.25rem auto;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}
.nav-left {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: #5b5247;
    cursor: pointer;
}

.nav-btn.active {
    background: #2f6f6f;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.nav-btn:hover:not(.active) {
    background: #f0ece7;
}

.nav-right {
    display: flex;
    gap: 0.4rem;
}

.icon-btn {
    border: none;
    background: #f3f0eb;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    cursor: pointer;
    font-size: 0.95rem;
}
.icon-btn:hover {
    background: #e4ddd4;
}

/* Main layout: sidebar + content */
#reminder-layout {
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.75rem;
}



/* Sidebar */

.sidebar-section h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #4a4137;
}

#left-menu {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* MATCH INDEX SIDEBAR CONTAINER */
#left-menu {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.side-link {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: #f6f3ee;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    color: #5b5247;
    cursor: pointer;
}

.side-link:hover {
    background: #e9e2d8;
}

/* Main content area */
#main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reminder-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem 1.4rem 1.5rem 1.4rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.reminder-section h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #2f2a24;
}

.section-desc {
    margin: 0 0 0.9rem 0;
    font-size: 0.9rem;
    color: #6a6156;
}

/* =========================================================
   PEOPLE GRID + CARDS + PRE-CART + UPCOMING LIST
   ========================================================= */

/* People grid layout */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-top: 0.75rem;
}

/* Base card style */
.reminder-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.reminder-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

/* Notification light */
.notification-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    right: 12px;
}

.notification-light.green {
    background: #3fa76f;
}

.notification-light.red {
    background: #d46a6a;
}

/* Card title */
.reminder-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2f2a24;
    margin-bottom: 0.25rem;
}

/* Field labels */
.reminder-field-label {
    font-size: 0.75rem;
    color: #7a7167;
    margin-top: 0.35rem;
}

.reminder-field-value {
    font-size: 0.88rem;
    color: #3b352f;
}

/* Fine print */
.reminder-fine-print {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    width: fit-content;
}

.reminder-fine-print.on {
    background: #e3f6ea;
    color: #2f6f4a;
}

.reminder-fine-print.off {
    background: #f7e6e6;
    color: #8a4a4a;
}

/* Card actions */
.reminder-actions {
    margin-top: 0.6rem;
    display: flex;
    gap: 0.5rem;
}

.reminder-actions button {
    flex: 1;
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.edit-btn {
    background: #e8f0f0;
    color: #2f6f6f;
}

.edit-btn:hover {
    background: #d7e7e7;
}

.delete-btn {
    background: #f4e2e2;
    color: #a44a4a;
}

.delete-btn:hover {
    background: #e9d0d0;
}

/* =========================================================
   ADD SOMEONE TILE
   ========================================================= */

.add-card {
    background: #f8f6f3;
    border: 2px dashed #c7bfb5;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.add-card:hover {
    background: #f1ede8;
    border-color: #b3aaa1;
}

.add-card-icon {
    font-size: 2.2rem;
    color: #8a8178;
    font-weight: 300;
}

/* =========================================================
   UPCOMING REMINDERS LIST
   ========================================================= */

.event-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-item {
    background: #faf8f5;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.event-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #3b352f;
}

.event-date {
    font-size: 0.85rem;
    color: #6a6156;
    margin-top: 0.15rem;
}

/* =========================================================
   PRE-CART GRID (Future Expansion)
   ========================================================= */

.saved-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.saved-item-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 0.75rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

/* =========================================================
   MODAL (Add Person)
   ========================================================= */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal {
    border: none;
    padding: 0;
    border-radius: 18px;
    width: 380px;
    max-width: 90%;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #ffffff;
    padding: 1.5rem 1.75rem;
    border-radius: 18px;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #2f2a24;
}

.modal-content label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #6a6156;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1px solid #d8d2cb;
    background: #faf9f7;
    font-size: 0.9rem;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #2f6f6f;
    background: #ffffff;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.modal-buttons button {
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    cursor: pointer;
}

#cancelAddPerson {
    background: #f0ece7;
    color: #6a6156;
}

#cancelAddPerson:hover {
    background: #e4ddd4;
}

.save-btn {
    background: #2f6f6f;
    color: #ffffff;
}

.save-btn:hover {
    background: #275d5d;
}

/* =========================================================
   EDIT MODE (Inside Cards)
   ========================================================= */

.reminder-edit label {
    font-size: 0.8rem;
    color: #6a6156;
    margin-top: 0.5rem;
}

.reminder-edit input,
.reminder-edit textarea,
.reminder-edit select {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #d8d2cb;
    background: #faf9f7;
    font-size: 0.88rem;
}

/* Checkbox alignment */
.reminder-edit .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reminder-edit .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.75rem;
}

.reminder-edit input:focus,
.reminder-edit textarea:focus,
.reminder-edit select:focus {
    outline: none;
    border-color: #2f6f6f;
    background: #ffffff;
}

.reminder-edit .reminder-actions {
    margin-top: 1rem;
}
/* =========================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================================================= */

/* Smooth fade-in for sections */
.reminder-section {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Add card pulse */
.add-card {
    animation: softPulse 2.8s infinite ease-in-out;
}

@keyframes softPulse {
    0% { box-shadow: 0 0 0 rgba(0,0,0,0); }
    50% { box-shadow: 0 0 18px rgba(0,0,0,0.06); }
    100% { box-shadow: 0 0 0 rgba(0,0,0,0); }
}

/* Updated card flash */
.flash-update {
    animation: flashPulse 1.2s ease;
}

@keyframes flashPulse {
    0% { background-color: #fff7d1; }
    100% { background-color: white; }
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 900px) {
    #reminder-layout {
        grid-template-columns: 1fr;
    }

    #left-sidebar {
        order: 2;
    }

    #main-content {
        order: 1;
    }

    .hero-image-overlay {
        flex-direction: column;
        align-items: flex-start;
    }

    .sticky-notes {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .people-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    #reminder-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-left {
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* =========================================================
   PRE‑CART PREVIEW INSIDE PERSON CARD
   ========================================================= */

.precart-preview {
    margin-top: 0.75rem;
}

.precart-title {
    font-size: 0.8rem;
    color: #6a6156;
    margin-bottom: 0.35rem;
}

.precart-chip {
    background: #faf8f5;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #3b352f;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    display: inline-block;
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
}

/* =========================================================
 FULL PRE‑CART GRID
 ========================================================= */

.precart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.precart-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.precart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.08);
}

.precart-image {
    width: 100%;
    height: 140px;
    background: #f3f0eb;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}
.precart-title-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2f2a24;
}

.precart-price {
    font-size: 0.85rem;
    color: #6a6156;
}

.precart-tag {
    background: #e8f0f0;
    color: #2f6f6f;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    width: fit-content;
}

.precart-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.precart-actions button {
    flex: 1;
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    cursor: pointer;
}
.precart-move-btn {
    background: #f0ece7;
    color: #6a6156;
}

.precart-buy-btn {
    background: #2f6f6f;
    color: #ffffff;
}


#reminder-nav .nav-btn.active {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

#reminder-nav {
    margin-bottom: 1.25rem;
}
#reminder-nav {
    margin-bottom: 1.25rem;
}

#billboard-categories {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pill-tab {
    padding: 8px 16px;
    background: #f2f2f2;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.pill-tab:hover {
    background: #e5e5e5;
}

.pill-tab.active {
    background: #0078ff;
    color: white;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
/* 
   ⚠️ WARNING ⚠️
   This CSS is emotionally stable.
   Do not poke it.
   Do not question it.
   Do not try to understand it.
   Just let it live.
*/
#reminder-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#billboard-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* 
   🚫 DO NOT TOUCH 🚫
   This rule is stable.
   It has achieved inner peace.
   It is centered. Literally.
   Any attempt to modify it
   will unleash layout chaos,
   existential dread, and
   at least 3 hours of debugging.
*/
#reminder-nav {
    display: flex;
    justify-content: center;
}

#billboard-stage {
    margin-bottom: -120px !important;
}

#billboard-categories {
    margin-top: -90px !important;
    position: relative;
    z-index: 9999 !important;
}
@media (max-width: 700px) {
    #billboard-stage {
        margin-bottom: 0 !important;
    }

    #billboard-categories {
        margin-top: 0 !important;
        z-index: 9999 !important; /* keep it clickable */
    }
}
/* Headings */
.bottom-trust-section h3,
.bottom-trust-section h4 {
    color: #000 !important;
    border: none !important;
    margin-bottom: 10px !important;
}

/* Text */
.bottom-trust-section p {
    color: #333 !important;
}

/* Links */
.bottom-trust-section a {
    color: #000 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.bottom-trust-section a:hover {
    text-decoration: underline !important;
}

/* Remove all <hr> lines */
.bottom-trust-section hr {
    display: none !important;
}
/* =============================== */
/* FULL-WIDTH HORIZONTAL FOOTER    */
/* =============================== */

.bottom-trust-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 60px !important;

    background: #ffffff !important;  /* white */
    color: #000000 !important;       /* black */

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 60px !important;
}

/* Make each section inside footer behave like columns */
.bottom-trust-section > * {
    flex: 1 !important;
}

/* Headings */
.bottom-trust-section h3,
.bottom-trust-section h4 {
    color: #000 !important;
    border: none !important;
    margin-bottom: 10px !important;
}

/* Text */
.bottom-trust-section p {
    color: #333 !important;
}

/* Links */
.bottom-trust-section a {
    color: #000 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.bottom-trust-section a:hover {
    text-decoration: underline !important;
}

/* Remove all <hr> lines */
.bottom-trust-section hr {
    display: none !important;
}
/* ============================
   Support & Policies (Cleaned)
   ============================ */

/* Wrapper */
.bottom-trust-section {
    width: 100% !important;
    margin-top: 48px !important;
    padding: 40px 60px !important;
    background: #ffffff !important;
    color: #000 !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* FINAL OVERRIDE — MATCH INDEX CONTOUR BLOCK */
.bottom-trust-section {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 32px 40px;

    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e7e3df !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 40px !important;
}

/* Columns */
.bottom-trust-section .trust-col {
    flex: 1 1 240px !important;
    min-width: 240px !important;
    overflow-wrap: break-word !important;
}

/* Group Title */
.mega-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Group Description */
.mega-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

/* Column Titles */
.mega-col h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

/* Links */
.mega-col a {
    display: block;
    font-size: 14px;
    color: #222;
    padding: 3px 0;
}

/* Optional: subtle background tint per group */
.mega-group {
    background: rgba(255, 255, 255, 0.85);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
/* Base group styling */
.mega-group {
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Travel Gear */
.mega-group:nth-child(1) {
    background: rgba(0, 120, 255, 0.06); /* soft blue */
}

/* Travel Tech */
.mega-group:nth-child(2) {
    background: rgba(0, 200, 180, 0.06); /* soft teal */
}

/* Family Travel */
.mega-group:nth-child(3) {
    background: rgba(255, 220, 0, 0.08); /* soft yellow */
}

/* Resort Wear */
.mega-group:nth-child(4) {
    background: rgba(255, 150, 80, 0.07); /* soft peach */
}

/* Relaxing */
.mega-group:nth-child(5) {
    background: rgba(180, 120, 255, 0.07); /* soft lavender */
}
.mega-title {
    font-size: 20px;
    font-weight: 800; /* stronger bold */
    color: #1a1a1a;
    margin-bottom: 4px;
}
.mega-col h3 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.mega-col a {
    display: block;
    font-size: 14px;
    color: #111;
    padding: 3px 0;
    font-weight: 500;
}

