
/* =========================================
   Gail Rawlins Classic
   Main Stylesheet
   ========================================= */

/* Global Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    height: 100vh;
    height: 100dvh;

    display: flex;
    flex-direction: column;

    font-family: Georgia, "Times New Roman", serif;
    background-color: #ffffff;
    color: #222222;
}

/* =========================================
   Header and Navigation
   ========================================= */

.site-header {
    width: 100%;
    padding: 18px 30px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-button {
    display: inline-block;
    padding: 11px 22px;

    background-color: #000000;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
    text-align: center;

    border: 1px solid #000000;
    border-radius: 5px;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.nav-button:hover {
    background-color: #808080;
    border-color: #808080;
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-button:focus-visible {
    outline: 3px solid #808080;
    outline-offset: 3px;
}

/* =========================================
   Homepage - Two Column Layout
   ========================================= */

.homepage {
    flex: 1;
    min-height: 0;
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);

    overflow: hidden;
}

/* =========================================
   Left Column - Image
   ========================================= */

.cover-panel {
    position: relative;
    min-width: 0;
    min-height: 0;
}

.cover-container {
    position: absolute;
    inset: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-image {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

/* =========================================
   Right Column - Announcement
   ========================================= */

.announcement-panel {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 0;
    min-height: 0;

    padding: 40px;
}

.announcement-content {
    width: 100%;
    max-width: 850px;

    text-align: center;
}

.announcement-content h1 {
    margin-bottom: 30px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3.5vw, 58px);
    font-weight: 700;
    line-height: 1.25;

    color: #222222;
}

.announcement-content p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 1.8vw, 28px);
    font-weight: 400;

    color: #666666;
}

/* =========================================
   Responsive Layout
   ========================================= */

@media (max-width: 768px) {

    .site-header {
        padding: 14px 20px;
    }

    .homepage {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    }

    .cover-container {
        inset: 10px;
    }

    .announcement-panel {
        padding: 20px;
    }

    .announcement-content h1 {
        margin-bottom: 18px;
        font-size: clamp(24px, 5vw, 36px);
    }

    .announcement-content p {
        font-size: 18px;
    }
}

@media (max-width: 420px) {

    .nav-button {
        padding: 9px 16px;
        font-size: 13px;
    }

    .announcement-panel {
        padding: 15px;
    }
}

/* =========================================
   Authentication Pages
   Login and Password Reset
   ========================================= */

.auth-page {
    background-color: #f4f4f4;
}

.auth-main {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 30px 20px;
}

.auth-card {
    width: 100%;
    max-width: 400px;

    padding: 40px 35px;

    background-color: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 10px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.auth-card h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;

    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 15px;
    color: #777777;

    margin-bottom: 30px;
    line-height: 1.5;
}

/* Form Fields */

.auth-field {
    text-align: left;
    margin-bottom: 20px;
}

.auth-field label {
    display: block;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 8px;
}

.auth-field input {
    width: 100%;
    padding: 12px 14px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;

    border: 1px solid #cccccc;
    border-radius: 5px;

    background-color: #ffffff;
    color: #222222;
}

.auth-field input:focus {
    outline: none;
    border-color: #555555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

/* Login / Reset Button */

.auth-button {
    width: 100%;
    padding: 13px;

    background-color: #000000;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;

    border: none;
    border-radius: 5px;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.auth-button:hover {
    background-color: #808080;
}

.auth-button:focus-visible {
    outline: 3px solid #808080;
    outline-offset: 3px;
}

/* Links */

.auth-link {
    display: inline-block;

    margin-top: 25px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;

    color: #555555;
    text-decoration: underline;
}

.auth-link:hover {
    color: #000000;
}

.back-link {
    margin-top: 25px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;

    color: #777777;
    text-decoration: none;
}

.back-link:hover {
    color: #000000;
    text-decoration: underline;
}

/* Mobile */

@media (max-width: 480px) {

    .auth-card {
        padding: 30px 22px;
    }

    .auth-card h1 {
        font-size: 24px;
    }
}

/* =========================================
   Members Content Pages
   About, Tournament, Resources
   ========================================= */

body.content-page {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;

    background-color: #f5f5f5;
}

/* Main Content */

.content-main {
    width: calc(100% - 40px);
    max-width: 1000px;

    margin: 0 auto;
    padding: 35px 0 70px;
}

/* Page Heading */

.page-title {
    margin-bottom: 30px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 700;

    text-align: center;
    color: #222222;
}

/* Individual Section Cards */

.section-card {
    width: 100%;
    margin-bottom: 20px;
    padding: 30px 35px;

    background-color: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.section-card h2 {
    margin-bottom: 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;

    color: #222222;
}

.section-card p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;

    color: #666666;
}

/* =========================================
   Tournament Scoreboard
   ========================================= */

.scoreboard-scroll {
    width: 100%;
    margin-top: 25px;

    overflow-x: auto;
}

.scoreboard-table {
    width: 100%;
    min-width: 550px;

    border-collapse: collapse;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.scoreboard-table th {
    padding: 14px 12px;

    background-color: #000000;
    color: #ffffff;

    text-align: left;
    font-weight: 600;
}

.scoreboard-table td {
    padding: 14px 12px;

    border-bottom: 1px solid #e5e5e5;

    color: #444444;
}

.scoreboard-table .empty-table {
    padding: 35px 12px;

    text-align: center;
    color: #999999;
}

/* =========================================
   Responsive Content Layout
   ========================================= */

@media (max-width: 768px) {

    .content-main {
        width: calc(100% - 24px);
        padding: 25px 0 45px;
    }

    .page-title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .section-card {
        padding: 24px 20px;
        margin-bottom: 15px;
    }

    .section-card h2 {
        font-size: 22px;
    }

    .section-card p {
        font-size: 14px;
    }
}

/* =========================================
   Member Account Navigation Icon
   ========================================= */

.account-nav-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 43px;
    height: 43px;
    padding: 0;

    margin-left: 12px;
    margin-right: 12px;
}

.account-nav-button svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

/* =========================================
   My Account Screen
   ========================================= */

.account-page [hidden] {
    display: none !important;
}

/* Profile Header */

.account-profile-header {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.account-avatar {
    width: 90px;
    height: 90px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #eeeeee;
    border: 1px solid #dddddd;
    border-radius: 50%;
    overflow: hidden;
}

.account-avatar svg {
    width: 60px;
    height: 60px;
    color: #777777;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-profile-details {
    flex: 1;
    min-width: 120px;
}

.account-profile-details h3 {
    margin-bottom: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
}

.account-profile-details p {
    font-size: 14px;
    color: #777777;
}

/* Section Heading */

.account-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 20px;
}

.account-section-heading h2 {
    margin: 0;
}

/* Account Buttons */

.account-action {
    display: inline-block;
    padding: 11px 20px;

    background-color: #000000;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;

    border: 1px solid #000000;
    border-radius: 5px;

    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;

    transition: background-color 0.2s ease;
}

.account-action:hover {
    background-color: #808080;
    border-color: #808080;
}

.account-action-secondary {
    padding: 11px 20px;

    background-color: #ffffff;
    color: #333333;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;

    border: 1px solid #cccccc;
    border-radius: 5px;

    cursor: pointer;
}

.account-action-secondary:hover {
    background-color: #eeeeee;
}

/* Editable Forms */

.account-form {
    margin-top: 28px;
    padding-top: 25px;

    border-top: 1px solid #eeeeee;
}

.account-form h3 {
    margin-bottom: 22px;
    font-size: 20px;
}

.account-field {
    margin-bottom: 20px;
}

.account-field label {
    display: block;
    margin-bottom: 8px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.account-field input,
.account-field textarea {
    display: block;
    width: 100%;

    padding: 12px 14px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #222222;

    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
}

.account-field input:focus,
.account-field textarea:focus {
    outline: none;
    border-color: #555555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.account-field input[type="file"] {
    padding: 10px;
}

.account-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.account-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

/* My Catches */

.catch-list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.catch-entry {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.catch-entry img {
    width: 100px;
    height: 90px;

    object-fit: cover;
    border-radius: 5px;
}

.catch-entry h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.catch-entry p {
    font-size: 14px;
    line-height: 1.5;
}

.catch-entry .catch-preview-label {
    color: #777777;
    font-size: 12px;
    font-style: italic;
}

.account-feedback {
    margin-top: 18px;
    font-size: 13px;
    color: #666666;
}

.account-disclaimer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eeeeee;

    font-size: 12px !important;
    color: #888888 !important;
}

/* Mobile */

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        gap: 8px;
    }

    .account-nav-button {
        margin: 0;
    }

    .account-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .account-profile-header {
        gap: 15px;
    }

    .account-avatar {
        width: 70px;
        height: 70px;
    }

    .account-profile-details h3 {
        font-size: 19px;
    }

    .catch-entry img {
        width: 75px;
        height: 75px;
    }
}

/* =========================================
   Fish Species Dropdown
   ========================================= */

.account-field select {
    display: block;
    width: 100%;

    padding: 12px 14px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #222222;

    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;

    cursor: pointer;
}

.account-field select:focus {
    outline: none;
    border-color: #555555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

/* =========================================
   Gail Rawlins Classic
   Landing and Members Home Poster
   ========================================= */

.poster-homepage {
    flex: 1;
    min-height: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px 24px 20px;
    overflow: hidden;
}

.poster-image {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

/* Mobile */

@media (max-width: 768px) {

    .poster-homepage {
        padding: 10px;
    }

}

/* =========================================
   About Page - Gail Biography
   ========================================= */

.gail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 35px;
}

/* Biography */

.gail-biography {
    min-width: 0;
}

.gail-biography p {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}

.gail-biography p:last-child {
    margin-bottom: 0;
}

/* Photograph */

.gail-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gail-photo {
    display: block;
    width: 100%;
    height: auto;

    border: 1px solid #dddddd;
    border-radius: 6px;

    object-fit: contain;
}

/* Responsive Layout */

@media (max-width: 768px) {

    .gail-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .gail-biography p {
        font-size: 16px;
    }

    .gail-photo-container {
        max-width: 420px;
        margin: 0 auto;
    }
}
/* =========================================
   About Page - Tournament Concept
   ========================================= */

.tournament-concept-content {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
}

.tournament-concept-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tournament-concept-photo {
    display: block;
    width: 100%;
    height: auto;

    border: 1px solid #dddddd;
    border-radius: 6px;

    object-fit: contain;
}

.tournament-concept-text {
    min-width: 0;
}

.tournament-concept-text p {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}

.tournament-concept-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .tournament-concept-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tournament-concept-text p {
        font-size: 16px;
    }

    .tournament-concept-photo-container {
        max-width: 420px;
        margin: 0 auto;
    }
}


/* =========================================
   About Page - This Year's Fishing Region
   ========================================= */

.fishing-region-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 35px;
}

/* Description */

.fishing-region-text {
    min-width: 0;
}

.fishing-region-text p {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}

/* Map */

.fishing-region-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.fishing-region-photo {
    display: block;
    width: 100%;
    height: auto;

    border: 1px solid #dddddd;
    border-radius: 6px;

    object-fit: contain;
}

/* Responsive Layout */

@media (max-width: 768px) {

    .fishing-region-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .fishing-region-text p {
        font-size: 16px;
    }

    .fishing-region-photo-container {
        max-width: 420px;
        margin: 0 auto;
    }
}
/* =========================================
   About Page - This Year's Hosts
   ========================================= */

.hosts-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.host-entry {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
}

.host-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.host-photo {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;

    border: 1px solid #dddddd;
    border-radius: 6px;

    object-fit: contain;
}

.host-info {
    min-width: 0;
}

.host-line {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.5;
    color: #333333;
}

.host-line:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .host-entry {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .host-photo-container {
        max-width: 260px;
        margin: 0 auto;
    }

    .host-info {
        text-align: center;
    }

    .host-line {
        font-size: 18px;
    }
}


/* =========================================
   About Page - Tournament Schedule
   ========================================= */

.tournament-schedule {
    display: flex;
    flex-direction: column;
}

.schedule-entry {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid #dddddd;
}

.schedule-entry:first-child {
    padding-top: 5px;
}

.schedule-entry:last-child {
    border-bottom: none;
    padding-bottom: 5px;
}

.schedule-date {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: bold;
    color: #333333;
}

.schedule-time {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: normal;
    color: #666666;
}

.schedule-details h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    color: #222222;
}

