body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    color: #333;
}

h2 {
    color: #0056b3;
}

button {
    padding: 8px 15px;
    margin-top: 10px;
    margin-right: 5px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #004494;
}

#email-login-section, #firebase-auth-section, #firebaseui-auth-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
}

#login-form input[type="email"],
#login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#login-form button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #0056b3;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#login-form button:hover {
    background-color: #004494;
}

#token-display {
    background-color: #e8f4fd;
    color: #0056b3;
    border: 1px solid #0056b3;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    word-wrap: break-word;
    font-family: monospace;
    max-width: 80%; /* Set maximum width relative to screen size */
    overflow: auto;  /* Ensures content is scrollable if it overflows */
    margin-left: auto; /* Centers the token display */
    margin-right: auto; /* Centers the token display */
}

#token-display:before {
    content: "Token: ";
    font-weight: bold;
}

#loader {
    margin-top: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

#error-message {
    margin-top: 10px;
}
