/* Operations auth */
/* Operations auth reversed split theme */
.operations-auth {
    background: #ffffff;
    color: #111827;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.operations-auth *,
.operations-auth *::before,
.operations-auth *::after {
    box-sizing: border-box;
}

.operations-auth__layout {
    background: #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
}

.operations-auth__aside {
    align-items: center;
    background: #ffffff;
    color: #030712;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem;
}

.operations-auth__brand {
    display: flex;
    justify-content: center;
    width: 100%;
}

.operations-auth__headline {
    align-items: baseline;
    color: #030712;
    display: flex;
    flex-wrap: wrap;
    font-family: var(--ops-font-sans);
    font-size: clamp(2.9rem, 4.9vw, 4.55rem);
    font-weight: 800;
    gap: 0.48rem;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    max-width: none;
    text-align: center;
}

.operations-auth__headline .operations-sidebar__brandmark {
    max-width: 18rem;
    width: min(100%, 18rem);
}

.operations-auth__main {
    align-items: center;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0%, transparent 30%, rgba(255, 255, 255, 0.04) 64%, transparent 100%),
        linear-gradient(150deg, #0d5737 0%, #0a462d 42%, #062d1c 100%);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

.operations-auth__main::before {
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5.5rem),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5.5rem);
    content: "";
    inset: 0;
    opacity: 0.42;
    pointer-events: none;
    position: absolute;
}

.operations-auth__card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: .7rem;
    box-shadow: 0 24px 60px rgba(3, 24, 15, 0.22);
    padding: 2rem;
    position: relative;
    width: min(100%, 30.5rem);
    z-index: 1;
}

.operations-auth__eyebrow {
    align-items: center;
    background: linear-gradient(180deg, #13554e 0%, #0f433d 100%);
    border-radius: 0.55rem;
    color: #e8f9f7;
    display: flex;
    font-size: 0.74rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.04em;
    line-height: 1;
    min-height: 1.8rem;
    padding: 0 0.8rem;
    text-transform: uppercase;
    width: fit-content;
}

.operations-auth__title {
    color: #172033;
    font-size: 1.95rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
    margin-top: 1rem;
    text-align: left;
}

.operations-auth__summary {
    color: #4b5568;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0.9rem 0 0;
    max-width: 100%;
    text-align: left;
}

.operations-auth__messages,
.operations-auth__errors {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.operations-auth__message,
.operations-auth__error {
    border-radius: 0.95rem;
    font-size: 0.92rem;
    line-height: 1.5;
    padding: 0.85rem 1rem;
}

.operations-auth__message {
    background: #ecfdf3;
    color: #17663e;
}

.operations-auth__error {
    background: #fff1f3;
    color: #a61b3c;
}

.operations-auth__form {
    display: grid;
    gap: 1.05rem;
    margin-top: 1.45rem;
}

.operations-auth__card .operations-form__field {
    display: grid;
    gap: 0.45rem;
}

.operations-auth__card .operations-form__label {
    color: #485468;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}

.operations-auth__card .operations-form__phone {
    border-radius: 0.8rem;
    display: grid;
    gap: 0;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    overflow: hidden;
    width: 100%;
}

.operations-auth__card .operations-form__phone-prefix {
    background: #f7fcfb;
    border: 1px solid #bfdcd5;
    border-radius: 0.8rem 0 0 0.8rem;
    border-right: 0;
    color: #123b3a;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 2.85rem;
}

.operations-auth__card .operations-form__input {
    background: #ffffff;
    border: 1px solid #bfdcd5;
    border-radius: 0.8rem;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    color: #182234;
    font-size: 0.98rem;
    min-height: 2.85rem;
    width: 100%;
}

.operations-auth__card .operations-form__input--phone {
    border-radius: 0 0.8rem 0.8rem 0;
}

.operations-auth__card .operations-form__input::placeholder {
    color: #8b949f;
}

.operations-auth__card .operations-form__input:focus {
    border-color: #35a9a2;
    box-shadow: 0 0 0 4px rgba(53, 169, 162, 0.14);
    outline: 0;
}

.operations-auth__card .operations-form__input:-webkit-autofill,
.operations-auth__card .operations-form__input:-webkit-autofill:hover,
.operations-auth__card .operations-form__input:-webkit-autofill:focus,
.operations-auth__card .operations-form__input:-webkit-autofill:active {
    -webkit-text-fill-color: #182234;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02), inset 0 0 0 1000px #ffffff;
    transition: background-color 9999s ease-in-out 0s;
}

.operations-auth__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.7rem;
}

.operations-auth__actions--stacked {
    align-items: stretch;
    flex-direction: column;
}

.operations-auth__otp-trigger {
    align-self: flex-start;
    background: transparent;
    border: 0;
    color: #2baba1;
    cursor: pointer;
    font-size: 0.94rem;
    font-weight: 700;
    margin: -0.1rem 0 0.15rem;
    order: -1;
    padding: 0;
}

.operations-auth__otp-trigger:hover,
.operations-auth__otp-link:hover,
.operations-auth__otp-back:hover {
    color: #05675f;
}

.operations-auth__submit.operations-page__cta--submit {
    background: linear-gradient(180deg, #0f573b 0%, #0a4029 100%);
    border-color: #0a4029;
    border-radius: 0.85rem;
    box-shadow: 0 14px 28px rgba(11, 56, 47, 0.18);
    font-size: 1rem;
    font-weight: 700;
    min-height: 3rem;
    width: 100%;
}

.operations-auth__submit.operations-page__cta--submit:hover {
    background: linear-gradient(180deg, #126343 0%, #0c4a30 100%);
    border-color: #0c4a30;
}

.operations-auth__otp-boxes {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.operations-auth__otp-box {
    border-color: #ccd6e3;
    border-radius: 1.05rem;
    flex-basis: auto;
    font-size: 1.35rem;
    font-weight: 700;
    height: 3.3rem;
    text-align: center;
    width: 100%;
}

.operations-auth__otp-box::placeholder {
    color: #c2cad6;
    opacity: 1;
}

.operations-auth__otp-box:focus {
    border-color: var(--ops-accent-dark);
    box-shadow: 0 0 0 4px rgba(24, 154, 148, 0.12);
    outline: 0;
}

.operations-auth__otp-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: space-between;
    margin-top: 0.1rem;
}

.operations-auth__otp-dev-note {
    color: #5b667a;
    line-height: 1.45;
    margin-top: -0.15rem;
}

.operations-auth__otp-timer {
    color: #4d5a71;
}

.operations-auth__otp-timer,
.operations-auth__otp-link,
.operations-auth__otp-back,
.operations-auth__otp-dev-note {
    font-size: 0.88rem;
}

.operations-auth__otp-link {
    background: transparent;
    border: 0;
    color: #0b8f82;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.operations-auth__otp-link:disabled {
    color: #9aa5b5;
    cursor: not-allowed;
}

.operations-auth__otp-back {
    background: transparent;
    border: 0;
    color: #5f6875;
    cursor: pointer;
    font-weight: 600;
    justify-self: center;
    margin-top: 0.1rem;
    padding: 0;
}

@media (max-width: 900px) {
    .operations-auth__layout {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }

    .operations-auth__aside {
        min-height: 34vh;
        padding: 2.25rem 1.25rem;
    }

    .operations-auth__headline {
        font-size: clamp(2.35rem, 12vw, 3.55rem);
        gap: 0.32rem;
    }

    .operations-auth__main {
        min-height: 66vh;
        padding: 2rem 1.1rem;
    }

    .operations-auth__card {
        padding: 1.5rem;
        width: min(100%, 30rem);
    }
}

