.login-password-control {
    position: relative;
    display: block;
}

.cricket-login .auth-form .login-password-control input {
    box-sizing: border-box;
    padding-right: 48px;
}

.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    color: #63746f;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.login-password-toggle:hover {
    color: #178b69;
    background: #eaf6f0;
}

.login-password-toggle:focus-visible {
    outline: 2px solid #27c995;
    outline-offset: 2px;
}

.login-password-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.login-password-toggle [hidden] {
    display: none;
}

.auth-organizer-register-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 11px 16px;
    border: 1px solid #b9e6d5;
    border-radius: 11px;
    color: #147a5b;
    background: #f1faf6;
    font-size: .84rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.auth-organizer-register-link:hover {
    border-color: #8dd8bc;
    color: #0c684b;
    background: #e5f7ef;
    transform: translateY(-1px);
}

.auth-organizer-register-link:focus-visible {
    outline: 2px solid #27c995;
    outline-offset: 3px;
}

.auth-method-description {
    margin: 0 0 14px;
    color: #718092;
    font-size: .78rem;
    line-height: 1.5;
}

.auth-method-description[hidden],
.auth-method-setup-note[hidden] {
    display: none;
}

.auth-method-setup-note {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid #efd59a;
    border-radius: 10px;
    color: #795817;
    background: #fff9e9;
    font-size: .78rem;
    line-height: 1.5;
}

.auth-method-tabs button:disabled {
    color: #9ba8b3;
    background: transparent;
    cursor: not-allowed;
}

.auth-google-section {
    margin-top: 0;
}

.auth-method-section[hidden],
.auth-otp-section[hidden],
.auth-password-panel[hidden] {
    display: none;
}

.auth-method-section {
    display: block;
    margin-top: 22px;
}

.auth-method-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 14px;
    padding: 5px;
    border: 1px solid #dce9e4;
    border-radius: 14px;
    background: #f0f6f3;
}

.auth-method-tabs[hidden] {
    display: none;
}

.auth-method-tabs button {
    min-width: 0;
    min-height: 48px;
    padding: 9px 7px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #657582;
    background: transparent;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.25;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.auth-method-tabs button:hover {
    color: #176b51;
    background: #e5f5ed;
}

.auth-method-tabs button.is-active {
    border-color: #d5e9df;
    color: #0d503d;
    background: #fff;
    box-shadow: 0 3px 10px rgba(22, 55, 48, .09);
}

.auth-method-tabs button.is-unavailable {
    color: #9b8b6c;
}

.auth-method-tabs button:focus-visible {
    outline: 2px solid #27c995;
    outline-offset: 2px;
}

.auth-method-panel {
    min-height: 130px;
}

.auth-method-description {
    margin-bottom: 12px;
}

.auth-method-setup-note {
    margin-bottom: 0;
}

.auth-method-panel .auth-form {
    gap: 14px;
    margin-top: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 22px 0 13px;
    color: #84938e;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: none;
}

.auth-divider span {
    flex: 0 0 auto;
    padding: 0 4px;
}

.auth-divider:before,
.auth-divider:after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, #d6e3dd);
}

.auth-divider:after {
    transform: rotate(180deg);
}

.auth-google-section {
    min-height: 58px;
    padding: 8px;
    border: 1px solid #e1eae6;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff, #f8fbf9);
    box-shadow: 0 8px 20px rgba(15, 36, 43, .045);
}

.auth-google-button {
    min-height: 42px;
}

@media (max-width: 480px) {
    .auth-method-tabs {
        grid-template-columns: 1fr;
    }

    .auth-method-tabs button {
        min-height: 42px;
    }
}
