/* ========================================
   SANOCARE LOGIN - Staging Theme (Gold)
   ======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Latar Belakang Gradient Gold Navy */
body, html {
    height: 100%;
    background: linear-gradient(135deg, #12100d 0%, #78350f 50%, #12100d 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* Effect Partikel Cahaya Gold di Latar Belakang */
body::before, body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
}
body::before {
    width: 320px;
    height: 320px;
    background: rgba(245, 158, 11, 0.35); /* Amber */
    top: 10%;
    left: 15%;
}
body::after {
    width: 380px;
    height: 380px;
    background: rgba(217, 119, 6, 0.2); /* Gold Terang */
    bottom: 10%;
    right: 15%;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Container Glassmorphism Utama */
.login-card {
    width: 100%;
    max-width: 920px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Sisi Kiri: Banner Glassmorphism */
.login-banner {
    flex: 1;
    background: rgba(217, 119, 6, 0.25); /* Tint Gold Glass */
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.banner-desc {
    color: rgba(241, 245, 249, 0.85);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Sisi Kanan: Form Container Glass */
.login-form-container {
    flex: 1;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.form-subtitle {
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.875rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f1f5f9;
    display: block;
}

.link-forgot {
    color: #fbbf24; /* Gold Terang */
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
}

.link-forgot:hover {
    text-decoration: underline;
    color: #fde68a;
}

/* Input Glass Transparan */
.custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    outline: none;
    transition: all 0.25s ease;
}

.custom-input::placeholder {
    color: rgba(203, 213, 225, 0.6);
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.25);
}

/* Password Wrapper */
.input-group-pw {
    display: flex;
    position: relative;
}

.input-group-pw .custom-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0 16px;
    color: rgba(226, 232, 240, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.toggle-btn:hover {
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.15);
}

/* Checkbox & Button */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.checkbox-input {
    width: 16px;
    height: 16px;
    accent-color: #d97706;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.8);
    cursor: pointer;
}

/* Tombol Utama Gold Identik */
.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.45);
}

.error-msg {
    color: #fca5a5;
    font-size: 0.8rem;
    margin-top: 6px;
    display: block;
}

@media (max-width: 768px) {
    .login-banner {
        display: none;
    }
    .login-form-container {
        padding: 32px 20px;
    }
}