.hidden {
    display: none !important;
}

#auth-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.login-form h2 {
    text-align: center;
    margin: 0 0 10px;
}

.login-form input,
.login-form select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form button {
    padding: 10px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-form p {
    text-align: center;
    margin-top: 10px;
}

.login-form a {
    color: #4caf50;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.auth-links {
    margin-top: 0 !important;
    font-size: 14px;
}

.auth-help {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.auth-msg {
    margin: 0;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.auth-msg-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.auth-msg-error {
    background: #ffebee;
    color: #b40b2c;
}

.auth-back-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #6c4e09;
    text-decoration: none;
    font-weight: 700;
}

.auth-back-link:hover {
    text-decoration: underline;
}

.register-msg {
    background: #4caf50;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
    animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}