/* =========================
   GLOBAL PAGE SETTINGS
========================= */
body {
    margin: 0;
}


/* =========================
   SITE LOGO (from base.html)
========================= */

.site-logo {
    display: flex;
    justify-content: left;
    margin: 15px 0;
}

.site-logo img {
    width: 160px;
    height: auto;
}


/* =========================
   DASHBOARD LAYOUT
========================= */

.header-row {
    display: flex;
    align-items: flex-start;
    gap: 45px;
}

.right-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 14px;
}

.stats-inline {
    display: block;
    font-size: 0.95em;
}

.stats-inline div {
    margin-bottom: 4px;
}
.action-row {
    display: flex;
    gap: 60px;
    margin-top: 10px;
}


/* =========================
   WELCOME TEXT
========================= */

.welcome-text {
    font-size: 25px;
    font-weight: 600;
    padding: 0;
    background: none;
    border-radius: 0;
    display: block;
}


/* =========================
   ADD GAME LABEL
========================= */

.action-row h3 {
    font-size: 20px;
    font-weight: 600;
}


/* =========================
   ADD GAME FORM ENHANCEMENT
========================= */

.action-row form input,
.action-row form select {
    font-size: 14px;
    padding: 10px;
    height: 44px;
    width: 240px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.action-row form button {
    font-size: 14px;
    padding: 10px;
    height: 44px;
    width: 240px;
    background-color: #2c7be5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.action-row form button:hover {
    background-color: #1a68d1;
}


/* =========================
   FORM DIVIDER (Add vs Delete)
========================= */

.form-divider {
    width: 240px;
    margin: 12px 0 6px 0;
    border: none;
    border-top: 1px solid #ddd;
}


/* =========================
   DELETE BUTTON (Secondary)
========================= */

.delete-secondary {
    margin-top: 8px;
    font-size: 13px;
    padding: 6px 12px;
    background: none;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: pointer;
}

.delete-secondary:hover {
    background-color: #f5f5f5;
}

#deleteModeBtn.active {
    background-color: #cc0000;
    color: white;
    border: none;
}


/* =========================
   DELETE MODE / ROW SELECT
========================= */

#deleteMessage {
    font-size: 0.85em;
    margin-top: 5px;
}

.game-row {
    cursor: pointer;
}

.game-row:hover {
    background-color: #f2f2f2;
}

.game-row.selected {
    background-color: #ffdddd;
}


/* =========================
   TABLE STYLING
========================= */

.games-table {
    width: auto;
    border-collapse: collapse;
    font-size: 0.9em;
    margin-top: 6px;
}

.games-table th,
.games-table td {
    padding: 3px 10px;
    text-align: left;
    white-space: nowrap;
}

.games-table thead {
    border-bottom: 1px solid #aaa;
}

.games-table tbody tr {
    line-height: 1.15;
}


/* =========================
   MESSAGE / REACTION BOXES
========================= */

.reaction-box {
    background: #e6f2ff;
    padding: 6px;
    border-radius: 4px;
    font-size: 0.9em;
}


/* =========================
   ADMIN SECTION
========================= */

.admin-section {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    font-size: 0.9em;
}


/* =========================
   TYPOGRAPHY
========================= */

h2, h3 {
    margin: 0;
}

hr {
    margin: 15px 0;
}

form input {
    display: block;
    width: 100%;
    margin-top: 4px;
}
form button {
    margin-top: 6px;
}

/* =========================
   APP META (Version Tag)
========================= */

.app-meta {
    position: fixed;
    bottom: 8px;
    left: 12px;
    font-size: 10px;
    color: #888;
    opacity: 0.8;
}

/* =========================
   MOBILE ADJUSTMENTS
========================= */

@media (max-width: 600px) {

    .welcome-text {
        font-size: 18px;
    }

    .action-row h3 {
        font-size: 16px;
    }

    .action-row {
        gap: 20px;
        flex-direction: column;
    }

    .action-row form input,
    .action-row form select {
        width: 100%;
    }
}

/* =========================
   LOGIN LAYOUT
========================= */
body.login-page {
    padding: 0;
}
.login-layout {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 20px;
}

.form-section {
    width: 100%;
    max-width: 380px;
    padding: 30px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.form-section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 30px;
}
.form-section label {
    font-weight: 600;
    font-size: 18px;
}
.form-section input {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 14px;
    box-sizing: border-box;
    font-size: 18px;
}
}

.form-section button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 18px;
}

.error-message {
    color: red;
    margin-bottom: 10px;
}

.bottom-links {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

/* MOBILE */
@media (max-width: 600px) {

    .login-layout {
        min-height: auto;
        padding: 20px 15px;
    }

    .form-section {
        max-width: 100%;
        padding: 20px;
    }

    .login-layout input,
    .login-layout button {
        font-size: 20px;
        padding: 12px;
    }

    .site-logo {
        max-width: 120px;
        height: auto;
    }
}
/* ============================
   Membership Page Styling
   ============================ */

.membership-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.membership {
    padding: 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.6);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
}

.membership-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.membership-header h2 {
    font-family: 'EB Garamond', serif;
    font-size: 28px;
    margin: 0;
}

.hal-dot {
    width: 12px;
    height: 12px;
    background: #d40000;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(212,0,0,0.6);
}

.membership-tagline {
    font-size: 16px;
    margin: 10px 0 15px 0;
    color: #333;
    font-family: 'EB Garamond', serif;
}

.membership-benefits {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.membership-benefits li {
    margin-bottom: 6px;
}

.membership-action {
    margin-top: 15px;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background: #222;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.membership-action:hover {
    background: #444;
}