.schedule-details p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}

@media (max-width: 768px) {

    .schedule-entry {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .schedule-details h3 {
        font-size: 18px;
    }

    .schedule-details p {
        font-size: 16px;
    }
}

/* =========================================
   About Page - Tournament Rules
   ========================================= */

.tournament-rules {
    margin: 0;
    padding-left: 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}

.tournament-rules li {
    padding-left: 10px;
    margin-bottom: 20px;
}

.tournament-rules li:last-child {
    margin-bottom: 0;
}

.tournament-rules li::marker {
    font-weight: bold;
    color: #222222;
}

.tournament-rules p {
    margin: 12px 0 0;
}

@media (max-width: 768px) {
    .tournament-rules {
        padding-left: 25px;
        font-size: 16px;
    }
}

/* =========================================
   About Page - Safety
   ========================================= */

.safety-content {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}

.safety-content p {
    margin: 0 0 18px;
}

.safety-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .safety-content {
        font-size: 16px;
    }
}



/* =========================================
   Tournament Page - Scoreboard
   ========================================= */

.scoreboard-description {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #333333;
}


/* Individual Species Leaderboards */

.species-leaderboard {
    margin-bottom: 35px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    overflow: hidden;
}


/* Prize Headings */

.leaderboard-heading {
    padding: 18px 22px;
    border-bottom: 1px solid #dddddd;
    font-family: Georgia, "Times New Roman", serif;
}

