/* simplified css */
:root {
    /* Define your brand colors using descriptive names */
    --primary-orange: #E2852E;
    --primary-orange-hover: #CB7729;
    --accent-yellow: #F5C857;
    --light-yellow: #FFEE91;
    --background: #fffdf4;
    --soft-blue: #ABE0F0;
    --headings-color: #5a5a8a;
}
/* Add this to the very top of club-susan.css */
*,
::after,
::before {
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    color: #333;
    margin: 0;
    padding: 20px;
}

header {
    text-align: center;
    /*margin-bottom: 20px;*/
}

h1 {
    color: var(--headings-color);
    font-size: 1.5em;
}
h2.stars {
    color: var(--headings-color);
    border-bottom: 2px solid var(--headings-color);
    padding-bottom: 5px;
    margin-top: 1.5em;
}


.table-container {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

/* Striped table style */
tbody tr:nth-child(even) {
    background-color: var(--light-yellow);
}

th {
    background-color: var(--primary-orange);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

a {
    color: var(--primary-orange-hover);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
input{
    display: inline-block;
    width: 50%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529; /* $body-color */
    background-color: #fff; /* $input-bg */
    background-clip: padding-box;
    border: 1px solid #ced4da; /* $input-border-color */
    border-radius: 0.375rem; /* $input-border-radius */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem; /* Padding adjusted for custom arrow */
    -moz-padding-start: 0.75rem; /* For Firefox compatibility */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529; /* $body-color */
    background-color: #fff; /* $form-select-bg */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); /* The custom SVG arrow */
    background-repeat: no-repeat;
    background-position: right 0.75rem center; /* Position the arrow */
    background-size: 16px 12px; /* Size the arrow */
    border: 1px solid #ced4da; /* $input-border-color */
    border-radius: 0.375rem; /* $input-border-radius */
    -webkit-appearance: none; /* Remove default browser styling */
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
select:focus {
    border-color: #86b7fe; /* $input-focus-border-color */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* $input-focus-box-shadow */
}

.btn {
    /* Box model & display */
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: var(--background); /* Default text color, often overridden by variant */
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;

    /* Text handling */
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    /* Spacing and shape */
    padding: 0.375rem 0.75rem; /* Standard padding */
    font-size: 1em;
    border-radius: 0.375em; /* Standard border radius */

    /* Border and background reset */
    background-color: var(--primary-orange);
    border: 1px solid var(--primary-orange);

    /* Transition for smooth states (hover, focus) */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Ensure buttons don't wrap and inherit font for correct styling */
.btn:hover {
    background-color: var(--primary-orange-hover); /* Re-apply default text color */
    text-decoration: none;
}

.btn:focus-visible {
    outline: 0;
}
/* --- ADDED STYLES FOR HEADER ALIGNMENT AND TABLE FORMATTING --- */

/* Structural CSS for the inline, right-aligned header/button */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    /* This ensures the header content is aligned left within its container */
    text-align: left;
}

/* Align numbers and dates to the right */
.table-container td:nth-child(3), /* Last Visit */
.table-container td:nth-child(4), /* Visit Count */
.table-container td:nth-child(5) { /* Visit Age */
    text-align: right;
}

/* Style for the "That's Me!" row */
.my-user-row {
    background-color: var(--soft-blue); /* Light blue background for the user's row */
}


/* Default size (Mobile) */
/* p, th, td, div, select, input, ul {
    font-size: 2rem;
} */
ul {
    line-height: 1.5em;
}

/* Small (sm) - 576px and up */
@media (min-width: 576px) {
    /* p, th, td, div, select,
        input,
        ul {
        font-size: 3rem;
    } */
    
}

/* Medium (md) - 768px and up */
@media (min-width: 768px) {
    /* p, th, td, div, select,
        input,
        ul {
        font-size: 2.5rem;
    } */
       
}

/* Large (lg) - 992px and up */
@media (min-width: 992px) {
    /* p, th, td, div, select,
        input,
        ul {
        font-size: 1.5rem;
    } */
}

/* Extra Large (xl) - 1200px and up */
@media (min-width: 1200px) {
    /* p, th, td, div, select,
        input,
        ul {
        font-size: 1rem;
    } */
}



h2 {
    font-size: 1.25em;
}



.gotit-pill {
    display: inline-block;
    background-color: #F5C857;
    color: #333;
    padding: 2px 8px;
    margin: 2px;
    border-radius: 12px;
    font-size: 0.8em;
    cursor: pointer;
    border: 1px solid #d4a017;
}

.gotit-pill:hover {
    background-color: #e2b43d;
    text-decoration: line-through;
}

.pill-container {
    margin-top: 10px;
    padding: 10px;
    background: #fdfdfd;
    border-radius: 5px;
}

.status-done {
    text-decoration: line-through;
    color: #888 !important;
}

.status-active {
    color: #f7a01d !important;
    font-weight: bold;
}
/* Add these to club-susan.css if missing */
.status-done {
    text-decoration: line-through;
    color: #888 !important;
}

.status-active {
    color: #f7a01d !important;
    font-weight: bold;
}



.row {
    --bs-gutter-x: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}

/* 3. Column Logic (Gutters only, no width) */
.row>[class^="col-"] {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

div.sticker-header {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

div.sticker-header h3 {
    margin: 0;
    font-size: smaller;
}

div.sticker-header button.got-it-btn {
    margin-left: 10px;
}
ul.raffle-list {
    list-style: none;
    padding-left: 1.5em;
}
.w-100 {
    width: 100% !important;
}

/* d-flex: Turns the container into a flexbox layout */
.d-flex {
    display: flex !important;
}

/* justify-content-between: Pushes items to opposite ends */
.justify-content-between {
    justify-content: space-between !important;
}

/* align-items-center: Vertically centers the items (highly recommended) */
.align-items-center {
    align-items: center !important;
}

/* m-0: Removes all margins */
.m-0 {
    margin: 0 !important;
}

/* mb-2: Adds a small margin at the bottom (useful for spacing rows) */
.mb-2 {
    margin-bottom: 0.5rem !important;
}

/* ms-auto: The "magic" margin that pushes an element to the right */
.ms-auto {
    margin-left: auto !important;
}