﻿body {
    font-family: 'Rubik';
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #cde0f3;
    background-image: url(../Images/new_design.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logo-white {
    position: absolute;
    top: 17px;
    left: 17px;
    width: 9%;
}

.bg-left {
    position: absolute;
    left: calc((100vw - 858px) / 2 - 250px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    width: 19%;
    max-width: 250px;
    min-width: 120px;
    height: auto;
}

.bg-right {
    position: absolute;
    right: calc((100vw - 858px) / 2 - 250px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    width: 19%;
    max-width: 250px;
    min-width: 120px;
    height: auto;
}

/* התאמה למסכים 1200-1400px */
@media (max-width: 1400px) and (min-width: 1201px) {
    .bg-left,
    .bg-right {
        width: 16vw;
        max-width: 220px;
    }

    .bg-left {
        left: calc((100vw - 858px) / 2 - 200px);
    }

    .bg-right {
        right: calc((100vw - 858px) / 2 - 200px);
    }
}

/* התאמה למסכים 1100-1200px */
@media (max-width: 1200px) and (min-width: 1101px) {
    .bg-left,
    .bg-right {
        width: 14vw;
        max-width: 170px;
    }

    .bg-left {
        left: calc((100vw - 858px) / 2 - 150px);
    }

    .bg-right {
        right: calc((100vw - 858px) / 2 - 150px);
    }
}

/* מסכים קטנים (עד 1100px) - הסתר */
@media (max-width: 1100px) {
    .bg-left,
    .bg-right {
        display: none;
    }
}

/* טקסט placeholder בצד השמאלי */
.left-placeholder-text {
    font-size: 19px;
    font-weight: 300;
    color: #1F2F61;
    text-align: center;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    margin: auto;
}

    .left-placeholder-text.hidden {
        display: none;
    }

.register-form {
    background: #fff;
    direction: rtl;
    font-family: 'Rubik';
    z-index: 1;
    background-color: transparent;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 6px;
}

.form-group {
    margin-bottom: 9px;
}

#step-company .wizard-nav {
    justify-content: end !important;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
}

.input, select {
    width: 89%;
    padding: 10px 8px;
    border: 1px solid #007292;
    border-radius: 6px;
    font-size: 14px;
    background: #F9F9F9;
    border: 1px solid #E6E6E6;
    transition: border-color 0.2s;
    margin-top: 4px;
}

    .input:focus {
        outline: none;
    }

label {
    display: block;
    font-weight: 500;
    color: #252B42;
    font-size: 13px;
    letter-spacing: 0.2px;
}

    label .label-note {
        font-size: 13px;
        color: #666;
        font-weight: normal;
        margin-right: 4px;
    }

/* סגנון לדגלים בקומבו */
.phone-prefix-select {
    width: 100%;
    padding: 10px 8px;
    padding-right: 35px;
    border-radius: 5px;
    font-size: 11px;
    transition: border-color 0.2s;
    margin-top: 4px;
    cursor: pointer;
    direction: ltr;
    text-align: left;
    background: #F9F9F9;
    border: 1px solid #E6E6E6;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 8px center;
    background-size: 8px 10px;
}

    .phone-prefix-select option {
        padding: 8px 8px 8px 35px;
        font-size: 14px;
        direction: ltr;
        background-repeat: no-repeat;
        background-position: 8px center;
        background-size: 20px 15px;
    }

/* גודל הדגלים */
.flag-icon {
    width: 20px;
    height: 15px;
    margin-left: 8px;
    vertical-align: middle;
}

#errorMsg {
    color: #e74c3c;
    font-size: 18px;
    display: inline-block;
    position: absolute;
    margin-right: 8px;
    margin-top: 2px;
    background: none;
    border-radius: 0;
    bottom: 0;
}

.error-msg.show {
    visibility: visible;
}

.form-section-title {
    font-size: 21px;
    color: #007292;
    margin-bottom: 18px;
    margin-top: 0;
    text-align: right;
    background: none;
    border-radius: 0;
    padding: 0 0 2px 0;
    border-right: none;
    border-left: none;
    box-shadow: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

    .form-section-title .fa {
        font-size: 19px;
        color: #007292;
        margin-left: 6px;
    }

.field-required {
    color: #252B42;
    font-size: 15px;
    vertical-align: sub;
    margin-right: 1px;
    margin-left: 2px;
    display: none;
}

#wizard {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
}

.form-title {
    font-size: 1.5em;
    color: #0057b8;
    margin-bottom: 18px;
    background: #daf2fd;
    font-size: 24px;
    text-align: center;
    padding: 9px 0 9px 0;
    border-radius: 12px;
    margin-bottom: 13px;
    box-shadow: 0 2px 8px #00729222;
    display: none;
}

#recaptcha-overlay {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.97);
    display: flex;
    align-items: center;
    justify-content: center;
}

    #recaptcha-overlay > div {
        border-radius: 18px;
        padding: 38px 32px 32px 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 320px;
    }

.wizard-steps, #wizard-steps {
    display: flex;
    direction: rtl;
    flex-direction: row;
    margin-bottom: 18px;
    position: relative;
    gap: 15%;
}

.line-0 {
    right: 69px;
}

.line-1 {
    right: 214px;
}

.wizard-prev {
    color: #A1A1A1;
    font-size: 15px;
    background-color: transparent;
    cursor: pointer;
    padding-top: 20px;
}

.wizard-next, #btnRegister {
    width: 100px;
    padding: 10px 0;
    margin: 12px 6px 0 6px;
    border: none;
    border-radius: 100px;
    background: #0457E3;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    font-size: 15px;
}

    .wizard-prev:disabled, .wizard-next:disabled, #btnRegister:disabled {
        background: #b0c4de;
        cursor: not-allowed;
        opacity: 0.6;
    }

