/* The Modal (background) */
.racePanel {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: #474e5d;
    padding-top: 50px;
}

/* Modal Content/Box */
.racePanel-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto;
    /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
}

/* Add a background color when the inputs get focus */
input:focus{
    background-color: var(--inputFC);
    outline: none;
}

.buttonIn { 
    width: 80%; 
    position: relative;
    display: flex; 
    height:1.5em;
    justify-content: center;
    margin: 1em
} 

.addNewRaceDiv{
        width: 90%; 
        position: relative;
        display: flex; 
        height:1.5em;
        justify-content: center;
        margin: 1em
}

.buttonIn:first-child {
    margin-right: 1em;
  }

.raceNameEdit {
    width: 50%; 
    border: none;
    outline: none;
    background: var(--inputC);
}
  
.btnInside { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 100%;
    margin: 0;
    padding:0;
    cursor: pointer; 
} 

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index:10;
}

.popup-content {
    text-align: center;
}