.leaderboard-heading h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #222222;
}

.leaderboard-heading h4 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    color: #333333;
}


/* Gold - Cobia Cup */

.first-prize {
    border-color: #c9a84c;
}

.first-prize .leaderboard-heading {
    background-color: #f5e6b3;
    border-left: 6px solid #c9a84c;
}

.first-prize tbody tr:first-child {
    background-color: #fff9e8;
}


/* Silver - Second Prize */

.second-prize {
    border-color: #aaaaaa;
}

.second-prize .leaderboard-heading {
    background-color: #e5e5e5;
    border-left: 6px solid #aaaaaa;
}

.second-prize tbody tr:first-child {
    background-color: #f2f2f2;
}


/* Bronze - Third Prize */

.third-prize {
    border-color: #b58050;
}

.third-prize .leaderboard-heading {
    background-color: #ead3bf;
    border-left: 6px solid #b58050;
}

.third-prize tbody tr:first-child {
    background-color: #faf0e7;
}


/* Table Container */

.scoreboard-table-container {
    width: 100%;
    overflow-x: auto;
}


/* Scoreboard Tables */

.tournament-scoreboard {
    width: 100%;
    min-width: 550px;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: Georgia, "Times New Roman", serif;
}


/* Column Headers */

.tournament-scoreboard thead {
    background-color: #333333;
    color: #ffffff;
}