.wizard-step {
    position: absolute;
    width: 100%;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98) translateX(60px);
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
}

    .wizard-step.active {
        opacity: 1;
        pointer-events: auto;
        z-index: 2;
        transform: scale(1) translateX(0);
    }

    .wizard-step.slide-out-left {
        opacity: 0;
        transform: scale(0.96) translateX(-60px);
        transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    }

    .wizard-step.slide-in-right {
        opacity: 1;
        transform: scale(1) translateX(0);
        transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    }

    .wizard-step.slide-out-right {
        opacity: 0;
        transform: scale(0.96) translateX(60px);
        transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    }

    .wizard-step.slide-in-left {
        opacity: 1;
        transform: scale(1) translateX(0);
        transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    }

.wizard-step-line {
    flex: 1 1 24px;
    height: 3px;
    background: #e3eafc;
    margin: 0 2px;
    border-radius: 2px;
}

.wizard-step-circle.active {
    background: #3498db;
    color: #fff;
}

.center-container {
    width: 858px;
    height: 625px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
}

.left-side {
    background-color: #F0F5FF;
    width: 78%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 24px;
    margin-right: 22px;
}

#randomImg {
    display: none;
}

.right-side {
    width: 100%;
    margin-right: 0;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 32px 24px 24px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* ... (שאר הסגנונות נשארים זהים) ... */

.recaptcha-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 40px #0057b855, 0 0 0 6px #3498db33;
    padding: 44px 36px 36px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 340px;
    border: 3px solid #3498db;
    animation: recaptcha-pop 0.5s cubic-bezier(.4,0,.2,1);
}

@keyframes recaptcha-pop {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.recaptcha-title {
    font-size: 1.5em;
    color: #0057b8;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#LogoCropModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#LogoCropModalOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
}

#LogoCropModalContent {
    position: relative;
    background: #fff;
    padding: 24px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.15);
    z-index: 1;
    min-width: 350px;
    max-width: 95vw;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.cropper-container {
    max-width: 100%;
    max-height: 50vh !important;
    margin: 0 auto;
}

#LogoCropImage {
    max-width: 100%;
    max-height: 50vh;
    display: block;
    margin: auto;
}

.modal-btn {
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    margin: 0 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}

    .modal-btn:disabled {
        background: #b5b5b5;
        cursor: not-allowed;
    }

    .modal-btn:hover:enabled {
        background: #217dbb;
    }

#addRoleDialog {
    position: absolute;
    min-width: 220px;
    max-width: 320px;
    background: #fff;
    border: 1.5px solid #b3d7ff;
    box-shadow: 0 4px 16px #00729222, 0 0 0 4px #3498db11;
    border-radius: 16px;
    padding: 14px 20px 14px 20px;
    z-index: 10000;
    font-size: 15px;
    font-family: 'Rubik', sans-serif;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

    #addRoleDialog label {
        color: #007292;
        font-weight: 500;
        margin-bottom: 6px;
        font-size: 15px;
    }

    #addRoleDialog input.input {
        width: 89%;
        margin-bottom: 6px;
        font-size: 15px;
        padding: 10px 8px;
        border: 1px solid #007292;
        border-radius: 8px;
        background: #f7fbff;
        transition: border-color 0.2s;
        font-family: inherit;
        height: 14px;
    }

        #addRoleDialog input.input:focus {
            border-color: #3498db;
            outline: none;
            background: #fff;
        }

    #addRoleDialog .btn {
        font-size: 15px;
        padding: 9px 0px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        margin-left: 8px;
        margin-right: 0;
        transition: background 0.18s, color 0.18s, box-shadow 0.18s;
        box-shadow: 0 1px 4px #0057b81a;
        outline: none;
        font-family: inherit;
        min-width: 66px;
        font-weight: 500;
        text-align: center;
    }

    #addRoleDialog .btn-primary {
        background: #3498db;
        color: #fff;
    }

        #addRoleDialog .btn-primary:hover,
        #addRoleDialog .btn-primary:focus {
            background: #217dbb;
            color: #fff;
        }

    #addRoleDialog .btn-secondary {
        background: #e0e0e0;
        color: #222;
    }

        #addRoleDialog .btn-secondary:hover,
        #addRoleDialog .btn-secondary:focus {
            background: #bdbdbd;
            color: #222;
        }

    #addRoleDialog .dialog-title {
        font-size: 18px;
        color: #0057b8;
        margin-bottom: 12px;
        text-align: center;
        letter-spacing: 0.5px;
    }

    #addRoleDialog .dialog-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 8px;
    }

#addRoleOverlay {
    display: none;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    left: 26px;
    cursor: pointer;
    color: #007292;
    font-size: 18px;
    user-select: none;
    z-index: 2;
}

.password-wrapper .input {
    padding-left: 36px;
}

.hide {
    display: none;
}

.logo-upload-box {
    position: relative;
    height: 87px;
    border: 2px dashed #E3E3E3;
    border-radius: 7px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #007292;
    cursor: pointer;
    transition: border-color 0.2s;
    overflow: hidden;
    margin-top: 10px;
    padding-right: 15px;
    outline: none; /* 🔥 הסר את ה-outline המוגדר כברירת מחדל */
}

    .logo-upload-box:hover,
    .logo-upload-box:focus {
        border-color: #a1a1a1;
    }

    .logo-upload-box i {
        position: relative;
        font-size: 2.5em;
        margin-bottom: 8px;
        color: #3498db;
    }

.logo-upload-text {
    font-size: 13px;
    color: #737373;
    text-align: center;
    white-space: pre-line;
    margin: 0px 7px;
    margin-right: 20px;
}

#LogoUploadBox #LogoPreview {
    display: none !important;
}

#LogoPreview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    z-index: 2;
}

.field-error {
    color: #e74c3c;
    font-size: 13px;
    margin-right: 8px;
    display: none;
    margin-top: 2px;
}

.form-row {
    display: flex;
    gap: 24px;
}

    .form-row .form-group {
        flex: 1 1 0;
        min-width: 0;
    }

.placeholder-image {
    background-image: url('../images/placeholderimage.png');
    width: 60px;
    height: 60px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

.form-group.logo {
    margin-top: 22px;
}

.logo-action-icon {
    display: inline-block;
    margin: 0 6px;
    color: #3498db;
    background: #f4f8fb;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    vertical-align: middle;
}

    .logo-action-icon:hover {
        background: #e3eafc;
    }

#LogoActions {
    z-index: 3;
    display: flex;
    gap: 8px;
}

