/* ----- DOCUMENT ----- */
html{
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
    'Helvetica Neue', sans-serif;
    background-color: rgb(255, 255, 255);
}
#navigation{
    font-size: 20px;

}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #2B690B; /* Switched to the green theme */
    color: white;
    overflow: hidden;
}
#title, #title1 {
    margin: 0;
    padding-left: 25px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.nav-menu a:hover {
    color: #FFF9C4; /* Soft light yellow instead of gray/gold */
}
.filter-container select:focus,
.filter-container #PickInput:focus,
.filter-container #resetButton:active {
    background-color: #FFF9C4 !important;
    color: #2B690B;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
    outline: none;
}
.filter-container select:hover,
.filter-container #resetButton:hover {
    background-color: #fcfdf5;
    cursor: pointer;
}
.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}
.nav-menu a:hover {
    color: #D3D3D3;
}
.tagline-container {
    background-color: #2B690B;
    border-bottom: 3px solid #2B690B;
    padding: 10px 0;
    text-align: center;
}
.tagline {
    color: #ffffff;
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#draftBegins{
    color: #ffffff;
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#countDownTimer{
    color: #ffffff;
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#countDownTimerMeasure{
    color: #ffffff;
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    word-spacing: 10px;
    font-size: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ----- HEADER ----- */


#resetButton:hover {
    background-color: #FFF9C4;
    color: #2B690B;
    border-color: #2B690B;
    box-shadow: 0 0 12px rgba(255, 249, 196, 0.6);
}
#PlayerInput:focus {
    border-color: #FFF9C4;
    box-shadow: 0 4px 12px rgba(43, 105, 11, 0.1);
}
.filter-container {
    display: flex;
    max-width: 650px;
    margin: 20px auto;
    border: 2px solid #2B690B;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}
.filter-container select,
.filter-container #PickInput,
.filter-container #resetButton {
    flex: 1;
    border: none;
    border-right: 1px solid #2B690B;
    border-radius: 0;
    margin: 0;
    height: 48px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background-color: #ffffff;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;


    appearance: none !important;
    -webkit-appearance: none;
    background-image: none !important;
    text-align: center;
}
.filter-container *:last-child {
    border-right: none;
}
.filter-container #NFLTeam{
    max-width: 110px;
}
.filter-container #NFLTeam,
.filter-container select {
    text-align: center;
    text-align-last: center;

    /* Force remove all internal offsets */
    padding: 0 !important;
    text-indent: 0px !important;
    margin: 0 !important;

    /* Standardizes the appearance across browsers */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.nav-menu a:hover {
    color: #FFF9C4;
}
.filter-container select:focus,
.filter-container #PickInput:focus,
.filter-container #resetButton:active {
    background-color: #FFF9C4 !important;
    color: #2B690B;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
    outline: none;
}
.filter-container select:hover,
.filter-container #resetButton:hover {
    background-color: #fcfdf5;
    cursor: pointer;
}
#PickInput {
    max-width: none;
}

/* ----- TABLE ----- */
table {
    width: 100%;
    border-collapse: collapse;
}
.table-container {
    border: 1px solid #2B690B;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}
#draftTable, #draftTable1 {
    border-collapse: collapse;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
th, td {
    border: 1px solid #2B690B;
    padding: 8px;
    text-align: left;
}
tr{
    border: 3px solid #2B690B;
}
select{
    padding: 10px 15px;
    border: 2px solid #2B690B;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    padding-right: 40px;
}
#resetButton, #PickInput{
    padding: 10px 15px;
    border: 2px solid #2B690B;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-position: right 10px center;
    background-size: 1em;
    padding-right: 40px;
}
#PlayerInput {
    width: 650px;
    height: 48px;
    text-align: center;
    border: 2px solid #2B690B;
    border-radius: 8px;
    outline: none;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: #2B690B;
    letter-spacing: 0.5px;
}
#PlayerInput::placeholder, ::placeholder {
    color: #000000;
    opacity: 0.7;
    font-weight: 700;
}

