.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 1rem;
}

.login-form input {
    padding: 0.8rem;
    border: 2px solid #5865F2;
    border-radius: 8px;
    background-color: #2C2F33;
    color: #fff;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: #4752C4;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.login-form button {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background-color: #5865F2;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-form button:hover {
    background-color: #4752C4;
}

.login-links {
    margin-top: 1rem;
    text-align: center;
}

.login-links a {
    color: #7289DA;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-links a:hover {
    text-decoration: underline;
}

.error-message, .success-message {
    padding: 1rem;
    border-radius: 8px;
    color: white;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    max-width: 400px;
}

.error-message {
    background-color: #F04747;
}

.success-message {
    background-color: #43B581;
}

/* For screen-reader only */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
