:root {
        --green-dark: #08733e;
        --green: #07944d;
        --green-light: #4dbb71;
        --text-dark: #34414c;
        --text-muted: #65717c;
        --border: #d5dde3;
    }

    * {
        box-sizing: border-box;
    }

    html, body {
        min-height: 100%;
    }

    body {
        margin: 0;
        font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        color: var(--text-dark);
        background: linear-gradient(180deg, #fbfdfd 0%, #f7fbf9 60%, #eef9f0 100%);
        overflow-x: hidden;
    }

    .login-page {
        position: relative;
        min-height: 100vh;
        padding: 18px 16px 100px;
        overflow: hidden;
    }

    .login-page::before {
        content: "";
        position: absolute;
        left: -10%;
        bottom: 35px;
        width: 120%;
        height: 150px;
        border-radius: 50% 50% 0 0 / 25% 25% 0 0;
        background: rgba(116, 201, 125, .20);
        transform: rotate(-2deg);
    }

    .login-page::after {
        content: "";
        position: absolute;
        left: -10%;
        bottom: -75px;
        width: 120%;
        height: 170px;
        border-radius: 50% 50% 0 0 / 25% 25% 0 0;
        background: linear-gradient(90deg, #08713e 0%, #07944d 55%, #08713e 100%);
        transform: rotate(1.5deg);
    }

    .dots {
        display: none;
    }

    .main-wrapper {
        position: relative;
        z-index: 5;
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }

    .brand-section {
        text-align: center;
		margin-top: 12px;
        margin-bottom: 12px;
    }

    .brand-logo {
        display: block;
        width: 92px;
        height: 92px;
        object-fit: contain;
        margin: 0 auto 8px;
    }

    .brand-title {
        margin: 0;
        color: var(--green-dark);
        font-size: 30px;
        line-height: 1.1;
        font-weight: 800;
        letter-spacing: -.4px;
    }

    .brand-subtitle {
        margin-top: 4px;
        color: #5e6973;
        font-size: 15px;
    }

    .decor-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        max-width: 300px;
        margin: 12px auto 14px;
    }

    .decor-divider::before,
    .decor-divider::after {
        content: "";
        height: 1px;
        flex: 1;
        background: #9bd5aa;
    }

    .decor-leaf {
        width: 24px;
        height: 24px;
        color: var(--green-light);
        flex: 0 0 auto;
    }

    .login-card {
        position: relative;
		width: 100%;
		max-width: 460px;
		margin: 0 auto;
		padding: 20px 24px 18px;
        background: rgba(255, 255, 255, .98);
        border: 1px solid rgba(210, 222, 216, .9);
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(27, 70, 47, .12);
    }

    .login-error {
        margin-bottom: 14px;
        padding: 9px 12px;
        border-radius: 9px;
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .field-row {
        display: grid;
        grid-template-columns: 32px 1fr;
        gap: 10px;
        align-items: end;
    }

    .field-icon {
        width: 32px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--green-dark);
    }

    .field-icon svg {
        width: 21px;
        height: 21px;
        stroke-width: 1.9;
    }

    .form-label-custom {
        display: block;
        margin: 0 0 4px;
        color: var(--green-dark);
        font-size: 14px;
        font-weight: 600;
    }

    .input-wrap {
        position: relative;
    }

    .custom-input {
        width: 100%;
        height: 44px;
        padding: 0 13px;
        border: 1.3px solid #cbd4da;
        border-radius: 9px;
        background: #fbfcfd;
        color: #26323c;
        font-size: 14px;
        outline: none;
        transition: .2s ease;
    }

    .custom-input:focus {
        border-color: var(--green);
        box-shadow: 0 0 0 3px rgba(7, 148, 77, .08);
        background: #fff;
    }

    .password-input {
        padding-right: 44px;
    }

    .password-toggle {
        position: absolute;
        top: 50%;
        right: 7px;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        border: 0;
        background: transparent;
        color: #59656f;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
    }

    .password-toggle svg {
        width: 20px;
        height: 20px;
    }

    .options-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin: 2px 0 14px 42px;
    }

    .remember-wrap {
        display: flex;
        align-items: center;
        gap: 7px;
        cursor: pointer;
        user-select: none;
        font-size: 13px;
    }

    .remember-wrap input {
        width: 17px;
        height: 17px;
        accent-color: var(--green);
    }

    .forgot-password {
        color: var(--green-dark);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

    .login-button {
        width: calc(100% - 42px);
        height: 46px;
        margin-left: 42px;
        border: 0;
        border-radius: 9px;
        background: linear-gradient(90deg, #08763f 0%, #07964f 100%);
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: 0 6px 14px rgba(7, 125, 66, .16);
    }

    .login-button svg {
        width: 21px;
        height: 21px;
    }

    .or-divider {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 16px 0;
        color: #52606b;
        font-size: 12px;
        font-weight: 600;
    }

    .or-divider::before,
    .or-divider::after {
        content: "";
        height: 1px;
        background: #d6dde1;
        flex: 1;
    }

    .security-box {
        display: grid;
        grid-template-columns: 45px 1fr;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        border: 1px solid #d9e3de;
        border-radius: 10px;
        background: #f9fcfa;
    }

    .shield-icon {
        width: 36px;
        height: 36px;
        color: #48b96b;
    }

    .security-title {
        color: var(--green-dark);
        font-size: 15px;
        line-height: 1.2;
        font-weight: 700;
        margin-bottom: 3px;
    }

    .security-text {
        color: #58646e;
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-brand {
        position: absolute;
        z-index: 8;
        left: 50%;
        bottom: 25px;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        max-width: 620px;
        text-align: center;
        color: #fff;
    }

    .footer-title {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .footer-title svg {
        width: 18px;
        height: 18px;
    }

    .footer-text {
        font-size: 11px;
        opacity: .96;
    }

    @media (max-width: 576px) {
        .login-page {
            padding: 14px 12px 92px;
        }

        .brand-logo {
            width: 78px;
            height: 78px;
        }

        .brand-title {
            font-size: 25px;
        }

        .brand-subtitle {
            font-size: 13px;
        }

        .decor-divider {
            margin: 9px auto 11px;
        }

        .login-card {
            padding: 18px 17px;
            border-radius: 15px;
        }

        .field-row {
            grid-template-columns: 1fr;
        }

        .field-icon {
            display: none;
        }

        .options-row {
            margin-left: 0;
        }

        .login-button {
            width: 100%;
            margin-left: 0;
        }

        .security-box {
            grid-template-columns: 38px 1fr;
            padding: 12px;
        }

        .shield-icon {
            width: 30px;
            height: 30px;
        }
    }

    @media (max-height: 760px) and (min-width: 577px) {
        .login-page {
            padding-top: 10px;
        }

        .brand-logo {
            width: 72px;
            height: 72px;
            margin-bottom: 5px;
        }

        .brand-title {
            font-size: 26px;
        }

        .brand-subtitle {
            font-size: 13px;
        }

        .decor-divider {
            margin: 7px auto 9px;
        }

        .login-card {
            padding-top: 16px;
            padding-bottom: 16px;
        }

        .form-group {
            margin-bottom: 10px;
        }

        .custom-input {
            height: 40px;
        }

        .options-row {
            margin-bottom: 10px;
        }

        .login-button {
            height: 42px;
        }

        .or-divider {
            margin: 11px 0;
        }

        .security-box {
            padding: 10px 14px;
        }
    }