:root{
    --bg-1:#f7faff;
    --bg-2:#f3f6fc;
    --card:rgba(255,255,255,0.82);
    --card-solid:#ffffff;
    --text:#182336;
    --muted:#667085;
    --line:rgba(15,23,42,0.08);

    --primary:#2563eb;
    --primary-2:#4f8cff;
    --primary-dark:#1d4ed8;
    --primary-soft:#eaf1ff;

    --child:#8b5cf6;
    --child-2:#a26cff;
    --child-dark:#7c3aed;
    --child-soft:#f3ecff;

    --white:#ffffff;
    --shadow-xl:0 28px 80px rgba(15,23,42,0.12);
    --shadow-lg:0 18px 40px rgba(15,23,42,0.08);
    --shadow-md:0 10px 24px rgba(15,23,42,0.06);

    --radius-xl:30px;
    --radius-lg:22px;
    --radius-md:18px;
    --radius-sm:14px;
}

*{
    box-sizing:border-box;
}

html, body{
    margin:0;
    padding:0;
    min-height:100%;
    font-family:"Inter","Segoe UI",Arial,sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at top left, #edf4ff 0%, transparent 34%),
        radial-gradient(circle at top right, #f3eaff 0%, transparent 28%),
        radial-gradient(circle at bottom left, #ebfff2 0%, transparent 24%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

body{
    min-height:100vh;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

.gp-shell{
    position:relative;
    min-height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px 18px;
}

.bg-orb{
    position:absolute;
    border-radius:999px;
    filter:blur(18px);
    opacity:.58;
    pointer-events:none;
}

.orb-1{
    width:320px;
    height:320px;
    background:#dbe9ff;
    top:-90px;
    left:-90px;
}

.orb-2{
    width:240px;
    height:240px;
    background:#eadcff;
    right:-50px;
    top:70px;
}

.orb-3{
    width:220px;
    height:220px;
    background:#dff8e8;
    bottom:40px;
    left:8%;
}

.gp-main{
    position:relative;
    z-index:2;
    width:100%;
    max-width:560px;
}

.brand-block{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin-bottom:24px;
    text-align:left;
}

.brand-logo{
    width:200px;
    height:200px;
    border-radius:20px;
    background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 16px 34px rgba(15,23,42,0.10);
    border:1px solid rgba(255,255,255,0.75);
    overflow:hidden;
    flex:0 0 auto;
}

.brand-logo img{
    width:82%;
    height:82%;
    object-fit:contain;
}

.brand-text h1{
    margin:0;
    font-size:34px;
    line-height:1.05;
    letter-spacing:-0.03em;
    font-weight:800;
}

.brand-text p{
    margin:5px 0 0;
    color:var(--muted);
    font-size:14px;
    letter-spacing:0.01em;
}

.login-card{
    position:relative;
    background:var(--card);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,0.65);
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-xl);
    padding:32px;
    overflow:hidden;
}

.login-card::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background:linear-gradient(90deg, var(--primary) 0%, var(--primary-2) 48%, var(--child) 100%);
}

.login-head{
    text-align:center;
    margin-bottom:26px;
}

.mini-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 13px;
    border-radius:999px;
    background:var(--primary-soft);
    color:var(--primary);
    font-size:12px;
    font-weight:700;
    margin-bottom:14px;
    border:1px solid rgba(37,99,235,0.08);
}

.login-head h2{
    margin:0 0 10px;
    font-size:36px;
    line-height:1.05;
    letter-spacing:-0.03em;
    font-weight:800;
}

.login-head p{
    margin:0;
    color:var(--muted);
    font-size:15px;
    line-height:1.75;
}

.action-group{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.btn{
    position:relative;
    width:100%;
    min-height:56px;
    border-radius:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 18px;
    font-size:15px;
    font-weight:700;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    border:1px solid transparent;
    box-shadow:var(--shadow-md);
    overflow:hidden;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    color:#fff;
    background:linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
}

.btn-primary:hover{
    box-shadow:0 16px 28px rgba(37,99,235,0.22);
    background:linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-outline{
    background:rgba(255,255,255,0.95);
    color:var(--primary);
    border-color:#c7d9ff;
}

.btn-outline:hover{
    background:#f8fbff;
    box-shadow:0 14px 26px rgba(37,99,235,0.10);
}

.btn-child{
    color:#fff;
    background:linear-gradient(135deg, var(--child) 0%, var(--child-2) 100%);
}

.btn-child:hover{
    box-shadow:0 16px 28px rgba(139,92,246,0.22);
    background:linear-gradient(135deg, var(--child-dark) 0%, var(--child) 100%);
}

.btn-light{
    background:rgba(255,255,255,0.95);
    color:var(--text);
    border-color:rgba(15,23,42,0.08);
}

.btn-light:hover{
    background:#f9fafb;
}

.login-note{
    margin-top:18px;
    padding:15px 16px;
    border-radius:16px;
    background:rgba(248,250,252,0.95);
    border:1px solid var(--line);
    color:var(--muted);
    font-size:13px;
    line-height:1.75;
    text-align:center;
}

.session-box{
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px;
    border-radius:18px;
    background:linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
    border:1px solid #dce8ff;
    margin-bottom:18px;
    box-shadow:var(--shadow-md);
}

.session-box.child{
    background:linear-gradient(180deg, #f4eeff 0%, #fbf8ff 100%);
    border-color:#e6dafe;
}

.session-icon{
    width:48px;
    height:48px;
    border-radius:15px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    flex:0 0 auto;
    box-shadow:0 8px 16px rgba(15,23,42,0.06);
}

.session-text{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.session-text strong{
    font-size:15px;
    font-weight:800;
}

.session-text span{
    color:var(--muted);
    font-size:13px;
    line-height:1.6;
}

@media (max-width: 640px){
    .gp-shell{
        padding:16px;
    }

    .gp-main{
        max-width:100%;
    }

    .login-card{
        padding:24px 18px;
        border-radius:24px;
    }

    .brand-block{
        gap:12px;
        margin-bottom:20px;
    }

    .brand-logo{
        width:56px;
        height:56px;
        border-radius:18px;
    }

    .brand-text h1{
        font-size:29px;
    }

    .brand-text p{
        font-size:13px;
    }

    .login-head h2{
        font-size:30px;
    }

    .login-head p{
        font-size:14px;
    }

    .btn{
        min-height:54px;
        border-radius:16px;
    }
}