/* =========================================================
   PAMASKONG HANDOG LOGIN
   FULL RESPONSIVE MOBILE VERSION
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    min-height: 100dvh;

    background:
        radial-gradient(circle at 0% 0%, #EEF4FF 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, #DFF9FF 0%, transparent 40%),
        linear-gradient(135deg, #F8FAFC, #EEF2FF);

    overflow-x: hidden;
}

/* =========================================================
   BACKGROUND EFFECT
========================================================= */

body::before,
body::after {
    content: "";

    position: fixed;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;

    z-index: 0;
}

body::before {
    background: rgba(79, 70, 229, 0.15);

    top: -150px;
    left: -150px;
}

body::after {
    background: rgba(6, 182, 212, 0.12);

    bottom: -150px;
    right: -150px;
}

/* =========================================================
   LOGIN WRAPPER
========================================================= */

.login-wrapper {
    position: relative;

    z-index: 1;

    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 30px 20px;
}

/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 40px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.10),
        0 5px 20px rgba(79, 70, 229, 0.06);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    animation: cardShow 0.5s ease;

    overflow: hidden;
}

@keyframes cardShow {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   HEADER
========================================================= */

.login-header {
    width: 100%;

    text-align: center;

    margin-bottom: 30px;
}

.login-header h2 {
    width: 100%;

    color: #1E293B;

    font-size: 27px;
    font-weight: 700;

    line-height: 1.25;

    letter-spacing: -0.5px;

    overflow-wrap: break-word;
}

.login-header p {
    margin-top: 8px;

    color: #64748B;

    font-size: 14px;

    line-height: 1.5;
}

/* =========================================================
   LOGO
========================================================= */

.logo {
    width: 80px;
    height: 80px;

    margin: 0 auto 18px;

    border-radius: 50%;

    display: flex;

    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #4F46E5,
            #06B6D4
        );

    color: white;

    font-size: 30px;

    box-shadow:
        0 15px 35px rgba(79, 70, 229, 0.25);
}

.logo img {
    width: 70%;
    height: 70%;

    object-fit: contain;
}

/* =========================================================
   LABEL
========================================================= */

.label {
    display: block;

    width: 100%;

    margin-bottom: 7px;

    color: #1E293B;

    font-size: 14px;

    font-weight: 600;
}

/* =========================================================
   INPUT
========================================================= */

.input {
    display: block;

    width: 100%;

    height: 52px;

    padding: 0 16px;

    margin: 0 0 17px 0;

    border: 1px solid #E2E8F0;

    border-radius: 14px;

    outline: none;

    background: #F8FAFC;

    color: #1E293B;

    font-size: 16px;

    -webkit-appearance: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.input:focus {
    border-color: #4F46E5;

    background: #FFFFFF;

    box-shadow:
        0 0 0 4px rgba(79, 70, 229, 0.10);
}

/* =========================================================
   BUTTON
========================================================= */

.btn {
    display: block;

    width: 100%;

    height: 52px;

    padding: 0 16px;

    border: 0;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #4F46E5,
            #06B6D4
        );

    color: #FFFFFF;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    -webkit-appearance: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(79, 70, 229, 0.25);
}

.btn:active {
    transform: scale(.98);
}

.btn:disabled {
    opacity: .65;

    cursor: not-allowed;

    transform: none;
}

/* =========================================================
   FOOTER
========================================================= */

.login-footer {
    width: 100%;

    margin-top: 24px;

    text-align: center;

    color: #94A3B8;

    font-size: 12px;

    line-height: 1.5;
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 768px) {

    .login-wrapper {
        padding: 25px 18px;
    }

    .login-card {
        max-width: 450px;

        padding: 34px 28px;

        border-radius: 24px;
    }

    .login-header h2 {
        font-size: 25px;
    }

    .login-header p {
        font-size: 14px;
    }
}

/* =========================================================
   PHONE
========================================================= */

@media screen and (max-width: 480px) {

    html,
    body {
        width: 100%;
        min-width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }

    body {
        min-height: 100dvh;

        display: block;

        padding: 0;
    }

    .login-wrapper {
        width: 100%;
        min-width: 100%;

        min-height: 100dvh;

        display: flex;

        align-items: center;
        justify-content: center;

        padding: 20px 12px;
    }

    .login-card {
        width: 100%;
        max-width: 100%;

        margin: 0;

        padding: 28px 18px;

        border-radius: 20px;

        box-shadow:
            0 12px 40px rgba(15, 23, 42, 0.10);
    }

    .login-header {
        margin-bottom: 24px;
    }

    .login-header h2 {
        font-size: 21px;

        line-height: 1.3;

        letter-spacing: -0.2px;
    }

    .login-header p {
        font-size: 13px;

        margin-top: 6px;
    }

    .logo {
        width: 62px;
        height: 62px;

        margin-bottom: 14px;

        font-size: 24px;
    }

    .label {
        font-size: 13px;

        margin-bottom: 6px;
    }

    .input {
        width: 100%;

        height: 50px;

        margin-bottom: 15px;

        padding: 0 14px;

        border-radius: 13px;

        font-size: 16px;
    }

    .btn {
        width: 100%;

        height: 50px;

        border-radius: 13px;

        font-size: 15px;
    }

    .login-footer {
        margin-top: 18px;

        font-size: 11px;
    }
}

/* =========================================================
   SMALL PHONE
========================================================= */

@media screen and (max-width: 375px) {

    .login-wrapper {
        padding: 15px 10px;
    }

    .login-card {
        padding: 24px 15px;

        border-radius: 18px;
    }

    .login-header {
        margin-bottom: 20px;
    }

    .login-header h2 {
        font-size: 19px;
    }

    .login-header p {
        font-size: 12px;
    }

    .logo {
        width: 55px;
        height: 55px;

        margin-bottom: 12px;
    }

    .input {
        height: 48px;

        font-size: 16px;
    }

    .btn {
        height: 48px;
    }

    .login-footer {
        margin-top: 16px;

        font-size: 10px;
    }
}

/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media screen and (max-width: 320px) {

    .login-wrapper {
        padding: 10px 8px;
    }

    .login-card {
        padding: 21px 13px;
    }

    .login-header h2 {
        font-size: 18px;
    }

    .input {
        height: 46px;

        padding: 0 12px;
    }

    .btn {
        height: 46px;
    }
}

/* =========================================================
   LANDSCAPE PHONE
========================================================= */

@media screen and (max-width: 900px) and (orientation: landscape) {

    .login-wrapper {
        min-height: auto;

        padding: 25px 15px;
    }

    .login-card {
        margin: 15px auto;

        max-width: 430px;

        padding: 25px;
    }

    .logo {
        display: none;
    }

    .login-header {
        margin-bottom: 20px;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;

        transition: none !important;
    }
}