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

body {
    min-height: 100vh;
    padding: 20px;

    overflow: hidden;

    font-family: "Poppins", sans-serif;

    position: relative;

    background: linear-gradient(135deg, #f4fbfd, #eef8fb, #f8fdff);
}

/* ABSTRACT */

body::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(64, 192, 206, 0.18),
            transparent 40%
        ),
        radial-gradient(
            circle at 70% 60%,
            rgba(17, 156, 196, 0.12),
            transparent 45%
        );

    border-radius: 50%;

    top: -180px;
    left: -180px;

    filter: blur(12px);
}

body::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(64, 192, 206, 0.16),
            transparent 40%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(17, 156, 196, 0.1),
            transparent 45%
        );

    border-radius: 50%;

    bottom: -180px;
    right: -150px;

    filter: blur(10px);
}

/* CARD */

.login-card {
    width: 100%;

    max-width: 1120px;

    height: 88vh;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: white;

    border-radius: 34px;

    overflow: hidden;

    position: relative;

    z-index: 2;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);
}

/* LEFT */

.login-left {
    background: linear-gradient(135deg, #21b7d3, #179fc5);

    padding: 45px;

    position: relative;

    overflow: hidden;

    color: white;

    display: flex;
    align-items: center;
}

.login-left::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    top: -80px;
    right: -80px;
}

.login-left::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    bottom: -70px;
    left: -70px;
}

.login-left-content {
    position: relative;

    z-index: 2;
}

.login-logo {
    width: 65px;

    margin-bottom: 18px;
}

.login-left h1 {
    font-size: 64px;

    line-height: 1;

    font-weight: 800;

    margin-bottom: 28px;
}

.login-left p {
    font-size: 16px;

    line-height: 2;

    margin-bottom: 40px;

    opacity: 0.95;
}

/* FEATURES */

.login-features {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.login-features div {
    display: flex;
    align-items: center;

    gap: 14px;

    font-size: 15px;

    font-weight: 500;
}

.login-features i {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

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

/* RIGHT */

.login-right {
    padding: 45px;

    display: flex;
    align-items: center;
}

.login-box {
    width: 100%;
}

.login-box h2 {
    font-size: 42px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 10px;
}

.login-subtitle {
    color: #64748b;

    font-size: 16px;

    margin-bottom: 32px;
}

/* LABEL */

label {
    display: block;

    font-size: 15px;

    font-weight: 700;

    margin-bottom: 10px;

    color: #0f172a;
}

/* INPUT */

.input-group-custom {
    height: 54px;

    border: 1px solid #dbe2ea;

    border-radius: 16px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    transition: 0.3s;

    margin-bottom: 22px;
}

.input-group-custom:focus-within {
    border-color: #21b7d3;

    box-shadow: 0 0 0 5px rgba(33, 183, 211, 0.1);
}

.input-group-custom i {
    color: #94a3b8;

    margin-right: 12px;
}

.input-group-custom input {
    border: none;

    outline: none;

    width: 100%;

    font-size: 15px;

    background: transparent;
}

/* REMEMBER */

.remember-me {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 26px;

    font-size: 15px;
}

/* BUTTON LOGIN */

.login-btn {
    width: 100%;

    height: 54px;

    border: none;

    border-radius: 16px;

    background: linear-gradient(135deg, #21b7d3, #179fc5);

    color: white;

    font-size: 16px;

    font-weight: 700;

    transition: 0.3s;
}

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

    box-shadow: 0 12px 25px rgba(33, 183, 211, 0.22);
}

/* GOOGLE LOGIN */

.or-login {
    position: relative;

    text-align: center;

    margin: 24px 0 18px;
}

.or-login span {
    background: white;

    padding: 0 14px;

    position: relative;

    z-index: 2;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #94a3b8;
}

.or-login::before {
    content: "";

    position: absolute;

    width: 100%;

    height: 1px;

    background: #e2e8f0;

    left: 0;
    top: 50%;
}

.google-login-btn {
    width: 100%;

    height: 54px;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    background: white;

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

    gap: 12px;

    text-decoration: none;

    color: #0f172a;

    font-size: 15px;

    font-weight: 600;

    transition: 0.3s;
}

.google-login-btn img {
    width: 22px;
}

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

    background: #f8fafc;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* REGISTER */

.register-link {
    margin-top: 24px;

    text-align: center;

    font-size: 15px;

    color: #64748b;
}

.register-link a {
    color: #21b7d3;

    font-weight: 700;

    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    body {
        overflow-y: auto;

        padding: 20px;
    }

    .login-card {
        grid-template-columns: 1fr;

        height: auto;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 35px 28px;
    }

    .login-box h2 {
        font-size: 34px;
    }
}

html,
body {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}

body {
    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    overflow: hidden;

    position: relative;
}

.login-wrapper {
    width: 100vw;

    height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    position: fixed;

    inset: 0;
}

.login-card {
    margin: 0 auto !important;

    transform: none !important;
}

/* untuk tampilan css pop up akun tidak terdaftar */

.swal-modern-popup {
    backdrop-filter: blur(18px);

    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);

    border: 1px solid rgba(255, 255, 255, 0.5);
}

.swal-modern-button {
    border-radius: 14px !important;

    padding: 12px 28px !important;

    font-size: 15px !important;

    font-weight: 600 !important;

    box-shadow: 0 8px 20px rgba(25, 181, 210, 0.25);

    transition: 0.3s !important;
}

.swal-modern-button:hover {
    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(25, 181, 210, 0.35);
}

.swal2-icon {
    border-width: 3px !important;
}
