/* ==========================================================================
   Register (Đăng ký) Page Styles - 1920px Canvas Figma Specification
   ========================================================================== */

.register-page .auth-ellipse--inner {
    top: 249.4px;
    width: 1130px;
    height: 1130px;
}

.register-page .auth-ellipse--outer {
    top: 135.4px;
    width: 1358px;
    height: 1358px;
}

.register-form {
    align-items: center;
    gap: 40px;
}

.register-fields {
    display: grid;
    grid-template-columns: repeat(2, 440px);
    gap: 20px;
}

.register-terms {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: #292929;
}

.register-terms input[type="checkbox"] {
    appearance: none;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    background: #FFFFFF;
    border: 1px solid #BDBDBD;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.register-terms input[type="checkbox"]:checked {
    background: #3D7CA7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 14px no-repeat;
    border-color: #3D7CA7;
}

.register-terms label {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #292929;
    cursor: pointer;
}

.register-terms-brand {
    font-weight: 700;
    color: #3D7CA7;
}

.register-terms .error-message {
    flex-basis: 100%;
    justify-content: center;
}

.register-terms-error {
    grid-column: 1 / -1;
    text-align: center;
}

@media (max-width: 991px) {
    .register-fields {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }
}
