/* login-style.css */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

.auth-container {
    width: 400px;
    max-width: 90%;
    background: var(--sidebar-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.auth-container h1 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #fff;
}

.form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ccc;
}
.form-group input {
    padding: 0.7rem;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-auth {
    width: 100%;
    background: var(--brand-color);
    color: #111;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
}
.btn-auth:disabled {
    background: #555;
    cursor: not-allowed;
}

.toggle-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
}
.toggle-link button {
    background: none;
    border: none;
    color: var(--brand-color);
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}

#register-form {
    display: none; /* Sembunyi by default */
}

#auth-status {
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
    font-size: 0.9rem;
}
.msg-success { color: #4caf50; }
.msg-error { color: #f44336; }