.tournament-scoreboard th {
    padding: 14px 12px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.tournament-scoreboard th:nth-child(1) {
    width: 10%;
}

.tournament-scoreboard th:nth-child(2) {
    width: 36%;
    text-align: left;
}

.tournament-scoreboard th:nth-child(3) {
    width: 18%;
}

.tournament-scoreboard th:nth-child(4) {
    width: 18%;
}

.tournament-scoreboard th:nth-child(5) {
    width: 18%;
}


/* Table Cells */

.tournament-scoreboard td {
    padding: 12px;
    border-bottom: 1px solid #dddddd;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    color: #333333;
    white-space: nowrap;
}

.tournament-scoreboard td:first-child {
    font-size: 20px;
    font-weight: bold;
}

.tournament-scoreboard td:nth-child(2) {
    text-align: left;
    overflow-wrap: anywhere;
    white-space: normal;
}

.tournament-scoreboard td:nth-child(3) {
    font-weight: bold;
}

.tournament-scoreboard tbody tr:first-child td {
    font-weight: bold;
}

.tournament-scoreboard tbody tr:last-child td {
    border-bottom: none;
}

.tournament-scoreboard tbody tr:hover {
    background-color: #e8eef2;
}


/* Fish Photo Thumbnails */

.fish-thumbnail-placeholder {
    width: 55px;
    height: 55px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #e0e0e0;
    color: #777777;

    border: 1px solid #cccccc;
    border-radius: 4px;

    font-size: 11px;
    font-weight: normal;
}

.fish-thumbnail {
    display: block;
    width: 55px;
    height: 55px;
    margin: 0 auto;

    object-fit: cover;
    border: 1px solid #cccccc;
    border-radius: 4px;

    cursor: pointer;
}


/* Scoreboard Footnote */

.scoreboard-note {
    margin-top: 15px;
    font-size: 14px;
    font-style: italic;
    color: #777777;
}


/* Responsive Layout */

@media (max-width: 768px) {

    .scoreboard-description {
        font-size: 16px;
    }

    .leaderboard-heading {
        padding: 15px;
    }

    .leaderboard-heading h3 {
        font-size: 20px;
    }

    .leaderboard-heading h4 {
        font-size: 17px;
    }

    .tournament-scoreboard th,
    .tournament-scoreboard td {
        padding: 10px;
        font-size: 14px;
    }

    .species-leaderboard {
        margin-bottom: 25px;
    }

    .fish-thumbnail,
    .fish-thumbnail-placeholder {
        width: 45px;
        height: 45px;
    }
}



/* =========================================
   Trip Selection Page
   ========================================= */


/* Voting Instructions */

.voting-instructions {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
}

.voting-instructions p {
    margin: 0 0 15px;
}

.voting-instructions p:last-child {
    margin-bottom: 0;
}


/* Destination Cards */

.trip-card {
    margin-bottom: 25px;
}

.trip-card h2 {
    margin-bottom: 20px;
}

.trip-content {
    display: grid;
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}


/* Destination Photos */

.trip-image-placeholder {
    width: 100%;
    min-height: 275px;
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    border-radius: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #888888;
    font-size: 14px;
    box-sizing: border-box;
}

.trip-image {
    display: block;
    width: 100%;
    height: 275px;
    object-fit: cover;
    border-radius: 5px;
}


/* Destination Summary */

.trip-details {
    min-width: 0;
}

.trip-summary {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 20px;
}


/* Spring and Fall Layout */

.trip-season-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.trip-season {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: #ffffff;
}

.trip-season h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    color: #222222;
    margin: 0 0 8px;
}