.wizard-summary-item {
    margin-bottom: 7px;
    word-break: break-word;
}

#randomImg {
    width: 168px;
}

.wizard-summary {
    padding: 22px 18px 18px 18px;
    margin-top: 0;
    font-size: 15px;
    width: 320px;
    min-height: 320px;
    height: auto;
    max-width: 320px;
    direction: rtl;
    transition: box-shadow 0.2s, min-height 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .wizard-summary.empty {
        display: none;
    }

.wizard-summary-row {
    display: flex;
    align-items: center;
    min-height: 25px;
    gap: 8px;
    padding-top: 2px;
}

    .wizard-summary-row.edit {
        margin-bottom: 42px;
    }

        .wizard-summary-row.edit .wizard-summary-value {
            width: 100%;
        }

        .wizard-summary-row.edit input {
            width: 95%;
        }

    .wizard-summary-row:last-child {
        border-bottom: none;
    }

.wizard-summary-title {
    font-size: 1.18em;
    font-weight: bold;
    color: #0057b8;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    display: none;
    align-items: center;
    gap: 7px;
    border-bottom: 2px solid #3498db33;
    padding-bottom: 7px;
}

.wizard-summary-row.logo {
    margin-bottom: 15px;
}

.wizard-summary-title::before {
    content: "\f02e";
    font-family: FontAwesome;
    font-size: 1.1em;
    color: #3498db;
    margin-left: 6px;
}

.wizard-summary-label {
    min-width: 80px;
    font-weight: 500;
    color: #0057b8;
    margin-left: 8px;
    font-size: 15px;
    letter-spacing: 0.1px;
    flex-shrink: 0;
}

.wizard-summary-value {
    flex: 1;
    color: #2d3a4b;
    font-size: 15px;
    font-weight: 400;
    word-break: break-word;
    text-align: right;
}

    .wizard-summary-value.company-name {
        height: 32px;
        font-style: normal;
        font-weight: normal;
        font-size: 24px;
        line-height: 32px;
        text-align: right;
        letter-spacing: 0.2px;
        color: #252B42;
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .wizard-summary-value.domain {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0px;
        gap: 5px;
        width: 298px;
        height: 24px;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .wizard-summary-value.hp {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 0px;
        gap: 10px;
        width: 88px;
        height: 24px;
        flex: none;
        flex-grow: 0;
        padding-top: 3px;
        color: #737373;
    }

    .wizard-summary-value.role {
        height: 24px;
        font-style: normal;
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0.2px;
        color: #737373;
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .wizard-summary-value.cell, .wizard-summary-value.mail {
        font-style: normal;
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0.2px;
        color: #000000;
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .wizard-summary-value.name {
        height: 32px;
        font-style: normal;
        font-size: 24px;
        line-height: 32px;
        text-align: right;
        letter-spacing: 0.2px;
        color: #252B42;
        flex: none;
        order: 0;
        flex-grow: 0;
        margin-top: 17px;
    }

    .wizard-summary-value img {
        width: 100%;
    }

    .wizard-summary-value.logo {
        text-align: center;
    }

.wizard-summary-placeholder {
    color: #b0b0b0;
    text-align: center;
    padding: 24px 0;
    font-size: 1.08em;
}

.wizard-step-caption {
    font-size: 12px;
    color: #0057b8;
    margin-top: 2px;
    font-weight: 400;
    white-space: nowrap;
}

.wizard-step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.18em;
    margin: 0 10px;
    box-shadow: 0 2px 8px #00729211;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    cursor: pointer;
    color: white;
    background-color: #EAEAEA;
}

    .wizard-step-circle.active {
        background-color: #1F2F61;
        color: white;
        box-shadow: 0 0 0 4px white, 0 0 0 5px #1F2F61;
    }

    .wizard-step-circle.completed {
        background-color: green;
        color: white;
        box-shadow: 0 0 0 4px white, 0 0 0 5px green;
    }

        .wizard-step-circle.completed ~ .wizard-step-caption {
            color: green;
        }

.wizard-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    max-width: 120px;
    margin: 0 4px;
}

.wizard-step-caption {
    font-size: 13px;
    margin-top: 7px;
    text-align: center;
    letter-spacing: 0.1px;
    line-height: 1.2;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    opacity: 0.95;
    transition: color 0.2s;
    text-shadow: 0 1px 0 #fff, 0 0px 2px #3498db11;
    font-weight: 500;
    line-height: 24px;
    color: #1F2F61;
}

.editable-summary {
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
    position: relative;
}

.edit-icon {
    color: #b0b0b0;
    font-size: 13px;
    margin-right: 4px;
    vertical-align: middle;
    opacity: 0.7;
    transition: color 0.2s;
    display: none;
}

.editable-summary:hover .edit-icon {
    color: #3498db;
    opacity: 1;
}

.wizard-summary-row .edit-icon {
    opacity: 0.5;
    transition: opacity 0.2s;
    cursor: pointer;
}

.wizard-summary-row:hover .edit-icon {
    opacity: 1;
}

.summary-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 2px;
    text-align: right;
}

#register-loader {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.custom-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-loader-bounce {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

    .custom-loader-bounce div {
        width: 18px;
        height: 18px;
        background: linear-gradient(135deg, #3498db 60%, #6dd5fa 100%);
        border-radius: 50%;
        animation: loader-bounce 1.2s infinite cubic-bezier(.62,.28,.23,.99);
    }

        .custom-loader-bounce div:nth-child(2) {
            animation-delay: 0.2s;
        }

        .custom-loader-bounce div:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes loader-bounce {
    0%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-28px);
    }
}

.custom-loader-text {
    font-family: 'Rubik', Arial, sans-serif;
    font-size: 1.2em;
    color: #0057b8;
    letter-spacing: 1px;
    text-align: center;
}

#sms-loader {
    display: none;
    position: fixed;
    z-index: 11000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.sms-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sms-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 2px 16px #0057b822;
    padding: 24px 32px 18px 32px;
}

