.login_sec #theTypeSwitchHolder,
#registerForm #artistNameHolder,
#registerForm #expertiseHolder,
#registerForm #musicExmHolder,
#registerForm #addCommentHolder {
    display: none;
}

.login_sec .logo {
    background: transparent !important;
    padding: 0 !important;
}

#registerForm .form-floating:has(> #phone),
#registerForm .row:has(#facebook),
#registerForm .form-floating:has(> #confirmPassword),
#registerForm .form-check:has(> #termsCheck) {
    display: none;
}

.uonline-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 22px;
}

.uonline-auth-tabs-page {
    margin-top: 18px;
}

.uonline-auth-tab {
    appearance: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border: 2px solid #111;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.uonline-auth-tab:hover,
.uonline-auth-tab:focus-visible {
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.uonline-auth-tab.is-active:not(.uonline-auth-tab-signup) {
    background: #111;
    color: #fff;
}

.uonline-auth-tab-signup,
.uonline-auth-tab-signup:hover,
.uonline-auth-tab-signup:focus-visible {
    border-color: #ff5a00;
    background: #ff5a00;
    color: #fff;
}

.artist-signup-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #f7f7f7;
}

.artist-signup-toggle .form-check-input {
    order: 2;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 0;
}

.artist-signup-toggle .form-check-label {
    cursor: pointer;
}

.social-auth-label {
    margin: 18px 0 8px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: center;
}

.social-auth-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 16px;
}

.social-auth-button {
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 22px;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.social-auth-button:hover,
.social-auth-button:focus-visible {
    border-color: #ff5a00;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
    color: #111;
    transform: translateY(-1px);
}

.social-auth-button .bx-google { color: #4285f4; }
.social-auth-button .bx-facebook { color: #3c5a9a; }

/*
 * These flat selectors intentionally avoid CSS nesting. Older iPhone Safari
 * versions ignore the nested .sign_with rules in main.css completely.
 */
.login_sec .sign_with,
.modal .sign_with,
form .sign_with {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100%;
    margin: 0 0 16px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.login_sec .sign_with .btn-item,
.modal .sign_with .btn-item,
form .sign_with .btn-item {
    -webkit-appearance: none;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 46px;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px;
    min-height: 46px;
    padding: 10px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 50% !important;
    background: #fff !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.login_sec .sign_with .btn-item svg,
.modal .sign_with .btn-item svg,
form .sign_with .btn-item svg,
.social-auth-button svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 575.98px) {
    .uonline-auth-tabs {
        gap: 8px;
        margin-bottom: 16px;
    }

    .uonline-auth-tab {
        min-height: 44px;
        padding: 9px 12px;
    }

    .artist-signup-toggle {
        padding: 12px;
    }
}