#PlayerInput:focus {
    border-color: #fdd835;
    box-shadow: 0 4px 12px rgba(253, 216, 53, 0.3);
}
#searchPlayer{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    max-width: 40px;
}
#playerInput{
    text-align: center;
}
#PlayerInput:focus {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(43, 105, 11, 0.15);
}
select:focus {
    border-color: #D3D3D3;
    box-shadow: 0 0 8px rgba(253, 216, 53, 0.3);
}
#draftTable{
    margin-bottom: 10px;
}
#PickInput{
    max-width: 68px;
}
#NFLTeam{
    width: 250px;
    align-content: center;
}
#PositionList{
    width: 310px;
}
#CollegeList{
    width: 263px;
}

.filter-container #PositionList{
    min-width: 90px;
}
.filter-container #RoundList{
    min-width: 90px;
}

/* --- ANIMATION --- */

@keyframes rowBounceIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-row {
    opacity: 0;
    animation: rowBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@media (max-width: 480px) {

    /* 1. HEADER: Keep space between Title and Home */
    .header {
        flex-direction: column; /* Stacks title above nav for better spacing */
        gap: 15px;             /* Space between "Draft Jockie" and links */
        padding: 1.5rem 0;
        text-align: center;
    }


    #title {
        padding-left: 0;       /* Center the title on mobile */
        font-size: 1.3rem;
    }

    .nav-menu {
        justify-content: center;
        gap: 10px;
        text-align: center;
        width: 100%;
        font-size: 20px;
    }

    /* 1. Stack the box and make it bigger */
    .filter-container {
        flex-direction: column;
        max-width: 94%;        /* Increased from 90% for a fuller look */
        margin: 30px auto;     /* Increased vertical space to 30px */
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* 2. Make buttons bigger and center the text (Pick, Position, etc.) */
    .filter-container select,
    .filter-container #PickInput,
    .filter-container #resetButton,
    .filter-container #NFLTeam {
        height: 64px;            /* Slightly taller for a "bigger" feel */
        width: 100% !important;
        font-size: 25px;         /* Slightly larger font */
        border-right: none;
        border-bottom: 1px solid #2B690B;
        padding: 0 !important;   /* Keeps text perfectly centered */
        text-align: center;
        text-align-last: center;
    }


    /* 3. Specifically fix the Pick input alignment */
    #PickInput, #NFLTeam{
        max-width: 100% !important;
        text-align: center;
    }

    /* 4. Remove the divider from the bottom button */
    .filter-container *:last-child {
        border-bottom: none;
    }

    /* 5. Make the Search Bar match the bigger mobile style */
    #PlayerInput {
        width: 95%;
        height: 60px;
        font-size: 16px;
        padding: 0 !important;
        text-align: center;
    }
    /* 5. Hide the extra container spacing if necessary */
    #searchPlayer {
        max-width: 100%;
        padding: 0;
    }
}

/* --- Standings Page --- */
#afcTable {
    border-collapse: collapse;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
#nfcTable {
    border-collapse: collapse;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.division-header {
    background-color: #2B690B;
    color: white;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}
#FinalStandings{
    display: flex;
    justify-content: center;
}
.winner {
    font-weight: bold;
    background-color: rgba(253, 216, 53, 0.2);
}
.container {
    display: flex;
    justify-content: space-between;
    gap: 30px; /
    flex-wrap: wrap;
}
.table-column {
    flex: 1;
    min-width: 450px;
}
#afcTable, #nfcTable {
    width: 100%;
    margin-top: 10px;
}
#nfc-column{
    max-width: 320px;
}
#afc-column{
    max-width: 320px;
}
@media (max-width: 480px) {
    .table-column {
        min-width: 100%;
    }
}
.conference-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.conference-column {
    flex: 1;
    min-width: 320px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

/* --- College Teams Page --- */

#college-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.conference-container {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}
.conference-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.conference-container th {
    background-color: #2B690B;
    color: white;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    text-align: center;
    padding: 8px;
}
.conference-container td {
    border: 1px solid #2B690B;
    padding: 6px 8px;
    text-align: center;
}
.fade-in-row {
    opacity: 0;
    animation: rowBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes rowBounceIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 480px) {
    #college-container {
        gap: 20px;
        padding: 10px;
    }

    .conference-container {
        min-width: 100%;
        max-width: 100%;
    }
}
#piersonLuscyProduction{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: #2B690B;
}
