﻿:root {
    --pp-blue: #0a4f9e;
    --pp-deep-blue: #06316b;
    --pp-green: #06a54c;
    --pp-green-light: #32c85b;
    --pp-text: #17243b;
    --pp-muted: #71809a;
    --pp-border: #d8e0ea;
    --pp-input: #e7f0ff;
}

.login-page {
    display: grid;
    grid-template-columns: minmax(390px, 43%) 1fr;
    min-height: 100vh;
    background: #f6f9fd;
    color: var(--pp-text);
    font-family: Inter, Arial, sans-serif;
}

.login-hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    overflow: hidden;
    padding: 70px clamp(38px, 6vw, 105px);
    background: radial-gradient(circle at 15% 100%, rgb(8 179 162 / 45%), transparent 34%), linear-gradient(155deg, #084f9c 0%, #052c62 100%);
}

    .login-hero::after {
        position: absolute;
        right: -140px;
        bottom: -170px;
        width: 470px;
        height: 470px;
        border: 65px solid rgb(255 255 255 / 7%);
        border-radius: 50%;
        content: "";
    }

.login-hero__content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.login-hero__logo {
    width: 165px;
    margin-bottom: clamp(80px, 13vh, 155px);
}

.login-hero__eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #95f0bf;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}

.login-hero h1 {
    max-width: 470px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4vw, 66px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.06;
}

.login-hero p {
    max-width: 440px;
    margin: 26px 0 30px;
    color: #dcecff;
    font-size: 16px;
    line-height: 1.7;
}

.login-hero__benefits {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    list-style: none;
}

    .login-hero__benefits i {
        margin-right: 9px;
        color: #58e79a;
        font-size: 19px;
    }

.login-panel {
    display: grid;
    min-width: 0;
    min-height: 100vh;
    place-items: center;
    padding: 45px 28px;
    background: #f7fafe;
}

.login-card {
    width: min(100%, 510px);
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid #e0e7f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 55px rgb(24 48 83 / 12%);
}

.login-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.login-card__logo {
    width: 126px;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
}

.login-card__top p {
    margin: 3px 0 0;
    color: #566782;
    font-size: 13px;
    white-space: nowrap;
}

.login-card__top a {
    color: #009b44;
    font-weight: 800;
    text-decoration: none;
}

.login-card__title span {
    color: #009b44;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .13em;
}

.login-card__title h1 {
    margin: 11px 0 8px;
    color: #102b53;
    font-size: clamp(28px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: -.04em;
}

.login-card__title p {
    margin: 0 0 27px;
    color: var(--pp-muted);
    font-size: 14px;
}

.google-button {
    display: flex;
    width: 100%;
    height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #cbd6e5;
    border-radius: 9px;
    background: #fff;
    color: #1a2a44;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

    .google-button:hover {
        border-color: #82a1c7;
        background: #f8fbff;
    }

.google-button__icon {
    display: block;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex: 0 0 20px;
    object-fit: contain;
}

.login-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
}

    .login-divider span {
        height: 1px;
        background: #dce4ed;
    }

    .login-divider small {
        color: #8da0b9;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .08em;
    }

.login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 27px;
    padding: 5px;
    border-radius: 11px;
    background: #edf2f8;
}

.login-tabs__button {
    height: 47px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #526784;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}

    .login-tabs__button i {
        margin-right: 8px;
    }

    .login-tabs__button.is-active {
        background: #0d5cae;
        box-shadow: 0 5px 12px rgb(13 92 174 / 25%);
        color: #fff;
    }

.login-field {
    margin-bottom: 23px;
}

.login-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

    .login-field__label-row label {
        color: #1d2c43;
        font-size: 14px;
        font-weight: 700;
    }

    .login-field__label-row a {
        color: #637998;
        font-size: 12px;
        text-decoration: none;
    }

    .login-field__label-row .login-field__forgot-password {
        color: #ed3434;
    }

.login-input {
    position: relative;
}

    .login-input > i {
        position: absolute;
        top: 50%;
        left: 15px;
        color: #617896;
        font-size: 17px;
        pointer-events: none;
        transform: translateY(-50%);
    }

    .login-input input {
        box-sizing: border-box;
        width: 100%;
        height: 51px;
        border: 1px solid #bdcadb;
        border-radius: 6px;
        outline: none;
        background: var(--pp-input);
        color: #152842;
        padding: 12px 15px 12px 44px;
        font: inherit;
        font-size: 14px;
        transition: .2s ease;
    }

        .login-input input::placeholder {
            color: #91a0b8;
        }

        .login-input input:focus {
            border-color: #0d62b7;
            box-shadow: 0 0 0 4px rgb(13 98 183 / 13%);
        }

.login-input--password input {
    padding-right: 52px;
}

.login-input--password button {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 42px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #0b5aa8;
    cursor: pointer;
    transform: translateY(-50%);
}

.login-field__error,
.login-validation {
    display: block;
    margin-top: 7px;
    color: #dc2626;
    font-size: 12px;
}

    .login-validation ul {
        margin: 0 0 16px;
        padding-left: 18px;
    }

.login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5b6e89;
    font-size: 12px;
    white-space: nowrap;
}

    .login-remember input {
        width: 15px;
        height: 15px;
        accent-color: #0d9d4c;
    }

.login-submit {
    min-width: 166px;
    height: 51px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(105deg, #079c49, #32c357);
    box-shadow: 0 10px 19px rgb(14 166 78 / 21%);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
}

    .login-submit i {
        margin-left: 7px;
    }

    .login-submit:hover {
        filter: brightness(.96);
        transform: translateY(-1px);
    }

.login-security {
    margin: 24px 0 0;
    color: #8aa0c0;
    font-size: 11px;
    text-align: center;
}

    .login-security i {
        margin-right: 6px;
        color: #00a446;
    }

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-hero {
        min-height: auto;
        padding: 50px 35px;
    }

    .login-hero__logo {
        margin-bottom: 45px;
    }

    .login-hero h1 {
        font-size: 42px;
    }

    .login-panel {
        min-height: auto;
        padding: 44px 24px;
    }
}

@media (max-width: 520px) {
    .login-card {
        padding: 28px 21px;
        border-radius: 14px;
    }

    .login-card__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

        .login-card__top p {
            margin: 0;
        }

    .login-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .login-submit {
        width: 100%;
    }

    .login-hero {
        padding: 45px 25px;
    }

        .login-hero h1 {
            font-size: 37px;
        }
}
