.elementor-widget-container [data-tippy-root] > .tippy-box{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-accent-font-family ), assistant;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-container [data-tippy-root] > .tippy-box .tippy-arrow{color:var( --e-global-color-primary );}.elementor-8555 .elementor-element.elementor-element-dd014e6{--display:flex;}.elementor-widget-html [data-tippy-root] > .tippy-box{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-accent-font-family ), assistant;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html [data-tippy-root] > .tippy-box .tippy-arrow{color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 input:not([type="submit"]){background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 select{background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 textarea{background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 label{font-family:var( --e-global-typography-primary-font-family ), assistant;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-widget-html ::placeholder{font-family:var( --e-global-typography-primary-font-family ), assistant;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7-submit{font-family:var( --e-global-typography-primary-font-family ), assistant;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 input[type="submit"]:hover{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );}@media(max-width:1025px){.elementor-widget-container [data-tippy-root] > .tippy-box{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html [data-tippy-root] > .tippy-box{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html .wpcf7 label{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-html ::placeholder{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-html .wpcf7-submit{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}@media(max-width:769px){.elementor-widget-container [data-tippy-root] > .tippy-box{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html [data-tippy-root] > .tippy-box{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html .wpcf7 label{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-html ::placeholder{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-html .wpcf7-submit{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}/* Start custom CSS for html, class: .elementor-element-5397a42 *//* הגדרות בסיסיות */
:root {
    /* צבעים ראשיים */
    --primary-blue: #0A3D62;
    --secondary-blue: #60A3BC;
    --primary-orange: #F79F1F;
    --primary-red: #EB4D4B;
    --primary-green: #78E08F;
    --primary-purple: #9b59b6;
    --primary-pink: #e84393;
    --primary-turquoise: #1abc9c;
    
    /* צבעי רקע */
    --background-light: #F1F2F6;
    --background-white: #FFFFFF;
    
    /* צבעי טקסט */
    --text-dark: #2C3E50;
    --text-medium: #7F8C8D;
    --text-light: #BDC3C7;
    
    /* פונטים */
    --font-primary: 'Assistant', sans-serif;
    --font-size-xl: 36px;
    --font-size-l: 28px;
    --font-size-m: 20px;
    --font-size-normal: 18px;
    --font-size-s: 16px;
    --font-size-xs: 14px;
    
    /* צללים ומעברים */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-floating: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* מרווחים */
    --spacing-xs: 4px;
    --spacing-s: 8px;
    --spacing-m: 16px;
    --spacing-l: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* עיגול פינות */
    --border-radius-s: 4px;
    --border-radius-m: 8px;
    --border-radius-l: 12px;
    --border-radius-xl: 16px;
    --border-radius-circle: 50%;
}

/* איפוס וסגנון בסיסי */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-normal);
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--background-light);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: var(--spacing-m);
}

h1 {
    font-size: var(--font-size-xl);
    color: var(--primary-blue);
}

h2 {
    font-size: var(--font-size-l);
    color: var(--primary-blue);
}

h3 {
    font-size: var(--font-size-l);
    color: var(--primary-blue);
}

h4 {
    font-size: var(--font-size-m);
    color: var(--primary-blue);
}

p {
    margin-bottom: var(--spacing-m);
    font-size: var(--font-size-normal);
}

input, select, textarea {
    font-family: var(--font-primary);
    font-size: var(--font-size-normal);
    padding: var(--spacing-m);
    border: 1px solid var(--text-light);
    border-radius: var(--border-radius-m);
    width: 100%;
    transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(96, 163, 188, 0.2);
    transform: translateY(-1px);
}

input.error, select.error {
    border-color: var(--primary-red);
    background-color: rgba(235, 77, 75, 0.05);
}

.error-message {
    color: var(--primary-red);
    font-size: var(--font-size-s);
    min-height: 20px;
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

/* מחשבון משכנתא כללי */
.mortgage-calculator {
    max-width: 1200px;
    margin: 20px auto;
    padding: var(--spacing-m);
    position: relative;
    background-color: var(--background-white);
    border-radius: var(--border-radius-l);
    box-shadow: var(--shadow-medium);
    min-height: 80vh;
    padding-bottom: 80px; /* מרווח לסרגל עלות ההמתנה */
    overflow: hidden;
}

/* רקע גרדיאנט דינמי */
.mortgage-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(96, 163, 188, 0.05) 0%, rgba(255, 255, 255, 0) 60%),
                radial-gradient(circle at bottom left, rgba(247, 159, 31, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
    opacity: 0.7;
    transition: opacity var(--transition-slow);
}
/* כותרות ורכיבי ממשק */
.calculator-header {
    text-align: center;
    padding: var(--spacing-l) 0;
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 60%, var(--primary-turquoise) 100%);
    color: white;
    border-radius: var(--border-radius-l);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* אפקט גלים ברקע */
.calculator-header::before, .calculator-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
}

.calculator-header::after {
    bottom: -18px;
    height: 10px;
    opacity: 0.7;
}

.calculator-header h1 {
    color: white;
    margin-bottom: var(--spacing-s);
    font-size: var(--font-size-xl);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.calculator-header h2 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: var(--font-size-m);
}

.logo {
    width: 5cm;
    height: 2.5cm;
    object-fit: contain;
    margin-bottom: var(--spacing-m);
    transition: transform var(--transition-medium);
}

.logo:hover {
    transform: scale(1.05);
}

/* אזור תוכן */
.calculator-content {
    position: relative;
}

.calculator-step {
    display: none;
    animation: fadeIn var(--transition-medium);
    position: relative;
}

.calculator-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* אנימציות מעבר בין שלבים - חדש */
.slide-in-next {
    animation: slideInNext 0.5s forwards;
}

.slide-out-next {
    animation: slideOutNext 0.5s forwards;
}

.slide-in-prev {
    animation: slideInPrev 0.5s forwards;
}

.slide-out-prev {
    animation: slideOutPrev 0.5s forwards;
}

@keyframes slideInNext {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutNext {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes slideInPrev {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutPrev {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

/* אינדיקטור שאלות נותרות - חדש */
.questions-progress {
    position: fixed;
    bottom: 80px;
    left: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 900;
    max-width: 300px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.questions-remaining-text {
    display: block;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-blue);
}

.questions-progress-bar {
    height: 8px;
    background-color: var(--text-light);
    border-radius: 4px;
    overflow: hidden;
}

.questions-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 4px;
    width: 0;
    transition: width 0.5s ease;
}

/* סגנון אייקון ולידציה - חדש */
.validation-success-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    color: var(--primary-green);
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.validation-success-icon.show {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}
/* מחוון התקדמות - שיפור ויותר ייחודי */
.progress-container {
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.progress-bar {
    height: 12px;
    background-color: var(--text-light);
    border-radius: 6px;
    position: relative;
    margin-bottom: var(--spacing-m);
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-orange) 100%);
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20%; /* ערך התחלתי */
    box-shadow: 0 0 10px rgba(96, 163, 188, 0.5);
}

/* אפקט זוהר למילוי */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 20%;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    background-color: var(--text-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-s);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.step-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.step-label {
    font-size: var(--font-size-s);
    color: var(--text-medium);
    transition: all var(--transition-medium);
}

.progress-step.active .step-circle {
    background-color: var(--primary-pink);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 67, 147, 0.3);
    animation: pulse 2s infinite;
}

.progress-step.active .step-label {
    color: var(--primary-pink);
    font-weight: 600;
    transform: translateY(-2px);
}

.progress-step.completed .step-circle {
    background-color: var(--primary-green);
    box-shadow: 0 3px 10px rgba(120, 224, 143, 0.3);
}

.progress-step.completed .step-label {
    color: var(--primary-green);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(232, 67, 147, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(232, 67, 147, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(232, 67, 147, 0);
    }
}

/* כפתורים */
.btn {
    display: inline-block;
    padding: var(--spacing-m) var(--spacing-l);
    border-radius: var(--border-radius-m);
    font-weight: 600;
    border: none;
    text-align: center;
    min-width: 120px;
    font-size: var(--font-size-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 10px rgba(247, 159, 31, 0.3);
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(247, 159, 31, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(247, 159, 31, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: white;
    box-shadow: 0 4px 10px rgba(96, 163, 188, 0.3);
}

.btn-secondary:hover {
    background-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(96, 163, 188, 0.4);
}

.btn-info {
    background-color: var(--primary-blue);
    color: white;
    margin: 0 var(--spacing-s);
    font-size: var(--font-size-s);
    box-shadow: 0 3px 6px rgba(10, 61, 98, 0.2);
}

.btn-info:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(10, 61, 98, 0.3);
}

.info-buttons {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-l);
    gap: var(--spacing-m);
}

.btn-back {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.btn-back:hover {
    background-color: #a0a0a0;
    transform: translateY(-2px);
}

.btn-next, .btn-next-question, .btn-next-step, .btn-calculate {
    background-color: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 10px rgba(247, 159, 31, 0.3);
}

.btn-next:hover, .btn-next-question:hover, .btn-next-step:hover, .btn-calculate:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(247, 159, 31, 0.4);
}

.btn-next:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.btn-pulse {
    animation: button-pulse 1.5s infinite;
}

@keyframes button-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(247, 159, 31, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(247, 159, 31, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(247, 159, 31, 0.3);
    }
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-xl);
    gap: var(--spacing-m);
}
/* ציון המשכנתא - חדש */
.mortgage-score {
    text-align: center;
    margin: 30px 0;
}

.score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 10px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--primary-blue);
    transition: all 0.5s ease;
}

.score-value {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-blue);
}

.score-explanation {
    max-width: 300px;
}

.score-text {
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
}

/* תמיכה בגרור ושחרר */
input[type="range"].dragging {
    cursor: grabbing;
}

input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"].dragging::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(247, 159, 31, 0.5);
}

/* שלב 1: בחירת מטרה */
.goals-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-l);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.goal-card {
    width: 200px;
    padding: var(--spacing-l);
    border-radius: var(--border-radius-l);
    background-color: var(--background-white);
    box-shadow: var(--shadow-light);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.goal-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.goal-card:hover::before {
    opacity: 1;
}

.goal-card.selected {
    border-color: var(--primary-orange);
    background-color: rgba(247, 159, 31, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.goal-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background-color: var(--primary-green);
    color: white;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-m);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: transform var(--transition-medium);
}

.goal-card:hover .goal-icon {
    transform: scale(1.1);
    color: var(--primary-orange);
}

.goal-card.selected .goal-icon {
    color: var(--primary-orange);
}

.goal-title {
    color: var(--primary-blue);
    font-size: var(--font-size-m);
    margin-bottom: var(--spacing-s);
}

.goal-description {
    color: var(--text-medium);
    font-size: var(--font-size-s);
}

/* שלבים 2+3: שאלות רציפות */
.sequential-questions {
    max-width: 600px;
    margin: 0 auto;
}

.question-item {
    display: none;
    background-color: var(--background-white);
    padding: var(--spacing-l);
    border-radius: var(--border-radius-l);
    box-shadow: var(--shadow-card);
    margin-bottom: var(--spacing-l);
    position: relative;
    overflow: hidden;
}

.question-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-purple));
}

.question-item.active {
    display: block;
    animation: fadeInQuestion var(--transition-medium);
}

@keyframes fadeInQuestion {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.question-title {
    margin-bottom: var(--spacing-m);
    color: var(--primary-blue);
    font-size: var(--font-size-m);
    font-weight: 600;
    padding-right: var(--spacing-m);
}

.question-tip {
    font-size: var(--font-size-s);
    color: var(--text-medium);
    margin-top: var(--spacing-xs);
    background-color: rgba(96, 163, 188, 0.05);
    padding: var(--spacing-s);
    border-radius: var(--border-radius-s);
}

/* תרחישי ריבית - חדש */
.interest-scenarios {
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-l);
    padding: var(--spacing-l);
    box-shadow: var(--shadow-card);
}

.scenarios-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: var(--font-size-m);
}

.scenarios-table {
    width: 100%;
    border-collapse: collapse;
}

.scenario-row {
    display: flex;
    border-bottom: 1px solid var(--text-light);
}

.scenario-row:last-child {
    border-bottom: none;
}

.scenario-row.header-row {
    font-weight: 600;
    background-color: rgba(96, 163, 188, 0.05);
}

.scenario-cell {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
}

.scenario-row.optimistic {
    color: var(--primary-green);
    background-color: rgba(120, 224, 143, 0.05);
}

.scenario-row.baseline {
    color: var(--primary-blue);
    font-weight: 600;
}

.scenario-row.conservative {
    color: var(--primary-orange);
}

/* סקאלת השוואת ריביות - חדש */
.rate-scale-container {
    margin: 30px 0;
    text-align: center;
}

.rate-scale {
    position: relative;
    height: 40px;
    background: linear-gradient(90deg, 
        var(--primary-green) 0%, 
        #FFC312 50%, 
        var(--primary-red) 100%);
    border-radius: 20px;
    margin: 15px 0;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.scale-segment {
    position: relative;
    display: inline-block;
    width: 33.33%;
    height: 100%;
}

.segment-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: 10px;
}

.rate-indicator {
    position: absolute;
    top: -15px;
    width: 30px;
    height: 70px;
    background-color: white;
    border: 3px solid var(--primary-blue);
    border-radius: 15px;
    transform: translateX(-50%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.scale-label {
    font-size: var(--font-size-s);
    color: var(--text-medium);
}

/* מרכיבי ריבית - חדש */
.interest-components {
    margin: 30px 0;
}

.components-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: var(--font-size-m);
}

.components-chart {
    max-width: 700px;
    margin: 0 auto;
}

.component-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.component-name {
    width: 200px;
    font-weight: 500;
    color: var(--text-dark);
}

.component-value {
    width: 80px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
}

.component-bar-container {
    flex: 1;
    height: 15px;
    background-color: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.component-bar {
    height: 100%;
    background-color: var(--secondary-blue);
    border-radius: 8px;
    width: 0%;
    transition: width 1s ease;
}

.component-item.total {
    margin-top: 20px;
    border-top: 1px solid var(--text-light);
    padding-top: 15px;
}

.component-item.total .component-name,
.component-item.total .component-value {
    font-weight: 700;
    color: var(--primary-blue);
}

.component-item.total .component-bar {
    background-color: var(--primary-orange);
}

/* אפשרויות מימון לשיפוצים - חדש */
.funding-options-comparison {
    margin: 30px 0;
}

.funding-options-comparison h5 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: var(--font-size-m);
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 15px;
}

.funding-options-comparison table {
    width: 100%;
    border-collapse: collapse;
}

.funding-options-comparison th {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
}

.funding-options-comparison td {
    padding: 12px;
    border-bottom: 1px solid var(--text-light);
    text-align: center;
}

.funding-options-comparison tr:nth-child(even) {
    background-color: rgba(96, 163, 188, 0.05);
}

.funding-options-comparison tr:hover {
    background-color: rgba(96, 163, 188, 0.1);
}

/* גרפים לתצוגת שיפוצים - חדש */
.renovation-charts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

.chart-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-l);
    padding: var(--spacing-m);
    box-shadow: var(--shadow-card);
}

.chart-wrapper h5 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.chart-container {
    height: 250px;
    width: 100%;
}

/* המלצות לשיפוצים - חדש */
.renovation-recommendations {
    margin: 30px 0;
}

.renovation-recommendations h5 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: var(--font-size-m);
}

.recommendations-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.recommendation-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-m);
    padding: 15px;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.recommendation-icon {
    margin-left: 15px;
    color: var(--primary-blue);
    font-size: 24px;
}

.recommendation-content h6 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: var(--font-size-normal);
}

.recommendation-content p {
    margin: 0;
    font-size: var(--font-size-s);
    color: var(--text-medium);
}
/* שלב 4: תצוגת תוצאות */
.results-container {
    max-width: 1000px;
    margin: 0 auto;
}

.results-title {
    text-align: center;
    font-size: var(--font-size-l);
    margin-bottom: var(--spacing-xl);
    color: var(--primary-blue);
    position: relative;
    padding-bottom: var(--spacing-m);
}

.results-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    border-radius: 3px;
}

/* סיכום תוצאות */
.results-summary {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-l);
    margin-bottom: var(--spacing-xxl);
}

.summary-card {
    flex: 1;
    min-width: 220px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-l);
    padding: var(--spacing-l);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.summary-card.savings-monthly::before {
    background-color: var(--primary-green);
}

.summary-card.savings-yearly::before {
    background-color: var(--primary-orange);
}

.summary-card.savings-total::before {
    background-color: var(--primary-purple);
}

.summary-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-floating);
}