.sms-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e3eafc;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: sms-spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes sms-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sms-loader-text {
    font-family: 'Rubik', Arial, sans-serif;
    font-size: 1em;
    color: #0057b8;
    letter-spacing: 0.5px;
    text-align: center;
    opacity: 0.85;
}

#verifyCodeModal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    align-items: center;
    justify-content: center;
    display: flex;
}

    #verifyCodeModal > div {
        margin: 0;
    }

.field-required {
    display: inline;
}

#Domain.input {
    width: 100%;
    box-sizing: border-box;
}

#domainUrlPreview {
    flex: 0 0 auto;
    min-width: 194px;
    max-width: 194px;
}

.btn-save-summary,
.btn-cancel-summary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Rubik', sans-serif;
    margin: 5px;
}

.btn-edit-summary {
    display: none;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 10px;
    width: 76px;
    height: 24px;
    flex: none;
    flex-grow: 0;
    margin: auto;
    color: #3370F8;
    cursor: pointer;
}

.btn-save-summary {
    background-color: #3DACE4;
    width: 99%;
}

    .btn-save-summary:hover {
        background: #1e8449;
    }

.btn-cancel-summary {
    background: #e74c3c;
    color: #fff;
}

    .btn-cancel-summary:hover {
        background: #c0392b;
    }

.summary-edit-select {
    font-size: 15px;
    padding: 4px 6px;
    border: 1px solid #3498db;
    border-radius: 4px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.field-instructions {
    color: #007292;
    font-size: 12px;
    margin-right: 8px;
    display: block;
    margin-top: 4px;
    line-height: 1.4;
    opacity: 0.85;
    position: relative;
    padding-left: 35px;
}

.field-error {
    color: #e74c3c;
    font-size: 13px;
    margin-right: 8px;
    display: none;
    margin-top: 2px;
    font-weight: 500;
}

.wizard-next, #btnRegister {
    width: 100px;
    padding: 10px 28px;
    margin: 12px 6px 0 6px;
    border: none;
    border-radius: 100px;
    background: #0457E3;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s, transform 0.2s;
    text-align: center;
    font-size: 15px;
}

    .wizard-prev:disabled,
    .wizard-next:disabled,
    #btnRegister:disabled,
    .wizard-prev.btn-disabled,
    .wizard-next.btn-disabled,
    #btnRegister.btn-disabled {
        background: #b0c4de;
        cursor: not-allowed;
        opacity: 0.6;
        box-shadow: none;
        transform: none;
    }

    .wizard-next:not(:disabled),
    #btnRegister:not(:disabled) {
        animation: pulse-subtle 2s ease-in-out infinite;
    }

@keyframes pulse-subtle {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(52, 152, 219, 0);
    }
}

.wizard-next:disabled,
#btnRegister:disabled,
.wizard-next.btn-disabled,
#btnRegister.btn-disabled {
    animation: none;
}

.form-grid .form-group {
    margin-bottom: 16px;
}

.phone-input-container {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 13px;
    direction: ltr;
    width: 79%;
}
/* 🔥 Tooltip עדין לשדה Domain */
.domain-tooltip {
    position: absolute;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
    display: none;
    animation: tooltipBounce 0.3s ease;
}

    .domain-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #764ba2;
    }

@keyframes tooltipBounce {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🔥 התאמה למובייל */
@media (max-width: 700px) {
    .domain-tooltip {
        font-size: 12px;
        padding: 6px 12px;
        max-width: 90vw;
        white-space: normal;
        text-align: center;
    }
}
.phone-prefix-select {
    width: 100%;
    padding: 10px 8px;
    border-radius: 5px;
    font-size: 11px;
    transition: border-color 0.2s;
    margin-top: 4px;
    cursor: pointer;
    direction: ltr;
    text-align: left;
    background: #F9F9F9;
    border: 1px solid #E6E6E6;
}

    .phone-prefix-select:focus {
        border-color: #0059e5a3;
        outline: none;
    }

.form-grid .form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .form-grid .form-group label {
        margin-bottom: 4px;
    }

    .form-grid .form-group:has(.phone-input-container) {
        grid-column: span 1;
    }

.role-selection-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
    direction: rtl;
    width: 100%;
}

.role-option {
    padding: 4px 12px;
    border: 1px solid #D9D9D9;
    border-radius: 19px;
    background: #fff;
    color: rgba(0, 0, 0, 0.67);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    text-align: center;
    user-select: none;
}

    .role-option.selected {
        background: #1F2F61;
        color: #fff;
    }

.role-other-container {
    margin-top: 10px;
    grid-column: 1 / -1;
}

.role-other-input {
    width: 100%;
    box-sizing: border-box;
}

