/* Popup Styles - Section 81 Calculator */
.section81-companies-checker-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.section81-popup-content {
    background: white;
    padding: 10px;
    border-radius: 8px;
    width: 95% !important;
    min-width: 95% !important;
    max-width: 95% !important;
    overflow-y: auto;
    position: relative;
    direction: rtl;
    text-align: right;
    font-family: David, Shalom, serif; 
}

.section81-close-popup {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.section81-close-popup:hover {
    color: #000;
}

.section81-print-button {
    background: #007cba;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section81-print-button:hover {
    background: #005a87;
}



/* 19.9.2025 עיצובים סופיים  */
/*   */
/*   */
.two_notes_section {
    display: flex;
    gap: 10px;
    width:70%; 
    margin: 15px auto; 
}

.printed_note {
    background-color: #f8f9fa; 
    padding: 10px; 
    border-right: 4px solid #3D4975; 
    
    font-size: 15px;
    flex: 1;
     width:70%; 
    margin: 15px auto; 
}

.not_printed_note {
    background-color: #f8f9fa; 
    padding: 10px; 
    border-right: 4px solid #23787A;  
    font-size: 15px;
    flex: 1;
    
     width:70%; 
    margin: 15px auto; 
}


.important_notes {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%);
    border-right: 4px solid #8B4FB3;
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.5);
    color: #ffffff;
    font-size: 15px;
    padding: 20px;
    text-align: justify;
    flex: 1;
    width: 70%;
}

@media (max-width: 768px) {
    .two_notes_section {
        flex-direction: column;
    }
    
    .two_notes_section,
    .not_printed_note,
    .printed_note
    {
    width:90%; 
    margin: 15px auto; 
    }
}

  h2 {
            text-align: center;
        }
        

h3 {
  
  text-align: center;
}


h4 {
  color: #10598A;
  text-align: center;
}
h5 {
  color: #10598A;
  text-align: center;
}


.table_final_tax {
    margin: 15px auto;
    direction: rtl;
    text-align: right;
    width: 70%;
    border-collapse: collapse;
    
    border: 0;
    border-spacing: 0;
    line-height: 1;
}

.table_final_tax td, .table_final_tax th {
    border: 0;
}

/* עבור מסכי מובייל */
@media (max-width: 768px) {
    .table_final_tax {
        width: 100%;
    }
}


.two_notes_section .table_final_tax,
.not_printed_note .table_final_tax,
.printed_note .table_final_tax {
    width: 100%;
}




/*  23.9.2025   עיצוב הערה להסבר חישובים מתחת לכותרת  */
.explanation-note {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #575656;
    width: 60%;
    margin: 15px auto; 
}
@media (max-width: 768px) {
    .explanation-note {
        width: 90%;
    }
}

.two_notes_section .explanation-note,
.not_printed_note .explanation-note,
.printed_note .explanation-note 
{
       width: 90%;
}

/*   SPACER   למסך שאינו מופיע בהדפסה */
/* הוסף את זה לקובץ ה-CSS הראשי */
.screen-only-spacer {
    height: 20px;
    margin: 15px 0;
    display: block;
}

@media print {
    .screen-only-spacer {
        display: none !important;
    }
}


/*   הערת שנת 2024    */
  
        .note-2024-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            margin: 20px 0;
        }

        .note-2024 {
            width: 60%;
            padding: 15px 20px;
            font-size: 13px;
            font-weight: bold;
            color: #000000;
            background-color: #FFF9E6;
            border: 2px solid #FFD700;
            border-radius: 8px;
            direction: rtl;
            text-align: right;
            line-height: 1.6;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
  