.summary-title {
    font-size: var(--font-size-m);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-s);
}

.summary-value {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-turquoise));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: var(--spacing-xs);
    animation: countUp 1.5s ease-out;
}

.savings-yearly .summary-value {
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.savings-total .summary-value {
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes countUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.summary-unit {
    font-size: var(--font-size-s);
    color: var(--text-medium);
}

/* דחיפות והנעה לפעולה */
.urgency-container {
    background-color: var(--background-white);
    border-radius: var(--border-radius-l);
    padding: var(--spacing-l);
    margin-bottom: var(--spacing-l);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.urgency-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-pink));
}

.urgency-message {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-l);
    padding: var(--spacing-m);
    background-color: rgba(235, 77, 75, 0.05);
    border-radius: var(--border-radius-m);
}

.urgency-icon {
    font-size: 38px;
    margin-left: var(--spacing-m);
    color: var(--primary-red);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        text-shadow: 0 0 0 rgba(235, 77, 75, 0);
    }
    70% {
        text-shadow: 0 0 10px rgba(235, 77, 75, 0.5);
    }
    100% {
        text-shadow: 0 0 0 rgba(235, 77, 75, 0);
    }
}

.countdown-container {
    text-align: center;
    margin-bottom: var(--spacing-l);
}

.countdown-title {
    margin-bottom: var(--spacing-m);
    color: var(--primary-blue);
    font-size: var(--font-size-m);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: var(--spacing-s);
}