.password-requirements {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e3eafc;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

    .requirement:last-child {
        margin-bottom: 0;
    }

.requirement-icon {
    font-size: 14px;
    color: #b0b0b0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.requirement.valid {
    color: #27ae60;
}

    .requirement.valid .requirement-icon {
        color: #27ae60;
    }

        .requirement.valid .requirement-icon:before {
            content: "\f058";
        }

.requirement.invalid {
    color: #e74c3c;
}

    .requirement.invalid .requirement-icon {
        color: #e74c3c;
    }

        .requirement.invalid .requirement-icon:before {
            content: "\f057";
        }

@keyframes highlight-error {
    0% {
        background: transparent;
    }

    50% {
        background: #ffe0e0;
    }

    100% {
        background: #fff5f5;
    }
}

.domain-requirements {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e3eafc;
}

    .domain-requirements .requirement {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
        transition: all 0.3s ease;
        font-size: 13px;
        color: #666;
        line-height: 1.6;
    }

        .domain-requirements .requirement:last-child {
            margin-bottom: 0;
        }

    .domain-requirements .requirement-icon {
        font-size: 14px;
        color: #b0b0b0;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .domain-requirements .requirement.valid {
        color: #27ae60;
    }

        .domain-requirements .requirement.valid .requirement-icon {
            color: #27ae60;
        }

            .domain-requirements .requirement.valid .requirement-icon:before {
                content: "\f058";
            }

    .domain-requirements .requirement.invalid {
        color: #e74c3c;
    }

        .domain-requirements .requirement.invalid .requirement-icon {
            color: #e74c3c;
        }

            .domain-requirements .requirement.invalid .requirement-icon:before {
                content: "\f057";
            }

    .domain-requirements .requirement.touched.invalid {
        color: #e74c3c !important;
        font-weight: 500;
        background: #fff5f5;
        padding: 6px 10px;
        border-radius: 4px;
        margin: 4px 0;
        animation: shake-requirement 0.3s ease;
    }

@keyframes shake-requirement {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

@keyframes checkmark-pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.domain-requirements .requirement.valid .requirement-icon {
    animation: checkmark-pop 0.3s ease;
}

.requirements {
    color: blue;
}

.companyid-requirements .requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

    .companyid-requirements .requirement:last-child {
        margin-bottom: 0;
    }

.companyid-requirements .requirement-icon {
    font-size: 14px;
    color: #b0b0b0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.companyid-requirements .requirement.invalid {
    color: #e74c3c;
}

    .companyid-requirements .requirement.invalid .requirement-icon {
        color: #e74c3c;
    }

        .companyid-requirements .requirement.invalid .requirement-icon:before {
            content: "\f057";
        }

.companyid-requirements .requirement.touched.invalid {
    color: #e74c3c !important;
    font-weight: 500;
    background: #fff5f5;
    padding: 6px 10px;
    border-radius: 4px;
    margin: 4px 0;
    animation: shake-requirement 0.3s ease;
}

.form-group:has(.requirement.invalid) .input {
    border-color: #e74c3c !important;
    background-color: #fff5f5;
}

.form-group:has(.requirement.invalid) label {
    color: #e74c3c !important;
}

.form-group:has(.requirement.invalid) .field-required {
    color: #e74c3c !important;
}

.form-group:has(.requirement.touched.invalid) .input {
    border-color: #e74c3c !important;
    background-color: #fff5f5;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group:has(.requirement.touched.invalid) label {
    color: #e74c3c !important;
    font-weight: 600;
}

.form-group:has(.requirement.touched.invalid) .field-required {
    color: #e74c3c !important;
}

.requirement.touched.invalid {
    color: #e74c3c !important;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    margin: 4px 0;
    animation: shake-requirement 0.3s ease;
}

.requirement.valid .requirement-icon {
    animation: checkmark-pop 0.3s ease;
}

#login-form-screen,
#verify-code-screen {
    transition: opacity 0.3s ease;
}

.btn-secondary {
    transition: background 0.2s ease;
}

    .btn-secondary:hover {
        background: #bdbdbd !important;
    }

#verifyCodeInput {
    font-family: 'Courier New', monospace;
    background: #f8fafc;
    border: 2px solid #3498db;
}

    #verifyCodeInput:focus {
        border-color: #0057b8;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    }

#verify-code-screen {
    padding: 20px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#verify-code-screen .fa-envelope-o {
    animation: envelope-bounce 1s ease infinite;
}

@keyframes envelope-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

#verifyEmailDisplay {
    border-radius: 12px;
    margin: 0 auto;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

    #verifyEmailDisplay::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        transform: rotate(45deg);
        animation: shine 3s infinite;
    }

@keyframes shine {
    0% {
        left: -50%;
    }

    100% {
        left: 150%;
    }
}

#verifyCodeInput {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 3px solid #3498db;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.2), inset 0 2px 4px rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    font-weight: 700;
    color: #2c3e50;
}

    #verifyCodeInput:focus {
        border-color: #0057b8;
        background: #fff;
        box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.15), 0 12px 30px rgba(52, 152, 219, 0.3);
        transform: scale(1.02);
    }

    #verifyCodeInput::placeholder {
        color: #95a5a6;
        font-weight: 400;
    }

    #verifyCodeInput.input-error {
        animation: shake 0.5s;
    }

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

#verifyCodeError {
    min-height: 0;
    transition: all 0.3s ease;
}

    #verifyCodeError.error {
        animation: shake 0.3s ease;
    }

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-secondary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s;
    }

    .btn-secondary:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
    }

#verifyCodeBtnClient {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(17, 153, 142, 0.4);
    position: relative;
    overflow: hidden;
}

    #verifyCodeBtnClient::after {
        content: '✓';
        position: absolute;
        right: 20px;
        opacity: 0;
        transition: opacity 0.3s, right 0.3s;
        font-size: 1.2em;
    }

    #verifyCodeBtnClient:hover {
        background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(17, 153, 142, 0.5);
    }

        #verifyCodeBtnClient:hover::after {
            opacity: 1;
            right: 15px;
        }

    #verifyCodeBtnClient:disabled {
        background: #95a5a6;
        box-shadow: none;
        transform: none;
    }

#verifyCodeError {
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#verify-code-screen .form-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    display: block !important;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(52, 152, 219, 0);
    }
}

#verify-code-screen .fa-envelope-o {
    animation: envelope-bounce 1s ease infinite, pulse-ring 2s infinite;
}

#verify-code-screen > div:first-of-type {
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

#verify-code-screen:hover {
    transform: scale(1.01);
    transition: transform 0.3s ease;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    direction: ltr;
    margin: 20px 0;
    cursor: text;
}

.otp-digit-box {
    width: 45px;
    height: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 8px;
}

.otp-digit-value {
    font-size: 2em;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
    position: absolute;
    top: 5px;
    animation: digitPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes digitPop {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.otp-underline {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    position: absolute;
    bottom: 0;
    transition: all 0.3s ease;
    background: linear-gradient(37deg, #0457E3 0%, #1B04C9 100%);
}

.otp-digit-box.active::before {
    content: '';
    position: absolute;
    top: 8px;
    width: 2px;
    height: 35px;
    background: #667eea;
    animation: blink-cursor 1s infinite;
    z-index: 1;
}

@keyframes blink-cursor {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}

.otp-digit-box.active .otp-underline {
    height: 3px;
}

@keyframes pulse-underline {
    0%, 100% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(1.05);
    }
}

.otp-digit-box.filled::before {
    display: none;
}

.otp-digit-box.filled .otp-underline {
    background: linear-gradient(90deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 2px 12px rgba(17, 153, 142, 0.4);
}

.otp-input-container.error {
    animation: shake-otp 0.5s;
}

@keyframes shake-otp {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-8px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(8px);
    }
}

.otp-input-container.error .otp-underline {
    background: #e74c3c;
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.5);
}

.otp-input-container.success .otp-underline {
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 2px 12px rgba(39, 174, 96, 0.5);
}

.otp-input-container.success .otp-digit-value {
    color: #27ae60;
    animation: bounce 0.6s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

#verify-code-screen:not([style*="display: none"]) ~ * .wizard-prev,
#verify-code-screen:not([style*="display:none"]) ~ * .wizard-prev {
    display: none !important;
}

#backToFormBtn {
    display: none !important;
}

