.fd {
    background-color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: 0.05rem solid gray;
}
.fd p {
    font-size: 0.8rem;
    max-width: 59rem;
    color: rgb(47, 74, 102);
    padding: 2rem 5vw;
    line-height: 1.2rem;
}
.container-div {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 59rem;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}
/* GENERAL - start */
    .sec-pub,
    .sec-name {
        background-color: rgba(255, 255, 255, 0.235);
        padding: 1rem 0;
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        height: fit-content;
    }
    .sec-pub {
        display: flex;
    }
    .sec-name {
        display: none;
    }
/* GENERAL - end */


/* SHARED - start */
.country-fs {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
}
.country-fs img {
    height: 1.5rem;
    width: auto;
}
.country-fs div {
    display: flex;
    gap: 0.15rem;
}
.country-fs label {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 1.75rem;
    padding: 0 0.4rem;
    max-width: 16rem;
    border: 0.04rem solid gray;
    background-color: #f5f5f5;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
}
    .column-div {
        height: 100%;
        display: flex;
        flex-direction: column;
        width: 98%;
        max-width: 21rem;
    }
    .player-finder-form {
        border-radius: 0 0 0.5rem 0.5rem;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: start;
        padding: 1rem;
        width: 100%;
        background-color: #ffffff;
    }
    .player-finder-form h3 {
        margin-bottom: 1rem;
        font-size: 1rem;
        color: #576b81;
    }
    #namesearch-form h3 {
        margin-bottom: 0;
    }
    .player-finder-form fieldset {
        display: flex;
        border: none;
        border-top: 0.05rem solid gray;
        margin-bottom: 1rem;
        padding: 0.5rem 0;
        height: fit-content;
    }
    .player-finder-form .league-fs {
        margin-bottom: 0;
    }
    .player-finder-form legend {
        margin-bottom: 0.25rem;
        color: #268ed3;
        font-size: 0.8rem;
        font-weight: 600;
    }
    .fieldset-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .playertype-fieldset,
    .gender-fieldset,
    .agegroup-fieldset {
        width: 100%;
        gap: 0.15rem;
    }
    .nation-fieldset {
        gap: 0.15rem;
    }
    .playertype-fieldset label,
    .nation-fieldset label,
    .gender-fieldset label,
    .agegroup-fieldset label {
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 1.75rem;
        width: 100%;
        border: 0.05rem solid gray;
        background-color: #f5f5f5;
    }
    .nation-fieldset label {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        gap: 0.25rem;
        margin-bottom: 0.15rem;
        padding-left: 0.3rem;
    } 
    input[type="radio"] {                                                   
        opacity: 0;
        position: absolute;
    }
    .playertype-fieldset label:hover,
    .nation-fieldset label:hover,
    .gender-fieldset label:hover,
    .agegroup-fieldset label:hover {
        background-color: rgb(231, 231, 231);
    }
    input[type="radio"]:checked + label {
        background-color: #242424;
        color: rgb(255, 255, 255);
    }
    .find-player-button {
        align-self: center;
        width: 100%;
        height: 2.4rem;
        border: none;
        background-color: #3498db;
        color: white;
        font-size: 0.8rem;
        border-radius: 0.2rem;
        cursor: pointer;
        font-weight: bold;
        display: flex;
        justify-content: center;    
        align-items: center;
    }
    .find-player-button:not([disabled]):hover {
        background-color: #2980b9;
    }
    #filter-button_name,
    #filter-button,
    #filter-button_recruiter {
        position: absolute;
        background-color: #ffffff00;
        width: 100%;
        height: 100%;
        border: none;
    }
    .results-sec {
        display: flex; 
        flex-direction: column;
        justify-content: start; 
        align-items: center;
        border-top: 0.05rem solid gainsboro;
        max-width: 36rem;
        width: 100%;
        background-color: #ffffff;
        border-radius: 0.5rem;
        gap: 0.5rem;
        border-bottom: 0.05rem solid rgb(230, 230, 230);
    }
    .results-div {
        width: 100%;
        height: calc(100% - 5.5rem);
        padding: 0rem 0.1rem;
    }
    .column-div h2,
    .results-sec h2 {
        color: rgb(190, 190, 190);
        font-size: 0.8rem;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 2.5rem;
        border-radius: 0.5rem 0.5rem 0px 0px;
        border-bottom: 0.05rem solid rgb(230, 230, 230);
        background-color: #ffffff;
        width: 100%;
    }
/* SHARED - end */


/* finder-nav - start */
    .finder-nav {
        margin-top: 2.5rem;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%; 
        height: 5rem;
        gap: 0.05rem;
        background-color: rgb(223, 223, 223);
    }
    .finder-nav label {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 4rem;
        width: 15rem;
        background-color: rgb(56, 56, 56);
        color: rgb(199, 199, 199);
        letter-spacing: 0.05rem;
        font-weight: 100;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .finder-nav-search-hover:hover {
        background-color: rgb(95, 95, 95);
    }
    .finder-nav input[type="radio"]:checked + label {
        background-color: rgb(0, 0, 0);
        color:rgb(255, 255, 255);
    }
    .finder-nav label span:first-child::after {
        content: '\00a0'; /* Unicode for non-breaking space */
    }
    @media (max-width: 540px) {
        .finder-nav label {
            flex-direction: column;
        }
        .finder-nav label span:first-child::after {
            content: ""; /* Removes the space by setting content to nothing */
        }
    }
/* finder-nav - end */


/* PUBLIC-SECTION - start */
    .nation-fieldset {
        display: flex;
        width: 100%;
    }
    .country-option {
        width: 100%;    
    }
    .country-option img {
        height: 1.25rem;
    }
/* PUBLIC-SECTION - end */


/* NAME-SECTION - start */
    .namesearch-content {
        display: flex;
        width: 100%;
    }
    .namesearch-content input {
        height: 2.4rem;
        font-size: 1.1rem;
        width: 100%;
        padding: 0px 0.5rem;
        border: 0.05rem solid rgb(148, 148, 148);
        color: rgb(29, 29, 29);
    }
    .namesearch-content button {
        height: 2.4rem;
        width: 4rem;
        padding-top: 0.1rem;
        padding-left: 0.1rem;
        background-color: #3498db;
        border: 0.05rem outset rgb(173, 173, 173);
        border-left: none;
        display: flex; 
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 0.8rem;
        cursor: pointer;
        font-weight: bold;
    }
    .suggestion-box {
        z-index: 99;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        width: 100%;
        border: 0.05rem solid gray; 
        border-top: none;
        font-size: 0.9rem;
        max-height: 20rem;
        overflow: hidden scroll;
    }
    .name-style-dv {
        padding: 0.4rem 0.3rem;
        border-bottom: 0.05rem solid gainsboro;
    }
    .name-style-dv:hover {
        background-color: #222222;
        color:white
    }
    .name-style-dv:active{
        background-image: none;
        background-color: #838383;
        color: white;
    }
/* NAME-SECTION - end */


/* Responsive - START */
    @media (max-width: 1200px) {
        .sec-pub,
        .sec-name,
        .sec-rec {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        .results-sec {
            margin-top: 1rem;
            max-width: 50rem;
            width: 98%;
        }
        .finder-nav { 
            margin-top: 1rem;
        }
    }

    @media (max-width: 510px) {
        .class-h1 {
            font-size: 0.95rem;
        }
    } 

/* Responsive - END */