.countdown-item {
    text-align: center;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-pink) 100%);
    border-radius: var(--border-radius-m);
    padding: var(--spacing-s) var(--spacing-m);
    box-shadow: 0 5px 15px rgba(235, 77, 75, 0.3);
}

.countdown-value {
    display: block;
    font-size: var(--font-size-l);
    font-weight: 700;
    color: white;
}

.countdown-label {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.8);
}

.countdown-divider {
    font-size: var(--font-size-l);
    font-weight: 700;
    color: var(--primary-red);
    align-self: center;
}

/* הודעות שגיאה ואינדיקטורים - חדש */
.general-error-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: 90%;
    max-width: 500px;
    background-color: white;
    border-radius: var(--border-radius-m);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateX(-50%) translateY(-100%); }
    to { transform: translateX(-50%) translateY(0); }
}

.error-content {
    display: flex;
    align-items: center;
    padding: 15px;
}

.error-content i {
    color: var(--primary-red);
    font-size: 24px;
    margin-left: 15px;
}

.error-close {
    margin-right: auto;
    background: none;
    border: none;
    color: var(--text-medium);
    cursor: pointer;
    padding: 5px;
}

.error-close:hover {
    color: var(--primary-red);
}

.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1500;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--text-light);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* כפתור גישה מהירה לשאלות נפוצות - חדש */
.floating-faq-button {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 950;
}

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-circle:hover {
    transform: scale(1.1);
    background-color: var(--primary-orange);
}