#verifyCodeInput {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.01;
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: -1;
    border: none;
    outline: none;
    background: transparent;
}

.otp-input-container.focused #verifyCodeInput,
.otp-input-container:focus-within #verifyCodeInput {
    pointer-events: auto;
}

.contact-us {
    text-align: right;
    color: #252B42;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
    padding-top: 10px;
    cursor: pointer;
}

.img-chat-help {
    vertical-align: top;
}

.contact-modal {
    position: absolute;
    bottom: 5%;
    width: 477px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.contact-modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 5px 28px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    direction: rtl;
    z-index: 10;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-modal-close {
    position: absolute;
    left: 1%;
    top: 5%;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

    .contact-modal-close:hover {
        background: #f0f0f0;
        color: #333;
        transform: rotate(90deg);
    }

.contact-modal-title {
    font-size: 24px;
    color: #0057b8;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
}

.contact-modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.contact-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E6E6E6;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Rubik', sans-serif;
    resize: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background: #F9F9F9;
    margin-top: 17px;
    outline: none;
}

.contact-modal-actions {
    margin-top: 20px;
    text-align: center;
    justify-items: end;
}

.contact-send-btn {
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    background-color: #3DACE4;
    width: fit-content;
}

    .contact-send-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    }

    .contact-send-btn:active {
        transform: translateY(0);
    }

    .contact-send-btn i {
        margin-left: 8px;
    }

.contact-success-msg {
    margin-top: 16px;
    padding: 14px;
    background: #e8f8f5;
    color: #27ae60;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid #27ae60;
    animation: slideUp 0.3s ease;
}

    .contact-success-msg i {
        margin-left: 8px;
        font-size: 18px;
    }

