:root {
    --sy-dark: #07120f;
    --sy-dark-2: #0d2119;
    --sy-green: #4b9f3e;
    --sy-green-light: #63bd53;
    --sy-green-dark: #2f742d;
    --sy-text: #1b232b;
    --sy-muted: #75808a;
    --sy-line: #dce3df;
    --sy-danger: #b93f3f;
    --sy-bg: #f5f7f6;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--sy-text);
    background: var(--sy-bg);
}

.sy-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(520px, 46%) 1fr;
    grid-template-rows: 1fr auto;
    padding: 20px;
    gap: 0;
}

.sy-login-brand {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    min-height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
    color: #fff;
    border-radius: 22px 0 0 0;
    overflow: hidden;
    background:
        linear-gradient(rgba(5,18,15,.72), rgba(5,18,15,.82)),
        radial-gradient(circle at 12% 18%, rgba(75,159,62,.24), transparent 32%),
        linear-gradient(145deg, #061510, #0d2b20);
}

.sy-login-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(99,189,83,.8) 0 2px, transparent 3px),
        radial-gradient(circle at 65% 30%, rgba(99,189,83,.6) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 68%, rgba(99,189,83,.6) 0 2px, transparent 3px),
        linear-gradient(25deg, transparent 49%, rgba(99,189,83,.25) 50%, transparent 51%),
        linear-gradient(155deg, transparent 49%, rgba(99,189,83,.18) 50%, transparent 51%);
    background-size: 180px 180px, 220px 220px, 250px 250px, 140px 140px, 180px 180px;
}

.sy-brand-content {
    position: relative;
    z-index: 2;
    width: min(580px, 100%);
    text-align: center;
}

.sy-brand-logo {
    width: 240px;
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto 12px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.sy-brand-company {
    margin: 0;
    color: var(--sy-green-light);
    font-size: 1.35rem;
    font-weight: 700;
}

.sy-brand-divider {
    width: 52%;
    height: 1px;
    margin: 20px auto;
    background: rgba(99,189,83,.55);
}

.sy-brand-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.sy-brand-tagline {
    margin: 8px 0 0;
    color: #e7eee9;
}

.sy-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 12px;
    margin-top: 34px;
    padding: 22px 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(4,15,12,.38);
    backdrop-filter: blur(8px);
}

.sy-product {
    text-align: center;
}

.sy-product i {
    display: block;
    margin-bottom: 7px;
    color: var(--sy-green-light);
    font-size: 1.8rem;
}

.sy-product strong,
.sy-product small {
    display: block;
}

.sy-product strong {
    font-size: .75rem;
    letter-spacing: .04em;
}

.sy-product small {
    margin-top: 4px;
    color: #cbd6cf;
    font-size: .66rem;
}

.sy-brand-message {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 26px;
    color: #dbe6de;
    text-align: left;
    line-height: 1.55;
}

.sy-brand-message i {
    color: var(--sy-green-light);
    font-size: 1.5rem;
}

.sy-login-form-panel {
    grid-column: 2;
    grid-row: 1;
    min-height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 54px;
    border-radius: 0 22px 0 0;
    background: #fff;
}

.sy-login-card {
    width: min(650px, 100%);
    padding: 54px;
    border: 1px solid #edf0ee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(16,35,25,.10);
}

.sy-mobile-logo {
    display: none;
    width: 130px;
    margin: 0 auto 20px;
}

.sy-login-card h1 {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    letter-spacing: -.04em;
}

.sy-login-card h1 span {
    color: var(--sy-green);
}

.sy-login-subtitle {
    margin: 10px 0 38px;
    color: var(--sy-muted);
    text-align: center;
}

.sy-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px 14px;
    border: 1px solid #efbaba;
    border-radius: 11px;
    color: #9d3838;
    background: #fff1f1;
    font-size: .86rem;
}

.sy-field {
    margin-bottom: 23px;
}

.sy-field label {
    display: block;
    margin-bottom: 9px;
    font-size: .88rem;
    font-weight: 700;
}

.sy-input-wrap {
    position: relative;
}

.sy-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #55616b;
    transform: translateY(-50%);
}

.sy-input {
    width: 100%;
    height: 58px;
    padding: 0 49px;
    border: 1px solid var(--sy-line);
    border-radius: 11px;
    color: var(--sy-text);
    background: #fff;
    outline: none;
    transition: .2s ease;
}

.sy-input:focus {
    border-color: var(--sy-green);
    box-shadow: 0 0 0 4px rgba(75,159,62,.11);
}

.sy-input::placeholder {
    color: #a2a9af;
}

.sy-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: #56616a;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.sy-forgot {
    display: block;
    margin: -7px 0 28px;
    color: var(--sy-green);
    font-size: .86rem;
    font-weight: 600;
    text-align: right;
    text-decoration: none;
}

.sy-login-btn {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sy-green-light), var(--sy-green));
    box-shadow: 0 14px 32px rgba(75,159,62,.25);
    cursor: pointer;
    transition: .2s ease;
}

.sy-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 19px 38px rgba(75,159,62,.31);
}

.sy-login-meta {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #edf0ee;
    color: var(--sy-muted);
    text-align: center;
    font-size: .76rem;
}

.sy-login-meta strong {
    color: var(--sy-green);
}

.sy-login-footer {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 75px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    border-radius: 0 0 22px 22px;
    color: #71d29a;
    background: #0c151d;
}

.sy-footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 32px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.sy-footer-item:last-child {
    border-right: 0;
}

.sy-footer-item i {
    font-size: 1.2rem;
}

@media (max-width: 1080px) {
    .sy-login-page {
        grid-template-columns: 1fr;
    }

    .sy-login-brand {
        display: none;
    }

    .sy-login-form-panel {
        grid-column: 1;
        min-height: calc(100vh - 75px);
        border-radius: 22px 22px 0 0;
    }

    .sy-mobile-logo {
        display: block;
    }
}

@media (max-width: 700px) {
    .sy-login-page {
        padding: 0;
    }

    .sy-login-form-panel {
        padding: 22px;
        border-radius: 0;
    }

    .sy-login-card {
        padding: 31px 23px;
        border-radius: 17px;
    }

    .sy-login-footer {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 0;
    }

    .sy-footer-item {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .sy-login-card h1 {
        font-size: 1.65rem;
    }
}