/* התאמות למובייל */
@media screen and (max-width: 768px) {
    :root {
        --font-size-xl: 28px;
        --font-size-l: 24px;
        --font-size-m: 18px;
        --font-size-normal: 16px;
        --font-size-s: 14px;
        --font-size-xs: 12px;
    }
    
    .mortgage-calculator {
        max-width: 95%;
        padding: var(--spacing-m);
    }
    
    .btn, .radio-option label, .goal-card, input, select {
        min-height: 48px; /* גובה מינימלי לאזורי לחיצה במובייל */
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .radio-option label {
        padding: 12px 40px 12px 12px;
    }
    
    input, select {
        font-size: 16px; /* מניעת זום אוטומטי באייפון */
        padding: 12px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .goals-container {
        flex-direction: column;
        align-items: center;
    }
    
    .goal-card {
        width: 100%;
        max-width: 300px;
    }
    
    .results-summary {
        flex-direction: column;
    }
    
    .charts-container {
        flex-direction: column;
        align-items: center;
    }
    
    .chart-container {
        width: 250px;
        height: 250px;
    }
    
    .simulator-results {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .waiting-cost-bar {
        flex-direction: column;
        gap: var(--spacing-s);
        text-align: center;
        padding: var(--spacing-s);
        max-width: 100%;
    }
    
    .waiting-cost-content {
        justify-content: center;
    }
    
    .questions-progress {
        bottom: 60px;
    }
    
    .progress-steps {
        display: none;
    }
    
    .logo {
        width: 4cm;
        height: 2cm;
    }
    
    .comparison-cards {
        flex-direction: column;
    }
    
    .comparison-card {
        margin-bottom: var(--spacing-s);
    }
    
    /* התאמת תצוגת טבלאות */
    .scenarios-table {
        font-size: var(--font-size-xs);
    }
    
    .scenario-cell {
        padding: 8px 4px;
    }
    
    /* התאמת תצוגת גרפים */
    .renovation-charts {
        flex-direction: column;
    }
    
    .chart-wrapper {
        min-width: 100%;
    }
    
    /* התאמת תצוגת המלצות */
    .recommendations-cards {
        flex-direction: column;
    }
    
    .recommendation-card {
        min-width: 100%;
    }
}

/* התאמות למסכים קטנים מאוד */
@media screen and (max-width: 480px) {
    .navigation-buttons {
        flex-direction: column-reverse;
        gap: var(--spacing-m);
    }
    
    .navigation-buttons .btn {
        width: 100%;
    }
    
    .question-nav {
        flex-direction: column-reverse;
        gap: var(--spacing-s);
    }
    
    .question-nav .btn {
        width: 100%;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 4px 8px;
    }
    
    .countdown-value {
        font-size: 18px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    .logo {
        width: 3.5cm;
        height: 1.75cm;
    }
    
    /* שיפור נוסף למובייל */
    .summary-data-table .data-row {
        flex-direction: column;
        text-align: center;
        padding-bottom: var(--spacing-m);
    }
    
    .summary-data-table .data-value {
        text-align: center;
    }
    
    .recommendation-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .recommendation-icon {
        margin-left: 0;
        margin-bottom: var(--spacing-s);
    }
    
    /* התאמת תצוגת שאלות באקורדיון */
    .accordion-icon {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 14px;
    }
    
    .faq-question[aria-expanded="true"] + .faq-answer {
        padding: 0 0 var(--spacing-m) 20px;
    }
}
/* מודאלים */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity var(--transition-medium);
    backdrop-filter: blur(3px);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--background-white);
    border-radius: var(--border-radius-l);
    padding: var(--spacing-l);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-strong);
    animation: modalFadeIn var(--transition-medium);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-m);
    left: var(--spacing-m);
    font-size: 28px;
    cursor: pointer;
    color: var(--text-medium);
    transition: all var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: transparent;
}

