/* Specific styles for the login page */
.login-container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #121212, #1a1a2e);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    color: #fff;
}

.login-logo {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: auto;
}

.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-form .form-group label {
    font-size: 14px;
    color: #ccc;
    display: block;
    margin-bottom: 5px;
}

.login-form .form-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.login-btn {
    background: linear-gradient(90deg, #ff5e57, #ff9966);
    border: none;
    padding: 12px 20px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    width: 100%;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(90deg, #ff9966, #ff5e57);
}

.register-link {
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
}

.register-link a {
    color: #ff9966;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        /* Ensures the body still fills the viewport */
        margin: 0;
    }

    .login-container {
        flex: 1;
        /* Makes the container take up remaining vertical space */
        display: flex;
        min-height: fit-content;
        justify-content: center;
        align-items: center;
        padding: 20px;
        /* Adds spacing around the login card */
    }

    footer {
        text-align: center;
        padding: 10px;
        background-color: #000;
        /* Matches the theme */
        color: #fff;
    }
}

.forgot-password-wrapper {
    text-align: center;
    margin-top: 15px;
}

.forgot-password-link {
    font-size: 14px;
    color: #ff9966;
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.register-wrapper {
    text-align: center;
    margin-top: 30px;
}

.register-link {
    font-size: 14px;
    color: #ddd;
}

.register-link a {
    color: #ff9966;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}
.error-message {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff5e57;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}