

/* Start:/local/templates/main/styles.css?17827364606410*/
:root {
    --bg: #f5f9f0;
    --green: #8bc34a;
    --green-dark: #82ba43;
    --text: #1d1b20;
    --muted: #6b7280;
    --outline: #79747e;
    --outline-soft: #d5d9d2;
    --danger-bg: #fff0f0;
    --danger-text: #b42318;
    --success-bg: #edf9e7;
    --success-text: #245d19;
    --card-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "SB Sans Display", "Segoe UI", Arial, sans-serif;
}

a {
    color: inherit;
}

.page {
    position: relative;
    min-height: 100vh;
    padding: 46px 24px 32px;
    overflow: hidden;
}

.auth-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.page-registration {
    padding-top: 46px;
}

.blob {
    position: absolute;
    pointer-events: none;
    filter: blur(46px);
    opacity: 0.46;
    transform: rotate(-14deg);
}

.blob-top-right {
    top: -82px;
    right: -119px;
    width: 520px;
    height: 520px;
    border-radius: 55% 45% 52% 48%;
    background: #cfe9b6;
}

.blob-bottom-left {
    bottom: -140px;
    left: -139px;
    width: 420px;
    height: 420px;
    border-radius: 46% 54% 48% 52%;
    background: #d9edca;
}

.blob-mid-left {
    top: 360px;
    left: -91px;
    width: 280px;
    height: 280px;
    border-radius: 55% 45% 42% 58%;
    background: #e4f2d6;
    opacity: 0.7;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: min(466px, 100%);
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--card-shadow);
}

.registration-card {
    width: min(466px, 100%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: var(--green);
    color: #ffffff;
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.auth-title {
    margin: 0 0 16px;
    text-align: center;
    font-size: 57px;
    font-weight: 600;
    line-height: 64px;
}

.fields {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.registration-fields {
    gap: 16px;
}

.field {
    width: 100%;
    min-height: 56px;
    border: 1px solid var(--outline);
    border-radius: 4px;
    padding: 15px 16px;
    background: #ffffff;
    color: var(--text);
    font: 400 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.5px;
    outline: none;
}

.field::placeholder {
    color: var(--text);
    opacity: 1;
}

.field:focus {
    border-color: #2d2d2d;
    box-shadow: inset 0 0 0 1px #2d2d2d;
}

.field-hidden {
    display: none;
}

.select-menu {
    position: relative;
    display: block;
    margin-bottom: 24px;
    padding-top: 8px;
}

.select-menu-label {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 8px;
    padding: 0 4px;
    background: #ffffff;
    color: #2d2d2d;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.4px;
}

.select-field {
    appearance: none;
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, #1d1b20 50%),
        linear-gradient(135deg, #1d1b20 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 25px,
        calc(100% - 16px) 25px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.login-button {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 16px;
    background: var(--green);
    color: #ffffff;
    cursor: pointer;
    font: 600 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.15px;
    text-decoration: none;
}

.login-button:hover {
    background: var(--green-dark);
}

.login-button:focus-visible {
    outline: 3px solid rgba(139, 195, 74, 0.35);
    outline-offset: 3px;
}

.icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.auth-links,
.auth-actions {
    display: grid;
    gap: 12px;
}

.auth-links {
    margin: 0 0 16px;
}

.auth-links p,
.auth-note {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
}

.link {
    color: var(--green-dark);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.auth-message {
    margin-bottom: 16px;
    border: 1px solid var(--outline-soft);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 20px;
}

.auth-message p {
    margin: 0;
}

.auth-message ul {
    margin: 0;
    padding-left: 20px;
}

.auth-message-error {
    border-color: #f6c7c7;
    background: var(--danger-bg);
    color: var(--danger-text);
}

.auth-message-success {
    border-color: #caeac0;
    background: var(--success-bg);
    color: var(--success-text);
}

.auth-message-info {
    background: #f4f7fb;
    color: #1f4f82;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.auth-helper {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.auth-helper .link {
    font-size: 14px;
    line-height: 20px;
}

.auth-logout {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--outline);
    border-radius: 16px;
    padding: 15px 16px;
    color: var(--text);
    text-decoration: none;
}

.auth-captcha {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.auth-captcha img {
    max-width: 180px;
    border-radius: 8px;
}

@media (max-width: 560px) {
    .page,
    .page-registration {
        padding: 24px;
    }

    .auth-card {
        padding: 28px;
    }

    .auth-title {
        font-size: 42px;
        line-height: 48px;
    }

    .blob-bottom-left {
        bottom: 0;
    }
}

@media (max-width: 380px) {
    .page {
        padding: 16px;
    }

    .auth-card {
        padding: 24px;
    }

    .auth-title {
        font-size: 34px;
        line-height: 40px;
    }
}

/* End */
/* /local/templates/main/styles.css?17827364606410 */