.modal-close:hover {
    color: var(--primary-red);
    background-color: rgba(235, 77, 75, 0.1);
    transform: rotate(90deg);
}

.modal-title {
    text-align: center;
    margin-bottom: var(--spacing-l);
    color: var(--primary-blue);
    font-size: var(--font-size-l);
    padding-top: var(--spacing-s);
}

/* מילון מונחים */
.terms-search {
    margin-bottom: var(--spacing-l);
}

.terms-search input {
    padding: var(--spacing-m);
    font-size: var(--font-size-normal);
    border-radius: var(--border-radius-m);
    border: 1px solid var(--text-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.term-item {
    margin-bottom: var(--spacing-l);
    border-bottom: 1px solid var(--text-light);
    transition: all var(--transition-fast);
}

/* אקורדיון למילון מונחים - חדש */
.term-header {
    display: flex;
    align-items: center;
    padding: var(--spacing-s) 0;
    cursor: pointer;
    position: relative;
}

.accordion-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    margin-left: var(--spacing-s);
    transition: all var(--transition-fast);
}

.term-header[aria-expanded="true"] .accordion-icon {
    background-color: var(--primary-orange);
    transform: rotate(45deg);
}

.term-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-right: 35px;
}

.term-header[aria-expanded="true"] + .term-description {
    max-height: 1000px;
    padding: var(--spacing-s) 35px var(--spacing-m) 0;
}

