/* עיצוב הטופס */

/*  הסתרת שאלה 5 לגבי בעלי השליטה מאחר ואיני נדרש אליה בתוסף זה */


#question-5 {
    display: none;
}

.form-intro {
    direction:rtl;
    width: 90%;
    font-family: 'David', 'Alef', Arial, sans-serif;
    margin: 0 auto 30px auto;
    padding: 15px;
    
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size:17px;

}

.intro-notes {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  text-align: justify;
  
}

.intro-notes h4 {
     color: #000 ;
}


.section81-form-submit {
    text-align: center;
    margin: 20px 0;
}

.section81-submit-button {
    width: 60%;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #14548A;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'David', 'Alef', Arial, sans-serif;
}

.section81-submit-button:hover {
    background-color: #005177;
}


.companies-checker-container {
    text-align: right;
    direction: rtl;
    background-color: #f8f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-family: 'David', 'Alef', Arial, sans-serif;
}

.companies-checker-container h3 {
    text-align: center !important;
}


.section81-form-group {
    display: flex;
    flex-direction: row; /* השאר כ-row */
    justify-content: flex-start; /* בסדר לשימוש ב-RTL */
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    flex-wrap: wrap;
    
    border-right: 1px solid #52be80 ;
    border-radius: 8px;
    padding-right: 10px; 
    
}

.section81-form-group > label {
    display: inline-block;
    margin-left: 25px;
    width: 50%; 
   
    position: relative;
    order: -1;
     font-weight: 700;
    font-size: 16px; /* הגדלה ל-18px מ-16px */
    color: #14548A;
}

.section81-form-group, .companies-checker-container h3 {
    text-align: right;
    padding: 20PX;
    margin-right: 0;
    margin-left: auto;
}

.section81-form-group input[type="text"],
.section81-form-group input[type="email"],
.section81-form-group input[type="number"],
.section81-form-group input[type="date"],
.section81-form-group select,
.radio-group,
.checkbox-group,
.checkbox-item {
    width: 45%;
    max-width: 45% !important;
   display: flex;
    align-items: flex-start;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'David', 'Alef', Arial, sans-serif;
}

.section81-form-group input[type="checkbox"],
.section81-form-group input[type="radio"] {
    margin-left: 20px;
}
 

small {
    color: #7A6F3C;
    font-size: 13px;
    margin-top: 1px;
    display: block;
    line-height: 1.3;
    text-align: justify;
    width: 60%;
    padding: 10px;
}


.section81-form-table-question {
    
   
    margin-bottom: 20px;
    width: 100%;
    flex-wrap: wrap;
    font-family: 'David', 'Alef', Arial, sans-serif;
    border-right: 1px solid #52be80 ;
    border-radius: 8px;
    padding-right: 10px;
    margin: 30px auto;
    
}

.section81-form-table-question > label {
    display: inline-block;
    margin-left: 15px;
    width: 70%; 
    position: relative;
    font-weight: 700;
    font-size: 18px; /* הגדלה ל-18px מ-16px */
    color: #14548A;
    
}

.section81-form-table-question small {
    width: 90%;
}



.section81-shareholders-table,
.protected-profit-option2-table {
    
    width: 90%; 
    margin: 30px auto; /* מרכז את הטבלה ומוסיף מרווח מעל ומתחת */
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* צל עדין */
    border-radius: 8px;
    overflow: hidden; /* שומר על הפינות המעוגלות */
}

.section81-shareholders-table th,
.protected-profit-option2-table th
{
    background-color: #14548A;
    color: white;
    text-align: center; /* מרכז את הטקסט */
    padding: 10px 15px;
    font-weight: bold;
}

/* תאי הטבלה */
.section81-shareholders-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: center; /* מרכז את התוכן */
    font-family: 'David', 'Alef', Arial, sans-serif;
}


.section81-shareholders-table input, select  {
    width: 100% !important; /* 100% מהרוחב */
    font-family: 'David', 'Alef', Arial, sans-serif;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center; /* מרכז את הטקסט בתוך השדה */
    font-size: 16px;
    display: block; /* חשוב כדי לוודא שהאינפוט תופס את כל הרוחב */
    margin: 0 auto; /* מרכז את האינפוט בתוך התא */
    box-sizing: border-box; /* כולל את הפדינג ברוחב */
}



.section81-form-table-question button {
    display: block;
    padding: 8px;
    margin: 30px auto;
    background-color: white ;
    color: #14548A;
    border: 1px solid #14548A;

}



/*  שאלה רווחים  שאלה 11 עיצוב  */



.section81-profits-table {
    border-collapse: collapse;
    width: 90%; 
    margin: 30px auto; /* מרכז את הטבלה ומוסיף מרווח מעל ומתחת */
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* צל עדין */
    border-radius: 8px;
    overflow: hidden; /* שומר על הפינות המעוגלות */
}


.section81-profits-table input, select {
    
     width: 100% !important; /* 100% מהרוחב */
    min-width: 100 !important;
    font-family: 'David', 'Alef', Arial, sans-serif;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center; /* מרכז את הטקסט בתוך השדה */
    font-size: 16px;
    display: block; /* חשוב כדי לוודא שהאינפוט תופס את כל הרוחב */
    margin: 0 auto; /* מרכז את האינפוט בתוך התא */
    box-sizing: border-box; /* כולל את הפדינג ברוחב */  
}

.section81-profits-table th {
    border: none;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #14548A;
    font-weight: bold;
    color:white;
    text-align: center;
    
}


.section81-profits-table td {
    border: none;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
   
}







/* הערות (טולטיפ) */
.tooltip-text {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70% !important;
    max-width: 70%;
    background-color: white;
    color: #062645;
    text-align: right;
    border-radius: 6px;
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: 'David', 'Alef', Arial, sans-serif;
    line-height: 1.9;
}

.info-icon {
    background-color: #062645;
     width: 13px;
    height: 13px;
    font-size: 12px;
}

.tooltip-text.show {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}




/* הודעת הסבר לפרק */
.section81-form-chapter-explanation {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    border: 1px solid #1e3a8a;
    border-radius: 8px;
    padding: 10px;
    margin: 25px auto; /* שינוי כאן! */
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
    font-weight: 500;
    width: 90%;
    display: block;
}


/* רספונסיביות למובייל */
@media (max-width: 768px) {
    .section81-form-chapter-explanation {
        padding: 15px;
        margin: 20px 0;
    }
    
    .section81-form-chapter-explanation p {
        font-size: 14px;
        line-height: 1.5;
    }
}



.radio-group label,
.checkbox-group label {
    margin-right: 15px;
    font-size: 15px;
    width: auto;
    font-weight: 900 !important;
   
}

.section81-form-group.section81-calculated-field {
    display: block;
    width: 60%;
    margin: 25px auto;
    border: 1px solid #000;
    padding: 15px;
    text-align: center;
}

.section81-form-group.section81-calculated-field label {
    display: inline; /* במקום block */
    white-space: normal; /* אפשר שבירה טבעית */
}

.section81-calculated-value {
    display: inline; /* במקום block */
    margin-right: 10px; /* ריווח קטן */
}








.error-message {
    color: #d63638;
    font-size: 14px;
    margin-top: 5px;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .companies-checker-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input {
        font-size: 15px;
        padding: 10px;
    }
    
}