.trip-season p {
    font-size: 15px;
    margin: 0 0 12px;
    line-height: 1.5;
}

.trip-season .trip-dates {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
}


/* Prize Species */

.trip-prize {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;

    min-height: 45px;
    padding: 10px 12px;
    margin-bottom: 8px;

    border-radius: 3px;
    box-sizing: border-box;
}

.trip-prize .prize-label {
    font-size: 11px;
    color: #555555;
}

.trip-prize strong {
    font-size: 16px;
    color: #222222;
    line-height: 1.4;
    overflow-wrap: anywhere;
}


/* Gold - Cobia Cup */

.trip-prize.gold-prize {
    background-color: #f5e6b3;
    border-left: 5px solid #c9a84c;
}


/* Silver - Second Prize */

.trip-prize.silver-prize {
    background-color: #e5e5e5;
    border-left: 5px solid #aaaaaa;
}


/* Bronze - Third Prize */

.trip-prize.bronze-prize {
    background-color: #ead3bf;
    border-left: 5px solid #b58050;
}


/* Voting Options */

.trip-vote-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: auto;
    padding: 12px 8px;

    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #f5f5f5;

    font-size: 15px;
    font-weight: bold;
    color: #333333;

    cursor: pointer;
    transition: background-color 0.2s,
                border-color 0.2s;
}

.trip-vote-option:hover {
    background-color: #e8eef2;
    border-color: #999999;
}

.trip-vote-option input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #333333;
    cursor: pointer;
}

.trip-vote-option:has(input:checked) {
    background-color: #e2edf5;
    border-color: #557b99;
}

.trip-season:has(input:checked) {
    border-color: #557b99;
    box-shadow: 0 0 0 1px #557b99;
}


/* Submit Vote */

#trip-voting-form button[type="submit"] {
    padding: 12px 25px;
    background-color: #222222;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#trip-voting-form button[type="submit"]:hover {
    background-color: #444444;
}

#trip-voting-form button[type="submit"]:disabled {
    background-color: #cccccc;
    color: #777777;
    cursor: not-allowed;
}


/* Tablet Layout */

@media (max-width: 1000px) {

    .trip-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .trip-image,
    .trip-image-placeholder {
        height: 225px;
        min-height: 225px;
    }

}


/* Mobile Layout */

@media (max-width: 600px) {

    .trip-season-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .trip-season {
        padding: 14px;
    }

    .trip-image,
    .trip-image-placeholder {
        height: 200px;
        min-height: 200px;
    }

    .trip-summary {
        font-size: 15px;
    }

    .trip-prize strong {
        font-size: 15px;
    }

    .trip-season h3 {
        font-size: 21px;
    }

}