/* שאלות נפוצות */
.faq-item {
    margin-bottom: var(--spacing-m);
    border-bottom: 1px solid var(--text-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-m) 0;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    font-size: var(--font-size-normal);
    font-weight: 600;
    padding-right: 40px;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question .accordion-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.faq-question[aria-expanded="true"] .accordion-icon {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium), padding var(--transition-medium);
    padding: 0 0 0 0;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1000px;
    padding: 0 0 var(--spacing-m) 40px;
}

/* הצהרת פרטיות */
.privacy-policy-container {
    margin-top: var(--spacing-l);
    text-align: center;
}

.privacy-toggle {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: var(--font-size-s);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: var(--spacing-s) var(--spacing-m);
    border-radius: var(--border-radius-m);
    transition: all var(--transition-fast);
}

.privacy-toggle:hover {
    background-color: rgba(96, 163, 188, 0.1);
}

.privacy-toggle i {
    margin-right: var(--spacing-xs);
    transition: transform var(--transition-medium);
}

.privacy-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.privacy-policy-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
    margin: 0 auto;
    max-width: 800px;
    font-size: var(--font-size-s);
}

.privacy-policy-content.show {
    max-height: 1000px;
    padding: var(--spacing-m) 0;
}

.privacy-policy-content h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-s);
    font-size: var(--font-size-normal);
}

