/* =========================
   SCOREBOARD THEME
========================= */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f6fa;
    color: #222;
    margin: 0;
    max-width: 1200px;
    margin: auto;
}

h1,

h2 {
    text-align: center;
    color: #003366;
    border-bottom: 3px solid #003366;
    padding-bottom: 5px;
    margin: 30px auto;
    font-size: 32px;
}

/* =========================
   HEADER
========================= */

.header {
    background: #003366;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

.header h1 {
    margin: 0;
    color: white;
}

.header p {
    margin-top: 8px;
}

/* =========================
   GAME CARDS
========================= */

.game-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    border-top: 5px solid #0057b8;
    transition: transform .2s ease,
                box-shadow .2s ease;

    font-size: 22px;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* Game header */

.game-card h3 {
    background: #003366;
    color: white;
    padding: 12px;
    margin: -20px -20px 15px -20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    letter-spacing: 1px;
    font-size: 32px;
    position: relative;
}

/* Gold star */

.game-card h3::after {
    content: "\2605";
    color: gold;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* =========================
   GAME CARD INPUT
========================= */
.edit-game-card {
    background: #eef4ff;
    border: 2px solid #c9d8f2;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    
    margin: 25px 30px;
}

.edit-game-card h3 {
    background: #003366;
    color: white;
    margin: -25px -25px 20px -25px;
    padding: 12px;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.edit-game-card label {
    font-weight: bold;
}

.edit-game-card input,
.edit-game-card select,
.edit-game-card button {
    margin-bottom: 10px;
}

/* =========================
   TEAM MATCHUPS
========================= */

#game1Teams,
#game2Teams,
#game3Teams,
#game4Teams,
#game5Teams,
#game6Teams,
#game7Teams,
#topGameTeams1,
#topGameTeams2,
#topGameTeams3,
#topGameTeams4,
#topGameTeams5,
#topGameTeams6,
#topGameTeams7 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #003366;
    margin-bottom: 10px;
}

/* =========================
   GAME DESCRIPTIONS
========================= */

#gameText1,
#gameText2,
#gameText3,
#gameText4,
#gameText5,
#gameText6,
#gameText7,
#topGameText1,
#topGameText2,
#topGameText3,
#topGameText4,
#topGameText5,
#topGameText6,
#topGameText7 {
    text-align: center;
    color: #555;
    margin-bottom: 15px;
    font-size: 22px;
}

/* =========================
   WINNER AREA
========================= */

#winnerDisplay1,
#winnerDisplay2,
#winnerDisplay3,
#winnerDisplay4,
#winnerDisplay5,
#winnerDisplay6,
#winnerDisplay7 {
    background: #fff9dc;
    font-weight: bold;
    border: 1px solid #d4c35f;
}

/* 1126=========================
   TEAM PICK LISTS
=========================*/

#pickGame1Team1Users,
#pickGame2Team1Users,
#pickGame3Team1Users,
#pickGame4Team1Users,
#pickGame5Team1Users,
#pickGame6Team1Users,
#pickGame7Team1Users {
    background: linear-gradient(to right,#e8f1ff,#f4f8ff);
    border-left: 5px solid #0057b8;
    font-size: 22px;

    padding: 10px;
    margin-top: 12px;
    border-radius: 6px;
}

#pickGame1Team2Users,
#pickGame2Team2Users,
#pickGame3Team2Users,
#pickGame4Team2Users,
#pickGame5Team2Users,
#pickGame6Team2Users,
#pickGame7Team2Users {
    background: linear-gradient(to right,#fff0f0,#fff8f8);
    border-left: 5px solid #c0392b;
    font-size: 22px;
    padding: 10px;
    margin-top: 8px;
    border-radius: 6px;
}

/* =========================
   USER PICKS
========================= */

#userList1,
#userList2,
#userList3,
#userList4,
#userList5,
#userList6,
#userList7 {
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* =========================
   STANDINGS
========================= */

#standings,
#tally {
    background: #eef4ff;
    border: 1px solid #c9d8f2;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

#standings div,
#tally div {
    background: linear-gradient(to bottom, #ffe88a, #ffd700);
    border: 2px solid #c9a100;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    color: #4a3b00;
    box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

/* =========================
   FORMS
========================= */

input[type="text"],
input[type="password"],
select {
    padding: 8px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 14px;
}

#editor input {
    width: 120px;
}

