.wcap-wrap {
    max-width: 520px;
    margin: 56px auto;
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07)
}

.wcap-wrap.wcap-register {
    max-width: 760px !important;

}

@media (min-width: 768px) {
    .wcap-wrapper-main {
        max-height: 100vh;
        padding-block: 20px;
        overflow-y: auto;
    }
}

.wcap-title {
    margin: 0px 0 5px;
    line-height: 1.2;
    text-align: center;
    font-size: 26px;
    color: #205393;
}

.wcap-subtitle {
    margin: 0px 0 25px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    font-weight: 400;
}

.wcap-form {
    margin-top: 8px
}

.wcap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
}

.wcap-field.half {
    grid-column: span 1
}

.wcap-field.full {
    grid-column: 1/-1
}

.wcap-field {
    position: relative
}

.wcap-field label {
    display: block;
    font-weight: 400;
    margin-bottom: 6px;
    color: #1c1c1c
}

.wcap-field input,
.wcap-field select {
    width: 100%;
    padding: 10px 40px 10px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #fff;
    outline: none;
    font-size: 16px;
}

.wcap-field input:focus,
.wcap-field select:focus {
    border-color: #274291;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .15)
}

.wcap-inline {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.wcap-inline input {
    width: 18px !important;
    height: 18px !important;
}

.wcap-actions {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}

.wcp-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px 12px;
}

.wcap-actions .button {
    background: #205393;
    border: none;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.wcap-actions .button:hover {
    background: #2363b0
}


.wcap-small a:hover {
    text-decoration: underline;
}

.wcap-switch {
    text-align: center;
    margin-top: 14px;
    font-size: 17px;
}

.wcap-switch a {
    font-weight: 400;
    text-decoration: underline !important;
    font-size: 16px;
}



.wcap-remember {
    margin-left: 10px;
    font-size: 14px
}

.wcap-hp {
    display: none !important
}

.wcap-error {
    color: #b91c1c;
    font-size: 13px;
    margin-top: 2px;
    min-height: 1em
}

.wcap-pass .wcap-eye {
    position: absolute;
    right: 10px;
    top: 36px;
    width: 28px;
    height: 28px;
    border: 0;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: pointer
}

.wcap-pass .wcap-eye:after {
    content: '👁';
    display: block;
    text-align: center;
    line-height: 28px;
    position: absolute;
    top: 0;
    left: 6px;
}

@media (max-width: 720px) {
    .wcap-grid {
        grid-template-columns: 1fr
    }

    .wcap-field.half {
        grid-column: 1/-1
    }

    .wcap-wrap {
        padding: 16px;
        margin: 14px auto;

    }
}

.wcap-has-error input,
.wcap-has-error select {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important;
}