.privacy-policy-content p {
    margin-bottom: var(--spacing-s);
    color: var(--text-medium);
}

/* סרגל עלות ההמתנה - קבוע */
.waiting-cost-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-red) 100%);
    color: white;
    padding: var(--spacing-m);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
    max-width: 90%;
    margin: 0 auto;
    border-radius: var(--border-radius-m) var(--border-radius-m) 0 0;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.waiting-cost-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-s);
    font-size: var(--font-size-normal);
}

.waiting-cost-value {
    font-weight: 700;
    font-size: var(--font-size-m);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.waiting-cost-separator {
    margin: 0 var(--spacing-s);
}

.waiting-cost-timer {
    display: flex;
    align-items: center;
    gap: var(--spacing-s);
    font-size: var(--font-size-normal);
    padding: var(--spacing-s) var(--spacing-m);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-m);
}

.timer-value {
    font-weight: 700;
    font-size: var(--font-size-m);
}

/* תרחישי ריבית - השלמה */
.rate-gauge-container {
    margin: 30px 0;
    position: relative;
}

.rate-gauge {
    height: 100px;
    position: relative;
    margin: 40px 0;
}

.gauge-scale {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, 
        var(--primary-green) 0%, 
        var(--secondary-blue) 30%,
        var(--primary-orange) 70%, 
        var(--primary-red) 100%);
    border-radius: 5px;
}

.scale-marker {
    position: absolute;
    bottom: -25px;
    transform: translateX(-50%);
    font-size: var(--font-size-xs);
    color: var(--text-medium);
}

.gauge-markers {
    position: relative;
    height: 100%;
}

.market-rate-marker, .current-rate-marker, .new-rate-marker {
    position: absolute;
    bottom: 15px;
    width: 2px;
    height: 40px;
    background-color: var(--text-dark);
}

.marker-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: var(--font-size-xs);
    color: var(--text-dark);
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 3px;
}

.market-rate-marker {
    background-color: var(--primary-green);
}

.market-rate-marker .marker-label {
    background-color: rgba(120, 224, 143, 0.1);
    color: var(--primary-green);
}

.current-rate-marker {
    background-color: var(--primary-orange);
}

.current-rate-marker .marker-label {
    background-color: rgba(247, 159, 31, 0.1);
    color: var(--primary-orange);
}

.new-rate-marker {
    background-color: var(--primary-blue);
}

.new-rate-marker .marker-label {
    background-color: rgba(96, 163, 188, 0.1);
    color: var(--primary-blue);
}

/* סרגל זמן לקיצור תקופת המשכנתא - חדש */
.term-timeline {
    margin: 30px 0;
}

.term-timeline h5 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: var(--font-size-m);
}

