/* --- Main body --- */

body {
    background-color: #18191d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}





/* -------------------- UNIVERSAL FOR ALL PAGES! -------------------- */



/* --- Universal menu bar --- */
.Header {
    background-color: #1d1f23;
    width: auto;
    height: 75px;
    display: flex;
    margin: -10px;
}


/* --- Universally makes all the links the same (will most likely be changed in the future) --- */
a {
    margin: auto;
    color: white;
    text-underline-offset: -500000px;
}


/* --- Changes the text for the header --- */
.HeaderText {
    font-size: 150%;

    margin: auto;
}


/* --- Logout button, currently disabled --- */
.Logout {
    background-color: #229fff;
    color: white;

    font-size: 100%;
    border-radius: 10px;

    background-size: 100%;

    margin-right: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}




/* ------------------------- HOMEPAGE ------------------------- */


/* --- Universal Design for the main homepage buttons --- */
.HomepageButton {
    background-color: #1d1f23;
    width: 500px;
    height: 120px;

    display: flex;
    border-radius: 20px;

    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

/* --- Just makes the playermanagement button a bit further down, presses everything else down too --- */
.Playermanagement {
    margin-top: 200px;
}

/* --- Universal design for the homepage card icons --- */
.CardIcon {
    width: 50px;
    height: 50px;
    
    margin: auto;
    margin-left: 30px;
}

/* --- Universal design for the homepage card buttons --- */
.CardButtonText {
    font-size: 150%;

    margin: auto;
    margin-left: -20px;
}

/* --- Design for the admin button, makes it smaller --- */
.Admin {
    margin-top: 50px;
    width: 300px;
    height: 100px;
}




/* ------------------------- Player Page ------------------------- */

/* --- Searchbar element --- */
.Searchbar {
    background-color: #1d1f23;

    width: 800px;
    height: 60px;
    
    display: flex;
    border-radius: 10px;

    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
}

.SearchInput {
    width: 100%;
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    background-color: #18191d;
    color: white;
}

.PlayerDisplay {
    background-color: #1d1f23;

    width: 800px;
    height: 70px;

    border-radius: 10px;

    margin: auto;
    margin-top: 20px;
    display: flex;
}

/* --- Player element, duplicates for every player --- */
.Player {
    background-color: #1d1f23;

    width: 800px;
    height: 100px;

    border-radius: 25px;

    margin: auto;
    margin-top: 20px;
    display: flex;
}

.PlayerInfo {
    margin: auto;
}

.tempsearch {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 20px;
}

/* ------------------------- Player Detail Page ------------------------- */

.PlayerDetailCard {
    background-color: #1d1f23;

    width: 800px;
    max-width: 90%;

    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    padding: 30px;

    border-radius: 20px;
}

.PlayerDetailRow {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.PlayerDetailRow label {
    margin-bottom: 5px;
    font-weight: bold;
}

.PlayerDetailRow input {
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.PlayerDetailRow span {
    padding: 8px 0;
}

.PlayerDetailActions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.PlayerDetailActions button {
    background-color: #229fff;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}