/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 18 Jul 2026, 11:47:33 pm
    Author     : wanmu
*/


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Segoe UI", sans-serif;
        }

        body {
            min-height: 100vh;
            background:
                radial-gradient(circle at top left, rgba(37,99,235,0.25), transparent 30%),
                radial-gradient(circle at bottom right, rgba(124,58,237,0.22), transparent 30%),
                linear-gradient(135deg, #eff6ff, #f8fbff, #ffffff);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            transition: 0.25s ease;
        }

        a:hover {
            opacity: 0.85;
        }

        @keyframes floatMove {
            0% {
                transform: translate(0, 0) scale(1);
            }
            100% {
                transform: translate(35px, -25px) scale(1.08);
            }
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(28px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideRight {
            from {
                opacity: 0;
                transform: translateX(-35px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes softPulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 0 rgba(255,255,255,0);
            }
            50% {
                transform: scale(1.03);
                box-shadow: 0 0 28px rgba(255,255,255,0.18);
            }
        }

        .background-blur {
            position: fixed;
            border-radius: 50%;
            filter: blur(90px);
            opacity: 0.45;
            z-index: 0;
            animation: floatMove 8s ease-in-out infinite alternate;
        }

        .blur1 {
            width: 240px;
            height: 240px;
            background: #60a5fa;
            top: 60px;
            left: 40px;
        }

        .blur2 {
            width: 300px;
            height: 300px;
            background: #a78bfa;
            bottom: 20px;
            right: 40px;
            animation-delay: 1.5s;
        }

        .blur3 {
            width: 190px;
            height: 190px;
            background: #34d399;
            top: 45%;
            left: 48%;
            opacity: 0.22;
            animation-delay: 3s;
        }

        .login-wrapper {
            width: 100%;
            max-width: 1080px;
            min-height: 650px;
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            background: rgba(255,255,255,0.72);
            border: 1px solid rgba(255,255,255,0.6);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(15,23,42,0.14);
            position: relative;
            z-index: 1;
            animation: fadeUp 0.85s ease;
            transition: 0.35s ease;
        }

        .login-wrapper:hover {
            transform: translateY(-4px);
            box-shadow: 0 36px 70px rgba(15,23,42,0.18);
        }

        .left-panel {
            padding: 50px;
            background:
                linear-gradient(135deg, rgba(37,99,235,0.96), rgba(29,78,216,0.95), rgba(91,33,182,0.94));
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            animation: slideRight 0.9s ease;
        }

        .left-panel::before {
            content: "";
            position: absolute;
            top: -70px;
            right: -70px;
            width: 220px;
            height: 220px;
            background: rgba(255,255,255,0.12);
            border-radius: 50%;
            animation: softPulse 5s ease-in-out infinite;
        }

        .left-panel::after {
            content: "";
            position: absolute;
            bottom: -90px;
            left: -60px;
            width: 240px;
            height: 240px;
            background: rgba(255,255,255,0.08);
            border-radius: 50%;
            animation: softPulse 6s ease-in-out infinite;
        }

        .brand {
            position: relative;
            z-index: 1;
        }

        .brand-top {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .brand-top img {
            width: 54px;
            height: 54px;
            object-fit: contain;
            background: rgba(255,255,255,0.18);
            border-radius: 16px;
            padding: 8px;
            transition: 0.3s ease;
        }

        .brand-top img:hover {
            transform: rotate(-4deg) scale(1.06);
        }

        .brand-top h1 {
            font-size: 24px;
            font-weight: 800;
            letter-spacing: 0.3px;
        }

        .tagline {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.14);
            padding: 8px 14px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 22px;
            border: 1px solid rgba(255,255,255,0.18);
        }

        .brand h2 {
            font-size: 42px;
            line-height: 1.15;
            margin-bottom: 16px;
            max-width: 480px;
        }

        .brand p {
            color: rgba(255,255,255,0.88);
            font-size: 16px;
            line-height: 1.8;
            max-width: 470px;
        }

        .info-grid {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-top: 35px;
        }

        .info-card {
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.16);
            border-radius: 18px;
            padding: 18px;
            backdrop-filter: blur(10px);
            transition: 0.3s ease;
        }

        .info-card:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.18);
        }

        .info-card i {
            margin-bottom: 12px;
        }

        .info-card h4 {
            font-size: 15px;
            margin-bottom: 6px;
        }

        .info-card p {
            font-size: 13px;
            line-height: 1.6;
            color: rgba(255,255,255,0.82);
        }

        .role-box {
            position: relative;
            z-index: 1;
            margin-top: 30px;
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.16);
            border-radius: 20px;
            padding: 20px;
        }

        .role-box h3 {
            font-size: 18px;
            margin-bottom: 14px;
        }

        .role-list {
            display: grid;
            gap: 10px;
        }

        .role-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
            background: rgba(255,255,255,0.10);
            border-radius: 14px;
            font-size: 14px;
            color: rgba(255,255,255,0.95);
            transition: 0.25s ease;
        }

        .role-item:hover {
            transform: translateX(5px);
            background: rgba(255,255,255,0.16);
        }

        .right-panel {
            background: rgba(255,255,255,0.82);
            padding: 44px 42px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-card {
            width: 100%;
            max-width: 420px;
            animation: fadeUp 1s ease;
        }

        .mobile-logo {
            display: none;
            text-align: center;
            margin-bottom: 20px;
        }

        .mobile-logo img {
            width: 64px;
        }

        .back-wrap {
            margin-bottom: 18px;
            display: flex;
            justify-content: flex-start;
        }

        .back-home {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #2563eb;
            font-weight: 800;
            font-size: 14px;
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            padding: 10px 14px;
            border-radius: 999px;
            box-shadow: 0 8px 18px rgba(37,99,235,0.08);
            transition: 0.25s ease;
        }

        .back-home:hover {
            transform: translateX(-4px);
            background: #dbeafe;
            opacity: 1;
        }

        .welcome {
            text-align: center;
            margin-bottom: 24px;
        }

        .welcome h2 {
            font-size: 32px;
            color: #0f172a;
            margin-bottom: 8px;
        }

        .welcome p {
            color: #64748b;
            font-size: 15px;
            line-height: 1.7;
        }

        .error {
            background: #fef2f2;
            color: #b91c1c;
            border: 1px solid #fecaca;
            border-radius: 14px;
            padding: 12px 14px;
            text-align: center;
            margin-bottom: 16px;
            font-size: 14px;
            font-weight: 700;
            animation: fadeUp 0.4s ease;
        }

        .success {
            background: #dcfce7;
            color: #166534;
            border: 1px solid #86efac;
            border-radius: 14px;
            padding: 12px 14px;
            text-align: center;
            margin-bottom: 16px;
            font-size: 14px;
            font-weight: 700;
            animation: fadeUp 0.4s ease;
        }

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

        .form-group label {
            display: block;
            font-weight: 700;
            font-size: 14px;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .input-box {
            position: relative;
        }

        .input-box i.input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
            width: 18px;
            height: 18px;
        }

        .input-box input {
            width: 100%;
            height: 50px;
            border-radius: 14px;
            border: 1px solid #dbe2ea;
            background: #f8fafc;
            padding: 0 46px 0 44px;
            font-size: 14px;
            outline: none;
            transition: 0.3s ease;
        }

        .input-box input:hover {
            background: #ffffff;
            transform: translateY(-1px);
        }

        .input-box input:focus {
            border-color: #2563eb;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
        }

        .toggle-password {
            position: absolute;
            right: 16px;
            top: 70%;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            border: none;
            background: transparent;
            color: #64748b;
            cursor: pointer;
            padding: 0;

            display: flex;
            align-items: center;
            justify-content: center;
        }

        .toggle-password i {
            width: 22px;
            height: 22px;
        }

        .form-extra {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 4px 0 20px;
            gap: 10px;
            flex-wrap: wrap;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #475569;
        }

        .remember-me input {
            accent-color: #2563eb;
        }

        .forgot a {
            font-size: 13px;
            color: #2563eb;
            font-weight: 700;
        }

        .forgot a:hover {
            text-decoration: underline;
        }

        .btn-login {
            width: 100%;
            height: 52px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #111827, #1f2937);
            color: #ffffff;
            font-size: 15px;
            font-weight: 800;
            cursor: pointer;
            transition: 0.25s ease;
            box-shadow: 0 14px 24px rgba(17,24,39,0.14);
            position: relative;
            overflow: hidden;
        }

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

        .btn-login:hover {
            transform: translateY(-2px);
            background: linear-gradient(135deg, #0f172a, #111827);
        }

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

        .divider {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 24px 0 18px;
            color: #94a3b8;
            font-size: 13px;
        }

        .divider::before,
        .divider::after {
            content: "";
            flex: 1;
            height: 1px;
            background: #e2e8f0;
        }

        .register-link {
            text-align: center;
            font-size: 14px;
            color: #64748b;
            margin-bottom: 22px;
        }

        .register-link a {
            color: #2563eb;
            font-weight: 800;
        }

        .demo {
            background: linear-gradient(135deg, #eff6ff, #f8fbff);
            border: 1px solid #dbeafe;
            border-radius: 18px;
            padding: 18px;
            transition: 0.3s ease;
        }

        .demo:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 28px rgba(37,99,235,0.08);
        }

        .demo-title {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #1d4ed8;
            font-size: 15px;
            font-weight: 800;
            margin-bottom: 14px;
        }

        .demo-item {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            padding: 12px 0;
            border-bottom: 1px dashed #cbd5e1;
            font-size: 14px;
        }

        .demo-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .demo-role {
            min-width: 86px;
            font-weight: 800;
            color: #0f172a;
        }

        .demo-cred {
            color: #475569;
            line-height: 1.6;
        }

        @media (max-width: 960px) {
            .login-wrapper {
                grid-template-columns: 1fr;
                max-width: 520px;
            }

            .left-panel {
                display: none;
            }

            .right-panel {
                padding: 34px 24px;
            }

            .mobile-logo {
                display: block;
            }

            .back-wrap {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 16px;
            }

            .right-panel {
                padding: 28px 18px;
            }

            .welcome h2 {
                font-size: 28px;
            }

            .input-box input {
                height: 48px;
            }
        }
        
        .toggle-password svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* =========================================================
   GOOGLE SIGN IN
========================================================= */

.google-login-section {
    width: 100%;
    margin-top: 18px;
}

/* Divider untuk "atau" */
.google-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

.google-divider::before,
.google-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.google-divider span {
    white-space: nowrap;
}

/* Google button container */
.google-login-section .g_id_signin {
    width: 100%;
}

/* Pastikan iframe/button Google tidak terlalu sempit */
.google-login-section iframe {
    max-width: 100%;
}

/* Hover effect ringan */
.google-login-section {
    transition: 0.25s ease;
}

.google-login-section:hover {
    transform: translateY(-1px);
}