#editor div {
    margin-bottom: 10px;
}

/* =========================
   BUTTONS
========================= */

button {
    background: #0057b8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: .25s;
}

button:hover {
    background: #003f85;
}

#userSelect {
    font-size: 30px;
    min-width: 250px;
    margin-right: 15px;
}

#updateBtn {
    font-size: 25px;
    min-width: 220px;
    padding: 12px 24px;
    font-weight: bold;
    margin-left: 15px;
}

#updateBtn:hover {
    background: #218838;
}

.game-status {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================
   PANELS
========================= */

#userSummary,
#editor {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,.15);
    margin-bottom: 20px;
    font-size: 20px;
}

/* =========================
   HR
========================= */

hr {
    border: none;
    border-top: 2px solid #d5dce5;
    margin: 25px 0;
}

/* =========================
   STATUS TEXT
========================= */

#numbers {
    color: #003366;
    font-weight: bold;
    font-size: 16px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    body {
        padding: 10px;
    }

    input[type="text"],
    input[type="password"],
    select,
    button {
        width: 100%;
        box-sizing: border-box;
    }

    .game-card {
        padding: 22px;
    }
}

/*1126 =====player row======
.player-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}*/
.player-row {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}


.player-row label {
    margin: 0;
}
.player-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #dbe8ff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.pick-card {
    background: #eef4ff;
    border: 2px solid #c9d8f2;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    margin-bottom: 25px;
}
.pick-game {
    background: white;
    border: 1px solid #d7e4f5;
    border-top: 5px solid #0057b8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.pick-game h3 {
    margin-top: 0;
    color: #003366;
}
#num1,
#num2,
#num3,
#num4,
#num5,
#num6,
#num7 {
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
}
.pick-banner {
    background: linear-gradient(
        90deg,
        #fff9dc,
        #fff3b0
    );
    border-left: 5px solid gold;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 20px;
}
#topGameTeams1,
#topGameTeams2,
#topGameTeams3,
#topGameTeams4,
#topGameTeams5,
#topGameTeams6,
#topGameTeams7 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 8px;
}
#editor {
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.player-row {
    justify-content: center;
    border: 1px solid #c9d8f2;
}
.pick-game {
    text-align: center;
}
.pick-game h3 {
    margin: -20px -20px 15px -20px;
    padding: 10px;
    background: #003366;
    color: white;
    border-radius: 10px 10px 0 0;
    text-align: center;
}
.pick-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
}
.pick-card {
    max-width: 900px;
    margin: auto;
}
.update-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;

    background: #dbe8ff;
    border: 1px solid #c9d8f2;

    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
}
.player-row {
    margin-bottom: 15px;
}
/* =====archived games======*/
.archived-team1-users {
    background: #e8f1ff;
    border-left: 4px solid #0057b8;
    border-radius: 6px;
    padding: 10px;
    margin-top: 12px;
}

.archived-team2-users {
    background: #fff0f0;
    border-left: 4px solid #c0392b;
    border-radius: 6px;
    padding: 10px;
    margin-top: 8px;
}
.player-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.pick-game-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /*grid-template-columns: 3fr 1.3fr;*/
    /*grid-template-columns: 70% 30%;*/
    gap: 15px;
    align-items: stretch;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
}
.game-info {
    min-width: 0;
}
#toggleEditGameBtn {
    display: block;
    margin: 20px auto;
    font-size: 30px;
    font-weight: bold;
    padding: 16px 40px;
    border-radius: 8px;
    cursor: pointer;
}



.pick-choice-header {
    background: #003366;
    color: white;

    text-align: center;
    font-weight: bold;

    padding: 12px;

    margin: 0;

    width: 100%;
    box-sizing: border-box;
}
.pick-choice {
    background: white;
    border: 2px solid #dce7f7;
    display: flex;
    flex-direction: column;
}

.pick-choice select {
    font-size: 18px;
    font-weight: 600;
    height: 55px;
    border-radius: 8px;
    margin: auto;
}

.selected-team1 {
    box-shadow:
        0 0 0 3px rgba(0,87,184,.25);
}

.selected-team2 {
    box-shadow:
        0 0 0 3px rgba(192,57,43,.25);
}

@media (max-width: 700px) {

    .pick-game-row {

        grid-template-columns: 1fr 280px;
        align-items: stretch;

    }

}
.hidden-game {
    display: none;
}

