body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #1b1b1b;
    color: #e2e2e2;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header {
    margin-bottom: 40px;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin: 0;
}

form {
    background-color: #292929;
    color: #e2e2e2;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    justify-content: center;
}

#username-tag {
    display: flex;
    align-items: center;
    width: 100%;
}

#username-tag input[type="text"] {
    padding: 12px;
    border: 1px solid #555;
    background-color: #333;
    color: #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#role {
    background-color: #333;
    border-radius: 4px;
    outline: 0;
    border: 1px solid #555;
}

#username-tag input[type="text"]:first-child {
    flex-grow: 7; /* 70% */
    width: 65%;
}

#username-tag input[type="text"]:last-child {
    flex-grow: 3; /* 30% */
    width: 30%;
}

#username-tag span {
    padding: 0 8px;
    color: #ddd; /* Ensuring the '#' is visible and aligned */
}

input, select {
    width: 100%;
    height: 40px;
}

input::placeholder, select {
    color: #ddd;
}

button {
    background-color: #6772e5;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #5469d4;
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid transparent;
    border-top: 4px solid #26d7f4; /* Gradient start color */
    border-right: 4px solid #4d9f0c00; /* Gradient end color */
    border-bottom: 4px solid #26d7f4; /* Gradient start color */
    border-left: 4px solid #4d9f0c00; /* Gradient end color */
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin-top: 50px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