/* 🔥 התאמות מובייל - טופס קטן יותר כדי לראות את contact-us */
@media (max-width: 700px) {
    body {
        display: block !important;
        height: 100vh !important;
        min-height: 100vh;
        padding: 0;
        overflow-x: hidden;
        background-size: cover;
        background-attachment: fixed;
    }

    /* 🔥 הסתר לחלוטין את כל האלמנטים המיותרים */
    .logo-white,
    .bg-left,
    .bg-right {
        display: none !important;
    }

    .center-container {
        width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        flex-direction: column !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
    }

    /* 🔥 הסתר לחלוטין את הצד השמאלי */
    .left-side {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* 🔥 הצד הימני - גובה מוגבל */
    .right-side {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        height: calc(100vh - 45px) !important; /* 🔥 שינוי מ-80px ל-60px - יותר מקום לתוכן */
        max-height: calc(100vh - 45px) !important;
        margin: 0 !important;
        padding: 20px 5vw 10px 5vw !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        box-sizing: border-box;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1 1 auto;
    }

    .contact-modal-close {
        top: 3%!important;
    }

    .form-title {
        font-size: 20px !important;
        padding: 12px 14px !important;
        margin-bottom: 16px !important;
        font-weight: 700;
    }

    /* 🔥 #wizard - קומפקטי */
    #wizard {
        position: relative;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        flex: 1 1 auto !important;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .wizard-step {
        position: relative !important;
        width: 100%;
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

        .wizard-step.active {
            opacity: 1;
            pointer-events: auto;
            z-index: 2;
            transform: scale(1) translateX(0);
            display: flex !important;
        }

        .wizard-step:not(.active) {
            display: none !important;
        }

    .wizard-steps, #wizard-steps {
        display: flex !important;
        direction: rtl;
        flex-direction: row;
        margin-bottom: 20px !important;
        position: relative;
        gap: 0 !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
        padding: 0 15px;
    }

    .wizard-step-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        flex: 1;
        max-width: none;
    }

    /* 🔥 העיגולים - ללא שינוי */
    .wizard-step-circle {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2em !important;
        margin: 0 !important;
        font-weight: 700;
        position: relative;
        z-index: 2;
    }

    .wizard-step-caption {
        font-size: 11px !important;
        margin-top: 8px;
        line-height: 1.2;
        font-weight: 600;
        max-width: 70px;
        text-align: center;
        word-wrap: break-word;
    }

    /* 🔥 קו בין עיגול 1 ל-2 - העיגול השני יוצר את הקו */
    .wizard-step-item:nth-of-type(1)::before {
        content: '';
        position: absolute;
        height: 3px;
        width: calc(100% - 22.5px);
        background: #E6E6E6;
        border-radius: 2px;
        top: 21px;
        right: calc(50% + 22.5px);
        z-index: 1;
    }

    /* 🔥 קו בין עיגול 2 ל-3 - העיגול השלישי יוצר את הקו */
    .wizard-step-item:nth-of-type(3)::before {
        content: '';
        position: absolute;
        height: 3px;
        width: calc(100% - 22.5px);
        background: #E6E6E6;
        border-radius: 2px;
        top: 21px;
        right: calc(50% + 22.5px);
        z-index: 1;
    }

    /* 🔥 קו ירוק כשהשלב השני הושלם */
    .wizard-step-item:nth-of-type(1).completed::before {
        background: green !important;
    }

    /* 🔥 קו ירוק כשהשלב השלישי הושלם */
    .wizard-step-item:nth-of-type(3).completed::before {
        background: green !important;
    }

    /* 🔥 הסתר קווים ישנים */
    .wizard-step-line {
        display: none !important;
    }

    .line-0, .line-1 {
        display: none !important;
    }

    /* 🔥 שדות - קומפקטיים */
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px 0 !important;
        width: 100%;
    }

    .form-group {
        margin-bottom: 12px !important;
        width: 100% !important;
    }

    .input, select, textarea {
        width: 100% !important;
        font-size: 16px !important;
        padding: 12px 14px !important;
        box-sizing: border-box !important;
        -webkit-appearance: none;
        appearance: none;
        min-height: 44px !important;
        border-width: 1.5px;
    }

    label {
        font-size: 14px !important;
        margin-bottom: 6px;
        font-weight: 600;
        color: #1F2F61;
    }

    /* 🔥 כפתורים - קומפקטיים */
    .wizard-next, .wizard-prev, #btnRegister {
        width: 100% !important;
        min-width: 0 !important;
        margin: 12px 0 0 0 !important;
        font-size: 16px !important;
        padding: 12px 20px !important;
        box-sizing: border-box;
        min-height: 48px !important;
        font-weight: 700;
        border-radius: 10px !important;
    }

    .wizard-nav {
        flex-direction: row !important; /* שנה מ-column ל-row */
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin-top: 8px;
        width: 100%;
        flex: 0 0 auto;
    }

    /* 🔥 כשיש רק כפתור אחד (שלב ראשון) - רוחב מלא */
    #step-company .wizard-nav {
        justify-content: flex-end !important;
    }

        #step-company .wizard-nav .wizard-next {
            width: 100% !important;
        }

    /* 🔥 כשיש שני כפתורים - חלוקה שווה */
    .wizard-nav:has(.wizard-prev):has(.wizard-next) .wizard-prev,
    .wizard-nav:has(.wizard-prev):has(.wizard-next) .wizard-next {
        width: 48% !important;
        flex: 1 1 48%;
    }

    /* 🔥 כפתור "הקודם" - סטייל מיוחד */
    .wizard-prev {
        width: 48% !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 14px !important;
        padding: 12px 16px !important;
        box-sizing: border-box;
        min-height: 48px !important;
        /* font-weight: 600; */
        border-radius: 10px !important;
        background: transparent !important;
        color: #A1A1A1 !important;
        /* border: 1.5px solid #E6E6E6 !important; */
        display: flex !important;
        align-items: center !important;
        /* justify-content: center !important; */
        gap: 6px;
    }

        .wizard-prev img {
            width: 14px !important;
            height: 14px !important;
            filter: grayscale(1) opacity(0.6);
        }

    /* 🔥 כפתור "הבא" - סטייל בולט */
    .wizard-next, #btnRegister {
        width: 48% !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 16px !important;
        padding: 12px 20px !important;
        box-sizing: border-box;
        min-height: 48px !important;
        font-weight: 700;
        border-radius: 10px !important;
    }

    /* 🔥 כשיש רק כפתור אחד (סיום) - רוחב מלא */
    .wizard-nav:not(:has(.wizard-prev)) .wizard-next,
    .wizard-nav:not(:has(.wizard-prev)) #btnRegister {
        width: 100% !important;
        flex: 1 1 100%;
    }

    #errorMsg {
        font-size: 14px !important;
        position: static !important;
        margin: 12px 0 !important;
        text-align: center;
        padding: 10px;
        border-radius: 6px;
    }

    .field-error {
        font-size: 13px !important;
        margin-top: 4px;
    }

    /* 🔥 דרישות סיסמה/דומיין - קומפקטיות */
    .password-requirements,
    .domain-requirements,
    .companyid-requirements {
        padding: 10px 12px !important;
        margin-top: 8px !important;
        font-size: 13px !important;
        border-width: 1.5px;
    }

    .requirement {
        font-size: 13px !important;
        margin-bottom: 6px !important;
        padding: 3px 0;
    }

    .requirement-icon {
        font-size: 14px !important;
    }

    .field-instructions {
        font-size: 12px !important;
        padding-left: 0 !important;
        margin-top: 6px;
    }

    /* 🔥 תפקידים - קומפקטיים */
    .role-selection-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-top: 8px;
    }

    .role-option {
        font-size: 14px !important;
        padding: 10px 12px !important;
        min-height: 9px !important;
        border-width: 1.5px;
        font-weight: 600;
    }

    /* 🔥 טלפון - קומפקטי */
    .phone-input-container {
        grid-template-columns: 110px 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .phone-prefix-select {
        font-size: 14px !important;
        width: 100% !important;
        padding: 12px 10px !important;
        min-height: 44px !important;
        border-width: 1.5px;
    }

    /* 🔥 מסך אימות OTP - קומפקטי */
    #verify-code-screen {
        padding: 16px 0 !important;
    }

    .otp-input-container {
        position: relative !important;
        gap: 8px !important;
        margin: 16px 0 !important;
        cursor: pointer;
        z-index: 1;
    }
    .otp-digit-box {
        width: 40px !important;
        height: 56px !important;
        position: relative;
        z-index: 1;
        pointer-events: none;
    }

    .otp-digit-value {
        font-size: 1.8em !important;
        pointer-events: none;
    }

    .otp-underline {
        height: 3px !important;
        pointer-events: none;
    }

    #verifyCodeInput {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 0.01 !important;
        z-index: 5 !important;
        font-size: 16px !important;
        pointer-events: auto !important;
        border: none;
        outline: none;
        background: transparent;
        color: transparent !important;
    }
    #verifyCodeError {
        font-size: 14px !important;
        margin-top: 12px !important;
        padding: 10px;
    }

    #verifyCodeBtnClient,
    #resendCodeBtn,
    #backToFormBtn {
        font-size: 16px !important;
        padding: 12px 20px !important;
        min-height: 48px !important;
        font-weight: 700;
    }

    /* 🔥 דיאלוג הוספת תפקיד */
    #addRoleDialog {
        width: 90% !important;
        max-width: 340px !important;
        padding: 18px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

        #addRoleDialog input.input {
            font-size: 15px !important;
            padding: 12px 10px !important;
            min-height: 44px !important;
        }

        #addRoleDialog .btn {
            font-size: 15px !important;
            padding: 10px 18px !important;
            min-height: 44px !important;
        }

        #addRoleDialog .dialog-title {
            font-size: 18px !important;
            margin-bottom: 14px;
        }

    /* 🔥 מודל חיתוך לוגו */
    #LogoCropModalContent {
        width: 94% !important;
        max-width: 94vw !important;
        padding: 20px 16px !important;
    }

    .modal-btn {
        font-size: 15px !important;
        padding: 10px 20px !important;
        min-height: 44px !important;
    }

    .cropper-container {
        max-height: 40vh !important;
    }

    /* 🔥 העלאת לוגו - קטן */
    .logo-upload-box {
        height: 70px !important;
        padding-right: 12px !important;
    }

    .logo-upload-text {
        font-size: 12px !important;
    }

    .logo-upload-box i {
        font-size: 2.2em !important;
    }

    .contact-us-general {
        position: fixed !important;
        bottom: 0px !important;
        right: 7px;
    }
    .contact-us {
        font-size: 15px !important;
        /* padding-top: 12px !important; */
        padding-bottom: 12px !important;

        width: 100vw !important;
        /* background: #fff !important; */
        /* box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important; */
        margin: 0 !important;
        z-index: 1000 !important;
        text-align Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box. Widely available across major browsers (Baseline since January 2018) Learn more Don't show : center !important;
        /* border-top: 2px solid #f0f0f0 !important; */
    }

    .contact-modal {
        width: 94% !important;
        max-width: 94vw !important;
        bottom: 60px !important;
        left: 3% !important;
    }

    .contact-modal-content {
        padding-right: 16px;
        padding-left: 16px;
        padding-bottom: 16px;
        max-width: 100% !important;
    }

    .contact-modal-title {
        font-size: 22px !important;
    }

    .contact-modal-subtitle {
        font-size: 14px !important;
    }

    .contact-textarea {
        font-size: 15px !important;
        min-height: 100px !important;
        padding: 12px;
    }

    .contact-send-btn {
        font-size: 16px !important;
        padding: 12px 24px !important;
    }

    /* 🔥 סיכום */
    .wizard-summary {
        display: none !important;
    }

    #domainUrlPreview {
        font-size: 11px !important;
        min-width: 140px !important;
        max-width: 160px !important;
    }

    * {
        max-width: 100vw;
    }

    /* 🔥 התאמה למובייל - ח.פ + לוגו */
    #step-company .form-grid {
        display: block !important;
    }

    #step-company .form-group {
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    .mobile-companyid-logo-block {
        display: flex !important;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .mobile-companyid {
        flex: 1;
        min-width: 0;
    }

    .mobile-logo {
        width: 60px;
        flex-shrink: 0;
        margin-bottom: 0 !important;
    }

        .mobile-logo label {
            display: none !important;
        }

        .mobile-logo .logo-upload-box {
            width: 60px !important;
            height: 60px !important;
            margin-top: 28px !important;
            border: 2px solid #007292 !important;
            border-radius: 8px !important;
            background: #f8fafc !important;
            padding: 0 !important;
            justify-content: center !important;
            align-items: center !important;
            flex-direction: column !important;
        }

            .mobile-logo .logo-upload-box:hover {
                border-color: #3498db !important;
                background: #f0f8ff !important;
            }

            .mobile-logo .logo-upload-box i {
                display: block !important;
                font-size: 24px !important;
                color: #007292 !important;
                margin: 0 !important;
            }

        .mobile-logo .logo-upload-text {
            display: none !important;
        }

        .mobile-logo #LogoPreview {
            width: 100% !important;
            height: 100% !important;
            border-radius: 6px;
        }

        .mobile-logo #LogoActions {
            bottom: -36px;
            left: 50%;
            transform: translateX(-50%);
        }

        .mobile-logo .logo-action-icon {
            width: 32px !important;
            height: 32px !important;
            line-height: 32px !important;
            font-size: 16px !important;
        }

    .mobile-companyid .input {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        padding: 12px 14px !important;
        min-height: 44px !important;
    }

    .mobile-companyid .companyid-requirements {
        font-size: 13px !important;
    }

    .mobile-companyid label {
        margin-bottom: 6px;
        font-size: 14px !important;
    }

    /* 🔥 אלמנטים אינטראקטיביים */
    .toggle-password {
        font-size: 20px !important;
        left: 24px;
        padding: 8px;
    }

    .password-wrapper .input {
        padding-left: 45px !important;
    }

    .field-required {
        font-size: 16px !important;
    }

    .contact-success-msg {
        font-size: 14px !important;
        padding: 12px;
    }

    .wizard-prev {
        font-size: 15px !important;
        padding-top: 16px;
    }

    #verify-code-screen > div:first-of-type {
        padding: 20px;
    }

    #verifyEmailDisplay {
        font-size: 16px;
        padding: 12px;
    }

    .form-section-title {
        font-size: 20px !important;
        margin-bottom: 14px;
    }

    .btn-edit-summary {
        font-size: 15px !important;
        padding: 10px 18px;
        height: auto;
        width: auto;
    }

    .btn-save-summary {
        font-size: 16px !important;
        padding: 14px 20px !important;
        min-height: 48px !important;
    }

    .edit-icon {
        font-size: 14px !important;
    }

    .form-row {
        gap: 16px;
    }

    /* 🔥 הסתר placeholder טקסט */
    .left-placeholder-text {
        display: none !important;
    }

    /* 🔥 וודא שהמסך תופס את כל המקום */
    html, body {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }
}

/* התאמה לטאבלטים */
@media (min-width: 701px) and (max-width: 1024px) {
    #verifyCodeInput {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 1px !important;
        height: 1px !important;
        opacity: 0.01 !important;
        z-index: 1 !important;
        pointer-events: auto !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        color: transparent !important;
        font-size: 16px !important;
    }

    .otp-input-container {
        position: relative;
        cursor: text;
    }

    .otp-digit-box {
        pointer-events: none;
        cursor: text;
    }
    .center-container {
        width: 90vw;
        max-width: 700px;
    }

    .right-side {
        padding: 28px 20px;
    }

    .wizard-summary {
        width: 100%;
        max-width: 350px;
    }
}
