	:root {
    /* Bank Papua Color Palette */
    --primary-blue: #003c7d;
    --secondary-blue: #0052a5;
    --accent-gold: #f4b41a;
    --light-gold: #ffd866;
    --dark-blue: #002554;
    --bg-light: #f8fafb;
    --bg-white: #ffffff;
    --text-dark: #1a1d29;
    --text-medium: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --error-red: #dc2626;
    --error-bg: #fef2f2;
    --shadow-sm: 0 1px 2px 0 rgba(0, 60, 125, 0.05);
    --shadow-md:
        0 4px 6px -1px rgba(0, 60, 125, 0.1),
        0 2px 4px -1px rgba(0, 60, 125, 0.06);
    --shadow-lg:
        0 10px 15px -3px rgba(0, 60, 125, 0.1),
        0 4px 6px -2px rgba(0, 60, 125, 0.05);
    --shadow-xl:
        0 20px 25px -5px rgba(0, 60, 125, 0.1),
        0 10px 10px -5px rgba(0, 60, 125, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        "Plus Jakarta Sans",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    display: flex;
  	font-size:90%;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--secondary-blue) 50%,
        var(--dark-blue) 100%
    );
    position: relative;
    overflow: auto;
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    padding: 0 1.5rem;
  	margin-top: 2rem;
  	margin-bottom: 2rem;
}

.login-card {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
      
.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--primary-blue) 0%,
        var(--accent-gold) 50%,
        var(--secondary-blue) 100%
    );
}

.logo-container {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--secondary-blue) 100%
    );
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}


.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-white);
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.login-subtitle {
    font-size: 0.9375rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 2rem;
}

.error-container {
    background: var(--error-bg);
    border: 1px solid var(--error-red);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: shake 0.5s ease-in-out;
}


.error-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.error-container li {
    color: var(--error-red);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.error-container li:last-child {
    margin-bottom: 0;
}

.error-container li::before {
    content: "\f06a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.125rem;
    transition: color 0.2s ease;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    background: var(--bg-light);
    font-family: "Plus Jakarta Sans", sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 60, 125, 0.1);
}

.form-input:focus + .input-icon {
    color: var(--primary-blue);
}

.form-input::placeholder {
    color: var(--text-light);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.checkbox-input {
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    accent-color: var(--primary-blue);
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    cursor: pointer;
    user-select: none;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--secondary-blue) 100%
    );
    color: var(--bg-white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.btn-login:hover i {
    transform: translateX(4px);
}

.forgot-password-link {
    text-align: center;
}

.forgot-password-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.forgot-password-link a:hover {
    color: var(--secondary-blue);
    gap: 0.5rem;
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.divider-text {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-text {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-text a {
    color: var(--light-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-text a:hover {
    color: var(--accent-gold);
}

/* Loading State */
.btn-login.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-login.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--bg-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .logo-wrapper {
        width: 70px;
        height: 70px;
    }

    .logo-text {
        font-size: 1.75rem;
    }
}
