body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: black;
    color: white;
    min-height: 100vh;
}


.day_container {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    max-width: 95vw;
}

.dark {
    background-color: black;
    color: white;
}

.day {
    flex: 1 1 100%;
    padding: 20px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.day h2 {
    margin-top: 0;
}

.section {
    margin-bottom: 20px;
}

.section h3 {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .day {
        flex: 1 1 13.28%; /* 100% / 7 days */
    }
}

ol {
    list-style: none;
}

.profile_img {
    border-radius: 100%;
    max-width: 400px;
    max-height: 800px;
}

.profile {
    display: inline-block; /* shrink-wrap around image + text */
    text-align: center; /* center text under image */
}

:root {
    --bg: #fbfbfb;
    --card: #ffffff;
    --accent: #6b5b95;
    --muted: #6b7280;
    --glass: rgba(255, 255, 255, 0.6);
    --shadow: 0 6px 24px rgba(12, 18, 25, 0.08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}


.wrapper {
    max-width: 1080px;
    margin: 32px auto;
    padding: 20px;
    background-color: black;
}


.card {
    background: var(--card);
    border-radius: 12px;
    padding: 22px;
    display: grid;
    grid-template-columns:300px 1fr;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    color: black;
}

.img-border {
    border: 12px solid #FF91FF; /* you can change 4px to any thickness */
}

.avatar {
    width: 300px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f3f4f6, #ffffff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px
}

.avatar-working {
    margin-top: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #111
}


.role {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px
}

.bio {
    margin: 6px 0 14px;
    line-height: 1.5;
    color: #222
}


.meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.chip {
    background: var(--glass);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    border: 1px solid rgba(16, 24, 40, 0.04)
}


.favorite {
    display: flex;
    align-items: center;
    gap: 12px
}

.drink-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff 0%, #f7f7fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.04)
}

.drink-icon svg {
    width: 28px;
    height: 28px;
    opacity: 0.9
}


.info-grid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 10px
}

.info {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(250, 250, 250, 0.9));
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.03)
}

.label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px
}

.value {
    font-weight: 600
}


.actions {
    margin-top: 14px;
    display: flex;
    gap: 10px
}

.btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: 0;
    font-weight: 600;
    cursor: pointer
}

.btn.primary {
    background: #FF91FF;
    color: black
}

.btn.ghost {
    background: black;
    border: 1px solid rgba(16, 24, 40, 0.06)
}


/* responsive */
@media (max-width: 720px) {
    .card {
        grid-template-columns:1fr;
    }

    .avatar {
        width: 140px;
        height: 140px;
        margin: 0 auto
    }
}

.barista-hero {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 60px 0; /* spacing above/below */
    overflow: hidden;
}

.barista-bg {
    font-size: 170px;
    font-weight: 900;
    color: #FF91FF;

    white-space: nowrap;
    line-height: 1;
    font-family: "Oswald", sans-serif
}

.barista-title {
    position: absolute;
    top: 43%;
    left: 18%;

    font-size: 45px;
    font-weight: 700;
    color: white;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    font-family: "Oswald", sans-serif
}

@media (max-width: 600px) {
    .barista-bg {
        font-size: 80px; /* shrink background word */
    }

    .barista-title {
        font-size: 24px; /* shrink overlay text */
        top: 50%; /* center vertically */
        left: 50%; /* center horizontally */
        transform: translate(-50%, -50%); /* keep centered */
        text-align: center;
        white-space: normal; /* allow wrapping if needed */
    }

    .barista-hero {
        padding: 40px 0; /* less padding on mobile */
    }
}

.kiss_container {
    max-width: 960px;
    margin: auto;
}

.kiss_day {
    display: flex;
    flex-wrap: wrap; /* allows multiple per row */
    gap: 20px; /* space between sections */
    justify-content: center;

}

.kiss_date {
    text-align: center;
    font-size: 45px;
}

.kiss_section {
    flex: 1 1 calc(33.333% - 20px); /* 3 per row on wide screens */
    max-width: 300px;
    text-align: center;
}

@media (max-width: 900px) {
    .kiss_section {
        flex: 1 1 calc(50% - 20px); /* 2 per row on tablets */
    }
}

@media (max-width: 600px) {
    .kiss_section {
        flex: 1 1 100%; /* 1 per row on mobile */
    }
}


/*---- Schedule page ----- */
/* Show the grid view by default (desktop/tablet) */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 1320px) {
    /* On phones, hide the grid and show the day-by-day layout */
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* --- Optional styling reused from earlier --- */
.schedule {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Make the header row stick to the top on scroll */
.header-row {
    position: sticky;
    top: 0; /* distance from the top of the viewport */
    z-index: 5; /* ensure it sits above the shift rows */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* subtle shadow so it stands out */
    width: 100%; /* force header row full width */
    margin: 0; /* remove any stray margins */
}

/* Grid (desktop) */
.shift-row {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.shift-header {
    background: black;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #ccc;
}

.shift-cells {
    display: flex;
    align-items: stretch;
}

.shift-cell {
    flex: 1;
    padding: 8px;
    text-align: center;
    border-right: 1px solid #eee;
}

.shift-cell:last-child {
    border-right: none;
}

.people {
    list-style: none;
    margin: 0;
    padding: 0;
}

.people li {
    font-size: 14px;
    padding: 2px 0;
}

.empty {
    color: #aaa;
    font-style: italic;
}

/* Daily (mobile) */
.daily {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.day-column {
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.day-header {
    background: black;
    font-weight: bold;
    font-size: x-large;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.day-sections {
    display: flex;
    flex-direction: column;
}

.day-section {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

.day-section:last-child {
    border-bottom: none;
}

.day-section .sec-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: white;
}

.people-divs {
    display: flex;
    flex-direction: row;
    align-items: center; /* center horizontally */
    justify-content: center;
    gap: 4px; /* space between names */
    flex-wrap: wrap;
}

.person {
    text-align: center;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f5f5f5; /* optional pill background */
}

.sec-title {
    font-weight: 600;
    font-size: xx-large;
    margin-bottom: 6px;
    color: #333;
    text-align: center; /* ✅ centers the text */
    display: flex;
    justify-content: center;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* keep items on the left */
    gap: 1rem;
}

.stat-card {
    flex: 0 0 calc(20% - 1rem); /* 5 per row (20% width each) */
    background: #8b0000;
    color: black;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}

@media (max-width: 1200px) {
    .stat-card {
        flex: 0 0 calc(25% - 1rem); /* 4 per row */
    }
}

@media (max-width: 900px) {
    .stat-card {
        flex: 0 0 calc(33.333% - 1rem); /* 3 per row */
    }
}

@media (max-width: 600px) {
    .stat-card {
        flex: 0 0 calc(50% - 1rem); /* 2 per row */
    }
}

@media (max-width: 400px) {
    .stat-card {
        flex: 0 0 100%; /* 1 per row */
    }
}