body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

body {
    background-color: #f8f9fa;
    color: #343a40;
}

.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.form-container h1 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
}

.form-container label {
    margin: 10px 0 5px;
    font-weight: 500;
}

.form-container input {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #ffffff;
    color: #495057;
    transition: border-color 0.3s;
}

.form-container input:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-container button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-container button:hover {
    background-color: #0056b3;
}

.form-container p {
    text-align: center;
    margin-top: 15px;
    color: #6c757d;
}

.form-container a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.form-container a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.login-btn {
    flex: 1;
    margin-right: 10px;
    width: 100%;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    width: 40px;
    height: 40px;
    padding: 0; 
}

.discord-btn:hover {
    transform: scale(1.1);
}

.discord-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.privacy-policy {
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #6c757d;
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.privacy-policy a {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-policy a:hover {
    color: #0056b3;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .discord-btn {
        width: 40px;
        height: 40px;
    }
}


/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0; /* Light text */
}

body.dark-mode .form-container {
    background-color: #282828;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .form-container h1 {
    color: #66b3ff;
}

body.dark-mode .form-container input {
    background-color: #3c3c3c;
    border-color: #555;
    color: #d0d0d0;
}

body.dark-mode .form-container input:focus {
    border-color: #66b3ff;
    box-shadow: 0 0 0 0.2rem rgba(102, 179, 255, 0.25);
}

body.dark-mode .form-container button {
    background-color: #66b3ff;
}

body.dark-mode .form-container button:hover {
    background-color: #529ddb;
}


body.dark-mode .form-container a {
    color: #66b3ff;
}

body.dark-mode .form-container a:hover {
    color: #529ddb;
}

body.dark-mode .privacy-policy {
    background-color: #282828;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: #d0d0d0;
}

body.dark-mode .privacy-policy a {
    color: #66b3ff;
}

body.dark-mode .privacy-policy a:hover {
    color: #529ddb;
}