@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --lime: #c6f36b;
    --dark: #101912;
    --text: #18211b;
    --muted: #7b857d;
    --border: #e5e9e5;
    --surface: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7f3;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

.auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    background: var(--surface);
}

.auth-panel {
    padding: 35px 9%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.brand {
    font: 800 30px 'Manrope', sans-serif;
    letter-spacing: -2px;
    text-decoration: none;
    color: var(--dark);
}

.brand span {
    color: #91c83e;
}

.auth-content {
    width: 100%;
    max-width: 440px;
    margin: auto;
    padding: 45px 0;
}

.eyebrow {
    color: #779c3d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

h1 {
    font: 800 clamp(30px, 4vw, 43px)/1.15 'Manrope', sans-serif;
    letter-spacing: -1.8px;
    margin: 0 0 12px;
}

.subtitle {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
}

form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 18px 0 8px;
}

form input:not([type="checkbox"]) {
    width: 100%;
    height: 51px;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 0 14px;
    outline: none;
    font: inherit;
    font-size: 14px;
    background: #fff;
    transition: .2s;
}

form input:focus {
    border-color: #91c83e;
    box-shadow: 0 0 0 3px rgba(145, 200, 62, .13);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 65px !important;
}

.password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6f8d3d;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.label-row a,
.auth-footer a,
.terms a {
    color: #739b35;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: 12px !important;
    line-height: 1.6;
}

.terms input {
    margin-top: 3px;
}

.submit-btn {
    width: 100%;
    height: 54px;
    margin-top: 24px;
    border: 0;
    border-radius: 9px;
    background: var(--dark);
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.submit-btn:hover {
    background: #29392b;
    transform: translateY(-1px);
}

.submit-btn span {
    margin-left: 8px;
    color: var(--lime);
}

.auth-footer {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 26px;
}

.copyright {
    color: #9aa39b;
    font-size: 11px;
}

.auth-visual {
    background: var(--dark);
    color: white;
    margin: 15px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 12%;
}

.auth-visual::before,
.auth-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(198, 243, 107, .13);
    border-radius: 50%;
    width: 550px;
    height: 550px;
    right: -240px;
    top: -130px;
}

.auth-visual::after {
    width: 380px;
    height: 380px;
    right: -150px;
    top: -45px;
}

.visual-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
}

.visual-tag {
    display: inline-block;
    padding: 9px 13px;
    border: 1px solid rgba(198, 243, 107, .3);
    border-radius: 30px;
    color: var(--lime);
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.visual-content h2 {
    font: 800 clamp(35px, 4vw, 56px)/1.12 'Manrope', sans-serif;
    letter-spacing: -2px;
    margin: 0;
}

.visual-content p {
    color: #a9b3a9;
    line-height: 1.8;
    font-size: 14px;
    margin-top: 20px;
}

.visual-decoration {
    color: var(--lime);
    font: 800 130px 'Manrope', sans-serif;
    opacity: .13;
    margin-top: 55px;
}

.error-message {
    background: #fff0ef;
    color: #b63e36;
    border: 1px solid #f3d3d0;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    margin-bottom: 10px;
}

@media(max-width: 850px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        display: none;
    }

    .auth-panel {
        padding: 25px 7%;
    }

    .auth-content {
        margin: auto;
    }
}