/* =========================================
   Message Board Page
   ========================================= */

#new-message,
#message-board {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}


/* Message Form */

#message-board-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.message-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-form-field label {
    font-weight: bold;
    font-size: 16px;
}

.message-form-field input,
.message-form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: #ffffff;
    color: #333333;
    font-family: inherit;
    font-size: 16px;
}

.message-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.message-form-field input:focus,
.message-form-field textarea:focus {
    outline: 2px solid #add8e6;
    border-color: #777777;
}


/* Post Message Button */

.message-post-button {
    align-self: flex-start;
    padding: 12px 25px;

    background-color: #777777;
    color: #ffffff;

    border: none;
    border-radius: 5px;

    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.message-post-button:hover {
    background-color: #555555;
}

.message-post-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}


/* Message List */

#message-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-entry {
    padding: 25px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background-color: #fafafa;
}


/* Message Header */

.message-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.message-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    background-color: #add8e6;
    color: #333333;

    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
}

.message-author {
    display: flex;
    flex-direction: column;
}

.message-date {
    font-size: 13px;
    color: #777777;
}


/* Message Content */

.message-entry h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #222222;
}

.message-body {
    margin: 0 0 20px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* Message Actions */

.message-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 15px;
    border-top: 1px solid #dddddd;
}

.message-reply-button {
    padding: 8px 20px;

    background-color: #777777;
    color: #ffffff;

    border: none;
    border-radius: 5px;

    font-size: 14px;
    cursor: pointer;
}

.message-reply-button:hover {
    background-color: #555555;
}

.message-reply-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.message-reply-count {
    font-size: 14px;
    color: #777777;
}

.message-board-note {
    margin-top: 18px;
    font-size: 13px;
    font-style: italic;
    color: #777777;
}


/* Responsive Layout */

@media (max-width: 768px) {

    #new-message,
    #message-board {
        font-size: 16px;
    }

    .message-entry {
        padding: 18px;
    }

    .message-entry h3 {
        font-size: 18px;
    }

    .message-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}


/* =========================================
   Navigation Button Colors
   ========================================= */

/* Standard Navigation Buttons */

.main-nav .nav-button {
    background-color: #777777;
    color: #ffffff;
}

.main-nav .nav-button:hover {
    background-color: #555555;
}

/* Active Page Button */

.main-nav .nav-button.active {
    background-color: #444444;
    color: #ffffff;
}

/* Account / Profile Button */

.main-nav .account-nav-button {
    background-color: #add8e6;
    color: #222222;
}

.main-nav .account-nav-button:hover,
.main-nav .account-nav-button.active {
    background-color: #87ceeb;
    color: #222222;
}

/* Logout Button */

.main-nav .logout-nav-button {
    background-color: #000000;
    color: #ffffff;
}

.main-nav .logout-nav-button:hover {
    background-color: #333333;
}


/* =========================================
   Trip Selection - Voting Results
   ========================================= */

.voting-results-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: #f4f4f4;
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.voting-results-summary p {
    margin: 0;
    text-align: center;
}

.voting-results-summary strong {
    display: block;
    margin-bottom: 8px;
    color: #555555;
    font-size: 14px;
}

.voting-results-summary span {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #800020;
}


/* Voting Results Table */

.voting-results-table-container {
    width: 100%;
    overflow-x: auto;
}

.voting-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 15px;
}

.voting-results-table th,
.voting-results-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #dddddd;
    text-align: center;
}

.voting-results-table th:first-child,
.voting-results-table td:first-child {
    text-align: left;
}

.voting-results-table thead th {
    background-color: #800020;
    color: #ffffff;
    font-weight: bold;
}

.voting-results-table tbody th {
    font-weight: normal;
}

.voting-results-table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.voting-results-table tbody tr:hover {
    background-color: #eeeeee;
}

.voting-results-table tbody td:last-child {
    font-weight: bold;
}

.voting-results-table tfoot {
    background-color: #e6e6e6;
    font-weight: bold;
}

.voting-results-table tfoot th,
.voting-results-table tfoot td {
    border-top: 2px solid #aaaaaa;
}


/* Current Member Vote */