.timeline-container {
    position: relative;
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-track {
    height: 8px;
    background-color: var(--text-light);
    border-radius: 4px;
    position: relative;
    margin: 40px 0;
}

.timeline-now {
    position: absolute;
    top: -30px;
    right: 0;
    background-color: var(--primary-blue);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: var(--font-size-s);
    transform: translateX(50%);
}

.timeline-now::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-blue) transparent transparent transparent;
}

.timeline-end-current, .timeline-end-new {
    position: absolute;
    top: -30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
}

.timeline-end-current {
    left: 30%;
    color: var(--primary-orange);
}

.timeline-end-new {
    left: 70%;
    color: var(--primary-green);
}

.timeline-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: 3px;
}

.timeline-date {
    background-color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-savings {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background-color: var(--primary-purple);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: var(--font-size-s);
    box-shadow: 0 3px 10px rgba(155, 89, 182, 0.3);
}

.timeline-value {
    display: block;
    font-weight: 700;
    font-size: var(--font-size-m);
}

/* נתוני שיפוץ - חדש */
.renovation-highlight-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin: 30px 0;
}

.highlight-item {
    flex: 1;
    min-width: 200px;
    background-color: var(--background-white);
    padding: 20px;
    border-radius: var(--border-radius-m);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item h5 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: var(--font-size-normal);
}

.highlight-value {
    font-size: var(--font-size-l);
    font-weight: 700;
    color: var(--primary-green);
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* הסכמה לדיוור - חדש */
.consent-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-m);
}

.consent-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-left: 10px;
}

.consent-checkbox label {
    font-size: var(--font-size-s);
    color: var(--text-medium);
}

/* התאמה לאפשרויות מימון - חדש */
.multiple-options {
    margin: 30px 0;
}

.options-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: var(--font-size-m);
}

.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.option-card {
    flex: 1;
    min-width: 220px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-m);
    padding: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.option-header {
    font-size: var(--font-size-normal);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
    text-align: center;
}

.option-description {
    font-size: var(--font-size-s);
    color: var(--text-medium);
    margin-bottom: 15px;
    text-align: center;
}

.option-details {
    border-top: 1px solid var(--text-light);
    padding-top: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.detail-label {
    color: var(--text-medium);
    font-size: var(--font-size-s);
}

.detail-value {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: var(--font-size-s);
}

/* סגנונות נוספים לתצוגת השוואה */
.detailed-analysis {
    margin: 30px 0;
}

.analysis-table {
    width: 100%;
    border-collapse: collapse;
}

.analysis-row {
    display: flex;
    border-bottom: 1px solid var(--text-light);
}

.analysis-row.header-row {
    font-weight: 600;
    background-color: rgba(96, 163, 188, 0.05);
}

.analysis-cell {
    flex: 1;
    padding: 10px;
    text-align: center;
}

.analysis-cell.highlight {
    color: var(--primary-green);
    font-weight: 600;
}

/* סגנונות למוצרי חיסכון */
.savings-ideas-container {
    margin-bottom: var(--spacing-xxl);
}

.savings-ideas-title {
    text-align: center;
    margin-bottom: var(--spacing-l);
    color: var(--primary-blue);
    font-size: var(--font-size-m);
}

.savings-ideas-cards {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-l);
    justify-content: center;
}

.savings-idea-card {
    flex: 1;
    min-width: 220px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-l);
    padding: var(--spacing-l);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.savings-idea-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.savings-idea-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-floating);
}

.savings-idea-card:hover::before {
    opacity: 1;
}

.idea-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-m);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    background-color: rgba(96, 163, 188, 0.1);
    border-radius: 50%;
    transition: all var(--transition-medium);
}

.savings-idea-card:hover .idea-icon {
    transform: scale(1.1);
    background-color: rgba(96, 163, 188, 0.2);
    color: var(--primary-pink);
}

.idea-title {
    font-size: var(--font-size-m);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-s);
}

.idea-amount {
    font-size: var(--font-size-l);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: var(--spacing-s);
    background: linear-gradient(90deg, var(--primary-red), var(--primary-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all var(--transition-medium);
}

.savings-idea-card:hover .idea-amount {
    transform: scale(1.05);
}

.idea-suggestion {
    font-size: var(--font-size-s);
    color: var(--text-medium);
}

/* סיום CSS *//* End custom CSS */