@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

*, h1 {
    font-family: 'Roboto', sans-serif!important;
}

h1 {
    text-align: center;
}

.header {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-top: 1rem;
}
#toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

.btn {
    background-color: #424242!important;
    width: 250px;
}

.btn:hover {
    background-color: #616161!important;
}

#toast-container {
    position: fixed; /* Ensure it stays in one place without affecting content */
    bottom: 20px;    /* Position it at the bottom of the screen */
    right: 20px;
    z-index: 1000;   /* Keep it above most elements but below interactive fields */
    pointer-events: none; /* Prevent it from intercepting clicks */
}

.centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

span {
    color: #424242!important;
}

/* Remove the default focus ring or color */
#language-select:focus {
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Customize the background color when the select is focused */
.input-field select:focus {
    background-color: #f0f0f0 !important; /* Change to your desired color */
    color: #000 !important; /* Optional: Change text color */
}

  /* Optional: Change the hover color as well */
.input-field select:hover {
    background-color: #e0e0e0 !important; /* Lighter background */
}

#register-btn {
    position: relative;
    padding: 10px 20px; /* Adjust padding to your needs */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#spinner {
    display: none;
    position: absolute;
    left: 40%;
    transform: translateX(-50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}