/* --- Login Page Specific Styles --- */
body {
    background-color: var(--bg-light); /* Latar belakang halaman login */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-body);
}

.login-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.login-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
}

.login-header {
    margin-bottom: 30px;
}

.login-logo {
    height: 80px;
    margin-bottom: 15px;
}

.login-header h2 {
    font-size: 2em;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 1em;
}

.login-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 15px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.login-tab-content {
    display: none;
}

.login-tab-content.active {
    display: block;
}

.login-tab-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.login-tab-content .tab-description {
    font-size: 0.95em;
    color: #777;
    margin-bottom: 25px;
}

/* Google SSO Button Styling */
.g_id_signin {
    margin: 0 auto 25px auto;
    width: fit-content; /* Atau set lebar spesifik */
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #aaa;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider:not(:empty)::before {
    margin-right: .25em;
}

.divider:not(:empty)::after {
    margin-left: .25em;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.btn-block {
    width: 100%;
    margin-top: 15px;
}

.forgot-password-link {
    display: block;
    margin-top: 15px;
    font-size: 0.9em;
    color: var(--primary-color);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
    }
    .login-header h2 {
        font-size: 1.8em;
    }
    .tab-button {
        padding: 12px 15px;
        font-size: 1em;
    }
}