#current-vote {
    background-color: #f5e6b3;
    border: 1px solid #c9a84c;
    border-radius: 5px;
    padding: 12px 16px;
    font-weight: bold;
    margin: 15px 0;
}


/* Vote Submission Feedback */

#vote-feedback {
    font-weight: bold;
    margin-top: 15px;
}

.trip-vote-option:has(input:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}

.trip-vote-option:has(input:checked) {
    opacity: 1;
}


/* Mobile Layout */

@media (max-width: 700px) {

    .voting-results-summary {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .voting-results-table {
        font-size: 13px;
    }

    .voting-results-table th,
    .voting-results-table td {
        padding: 10px 8px;
    }

}



/* =========================================
   Message Board - 1990s Retro Style
   ========================================= */

.retro-board {
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #aaaaaa;
}

.retro-board h1 {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 5px;
    color: #000000;
}

.retro-board h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
    color: #000000;
}

.retro-board p {
    margin: 10px 0;
}

.retro-board hr {
    border: 0;
    border-top: 1px solid #aaaaaa;
    margin: 15px 0;
}


/* Traditional Hyperlinks */

.retro-board a {
    color: #0000cc;
    text-decoration: underline;
    cursor: pointer;
}

.retro-board a:visited {
    color: #551a8b;
}

.retro-board a:hover {
    color: #ff0000;
}


/* Topic List */

.retro-topic {
    margin-bottom: 18px;
}

.retro-topic-subject {
    font-weight: normal;
    font-size: 14px;
}

.retro-topic-meta {
    font-size: 12px;
    color: #555555;
    margin-top: 3px;
}


/* Discussion Messages */

.retro-message {
    padding: 12px 0;
    border-top: 1px solid #aaaaaa;
}

.retro-message-meta {
    font-size: 12px;
    color: #555555;
}

.retro-message-body {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 12px 0;
}

.retro-message-actions {
    font-size: 12px;
}


/* Old-School Forms */

.retro-board label {
    display: block;
    margin: 12px 0 5px;
    font-weight: normal;
}

.retro-board input,
.retro-board textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #888888;
    border-radius: 0;
    padding: 6px;
    margin-bottom: 15px;
    box-shadow: none;
}

.retro-board textarea {
    resize: vertical;
}

.retro-board button {
    font-family: inherit;
    font-size: 13px;
    color: #000000;
    background-color: #eeeeee;
    border: 1px solid #888888;
    border-radius: 0;
    padding: 5px 10px;
    cursor: pointer;
    box-shadow: none;
}

.retro-board button:hover {
    background-color: #dddddd;
}

.retro-board button:disabled {
    color: #888888;
    cursor: not-allowed;
}


/* Summary and Feedback */

#board-summary {
    font-size: 12px;
    color: #555555;
}

#board-feedback {
    font-size: 13px;
}

.retro-board [hidden] {
    display: none !important;
}


/* Mobile Layout */

@media (max-width: 600px) {

    .retro-board {
        padding: 12px;
        font-size: 13px;
    }

    .retro-board h1 {
        font-size: 18px;
    }

    .retro-board h2 {
        font-size: 16px;
    }

}


/* =========================================
   Registered Members Directory
   ========================================= */

.members-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.members-section-heading h2 {
    margin: 0;
}

.registered-member-count {
    font-size: 14px;
    color: #666666;
}


/* Two-Column Member Grid */

.registered-members-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}


/* Individual Member Cards */

.registered-member-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 6px;
    min-width: 0;
}


/* Member Avatar */

.registered-member-avatar {
    position: relative;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #e5e5e5;
    overflow: hidden;
}

.registered-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.registered-member-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    font-weight: bold;
    color: #555555;
}


/* Member Information */

.registered-member-details {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.registered-member-name {
    font-size: 17px;
    font-weight: bold;
    color: #222222;
    margin: 0 0 4px;
}

.registered-member-username {
    font-size: 13px;
    color: #666666;
    margin: 0 0 5px;
}

.registered-member-hometown {
    font-size: 14px;
    color: #444444;
    margin: 0;
}


/* Hidden Elements */

#registered-members [hidden] {
    display: none !important;
}


/* Mobile Layout */

@media (max-width: 600px) {

    .registered-members-grid {
        grid-template-columns: 1fr;
    }

    .registered-member-card {
        padding: 14px;
    }

    .registered-member-avatar {
        width: 55px;
        height: 55px;
    }

}
