/* סניפט 2467 - פופאפ התחברות/הרשמה (רק לגולשים לא מחוברים) */
.mw-login-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 100000;
    justify-content: center;
    align-items: center;
}
.mw-login-overlay.is-open { display: flex; }
.mw-login-modal {
    background: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    direction: rtl;
    text-align: right;
    max-height: 90vh;
    overflow-y: auto;
}
.mw-login-title {
    margin: 0 0 20px;
    text-align: center;
    font-size: 22px;
}
.mw-login-close {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #999;
}
.mw-login-close:hover { color: #333; }
.mw-login-google { margin-bottom: 8px; }

/* ===== כפתור גוגל - רוחב מלא וגדול יותר ===== */
.mw-login-google .nsl-container,
.mw-login-google .nsl-container-buttons {
    width: 100% !important;
    margin: 0 !important;
}
.mw-login-google .nsl-container-buttons a {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
.mw-login-google .nsl-button {
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    border-radius: 8px !important;
}
.mw-login-google .nsl-button-label-container {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}
.mw-login-google .nsl-button-svg-container svg {
    width: 26px !important;
    height: 26px !important;
}

/* ===== מפריד "או" ===== */
.mw-login-divider {
    text-align: center;
    margin: 18px 0;
    position: relative;
}
.mw-login-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: #e0e0e0;
}
.mw-login-divider span {
    background: #fff;
    padding: 0 12px;
    position: relative;
    color: #999;
    font-size: 14px;
}

/* ===== לשוניות ===== */
.mw-login-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.mw-login-tabs .mw-tab {
    flex: 1;
    padding: 10px;
    background: #f3f3f3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #777;
}
.mw-login-tabs .mw-tab.is-active {
    background: #333;
    color: #fff;
}

/* ===== תוכן לשוניות ===== */
.mw-tab-content { display: none; }
.mw-tab-content.is-active { display: block; }
.mw-login-modal .woocommerce-form-login,
.mw-login-modal .woocommerce-form-register {
    margin: 0;
    border: none;
    padding: 0;
}
.mw-login-modal .woocommerce-form-login__submit,
.mw-login-modal .woocommerce-form-register button {
    width: 100%;
}
.mw-login-modal .form-row { margin-bottom: 14px; }
.mw-login-modal label { display: block; margin-bottom: 4px; }
.mw-login-modal input.input-text,
.mw-login-modal input[type="text"],
.mw-login-modal input[type="email"],
.mw-login-modal input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
