.crm-auth {
    padding: 140px 0 100px;
}

.crm-auth__card {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(245, 243, 236, .12);
    border-radius: 18px;
    padding: 40px 36px;
    color: #f5f3ec;
}

.crm-auth__card a {
    color: #f5f3ec;
}

.crm-auth__card--wide {
    max-width: 760px;
}

.crm-auth__title {
    display: block;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.crm-auth__lead {
    display: block;
    opacity: .72;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
}

.crm-auth .anyform {
    width: 100%;
}

.crm-auth .inputs {
    display: block;
}

.crm-field {
    margin-bottom: 18px;
}

.crm-field__label {
    display: block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(245, 243, 236, .66);
    margin-bottom: 8px;
}

.crm-auth .any-input,
.crm-auth select.any-input {
    width: 100%;
    color: #fff;
}

.crm-auth select.any-input option {
    color: #111;
}

.crm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.crm-pw {
    position: relative;
    display: block;
}

.crm-pw__toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    color: #f5f3ec;
    opacity: .6;
    cursor: pointer;
    transition: opacity .2s ease;
}

.crm-pw__toggle:hover,
.crm-pw__toggle:focus-visible {
    opacity: 1;
}

.crm-pw .any-input {
    padding-right: 52px;
}

.crm-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(245, 243, 236, .82);
    cursor: pointer;
}

.crm-auth select.any-input {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f5f3ec' stroke-width='1.4'%3E%3Cpath d='M7 10l5 4 5-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.crm-check input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.crm-status {
    display: block;
    margin: 4px 0 18px;
    font-size: 14px;
    line-height: 1.5;
    min-height: 1px;
}

.crm-status--empty {
    display: none;
}

.crm-status--error {
    color: #ff8080;
}

.crm-status--success {
    color: #6ee7a8;
}

.crm-status--info {
    opacity: .75;
}

.crm-auth__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
    font-size: 14px;
}

.crm-auth__links a {
    text-decoration: underline;
    opacity: .8;
}

.crm-auth__links a:hover {
    opacity: 1;
}

.crm-auth__note {
    display: block;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.6;
    opacity: .55;
}

[data-reset-resend] {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    opacity: .8;
    font-size: 14px;
}

@media (max-width: 575px) {
    .crm-auth {
        padding: 110px 0 70px;
    }

    .crm-auth__card {
        padding: 28px 20px;
    }

    .crm-grid {
        grid-template-columns: 1fr;
    }
}
