<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Cache-Control" content="max-age=200">
    <link rel="icon" type="image/x-icon" href="5.ico">
   <link rel="icon" type="image/x-icon" href="../5.ico">
 

    <title>محاسبه مهریه نقدی(ریالی)</title>
</head>



<style>

		body {
    font-family: Arial, sans-serif;
    margin: 0px;
    direction: rtl;
}

.container {
    display: flex; /* Use Flexbox to place child elements next to each other */
    gap: 10px; /* Add space between the child elements */
    direction: rtl;
}

.box {
    flex: 1; /* This makes the boxes take equal width */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transitions */
}

.box:hover {
    transform: scale(1.05); /* Scale up on hover */
    background-color: #e0f7e0; /* Change background color on hover */
}

.sub-options, .check-options, .extra-options, .additional-options {
    display: none;
    margin-top: 10px;
    flex-direction: row;
    gap: 10px;
    direction: rtl;
}

.sub-options input, .check-options input, .extra-options input, .additional-options input {
    width: 20px; /* Set a specific width */
    height: 20px; /* Set a specific height */
    display: inline-block; /* Ensures transform works */
    margin-left: 10px;
    appearance: none; /* Remove default styling */
    border-radius: 50%; /* Make the radio button circular */
    border: 2px solid #ccc; /* Border color */
    background-color: #fff; /* Background color */
    cursor: pointer; /* Change cursor on hover */
    transform: scale(1); /* Initial scale */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transitions */
}

.sub-options input:hover, .check-options input:hover, .extra-options input:hover, .additional-options input:hover {
    transform: scale(1.5); /* Scale up on hover */
    background-color: #e0f7e0; /* Change background color on hover */
}

.sub-options label, .check-options label, .extra-options label, .additional-options label {
    display: flex;
    align-items: center; /* Center items vertically */
    margin-left: 5px;
    font-size: 16px; /* Adjust font size */
    color: #333; /* Default text color */
    transition: color 0.3s ease, font-size 0.3s ease; /* Smooth transition for color and font size */
}

.sub-options input:hover + span, .check-options input:hover + span, .extra-options input:hover + span, .additional-options input:hover + span {
    color: #007bff; /* Change text color on hover */
    font-size: 18px; /* Increase font size on hover */
}

.sub-options input:checked + span, .check-options input:checked + span, .extra-options input:checked + span, .additional-options input:checked + span {
    color: #007bff; /* Change text color when selected */
    font-weight: bold; /* Make text bold when selected */
}

.additional-options {
    display: flex;
    flex-direction: column;
}

.option-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.option-group.additional-options-group {
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    overflow-x: auto; /* Ensures table is scrollable on small screens */
}

table, th, td {
    border: 2px solid #ccc;
}

th, td {
    padding: 16px;
    text-align: right;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

th {
    background-color: #f4f4f4;
    font-size: 18px;
}

td {
    font-size: 16px;
}

tr:hover {
    background-color: #fce4ec;
    transform: scale(1.02);
}

td:hover {
    background-color: #fce4ec;
    transform: scale(1.02);
}

/* Responsive design for small screens */
@media screen and (max-width: 768px) {
    th, td {
        font-size: 14px;
        padding: 10px;
    }
    
    table {
        display: block;
        overflow-x: auto; /* Allows horizontal scroll for smaller screens */
    }
    
    tr:hover, td:hover {
        transform: none; /* Disable scale on small screens */
    }
}
		
		
		
		
		
		
	

</style> 
 

 
<h1 style="font-family: B Zar ; font-size: 14px; font-weight: bold; text-align: center;">حالات مختلف نحوه محاسبات مهریه نقدی(ریالی) به روز</h1>
 
	
	<div   > 
	  <button  class="but1" onclick="window.location.href='../index.html';"> صفحه اولیه</button> 
	   <button  class="but1 "  >آموزش در ایتا</button>
		<button  class="but1 "    >آموزش در سروش</button>
	</div> 

 
 
<body style="font-family: 'B Titr', sans-serif; font-size: 15px;">

    <div class="container">
       <div class="box" style="display: flex; gap: 10px;">
			<p >
				<button class="but111" onclick="window.location.href='index9kh.html';">مقدماتی</button>
			</p>
			<p >
				<button class="but111" onclick="window.location.href='index12kh.html';">در یک نگاه</button>
			</p>
			
			
		</div>


        <div class="box">
            <div class="container">
                <input type="radio" id="noExemption" name="exemption" value="no" onclick="handleNoExemptionClick()">
                <label for="noExemption">اعسار ندارد</label>

                <input type="radio" id="hasExemption" name="exemption" value="yes" onclick="handleExemptionClick()">
                <label for="hasExemption">اعسار دارد</label>
            </div>

            <div id="subOptions" class="sub-options">
 
                 <input type="radio" id="oneCheck" name="check" value="one" onclick="window.location.href='index9kh.html';">
				<label for="oneCheck">وصولی ندارد</label>

                <input type="radio" id="ali" name="extra" value="ali" onclick="window.location.href='index11kh.html';">
                <label for="ali">وصولی دارد</label>
            </div>

           

            <table id="additionalOptions">
                <thead>
                    <tr>
                        <th>نوع گزینه</th>
                        <th>گزینه‌ها</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>پیش قسط</td>
                        <td>
                            <input type="radio" id="option1" name="prepayment" value="1" onclick="showSelectionkh('پیش قسط ندارد')">
                            <label for="option1">ندارد</label>
                            <input type="radio" id="option2" name="prepayment" value="2" onclick="showSelectionkh('پیش قسط دارد')">
                            <label for="option2">دارد</label>
                        </td>
                    </tr>
                    <tr>
                        <td>درصد افزایش سالیانه</td>
                        <td>
                            <input type="radio" id="option3" name="annualIncrease" value="3" onclick="showSelectionkh('درصد افزایش سالیانه ندارد')">
                            <label for="option3">ندارد</label>
                            <input type="radio" id="option4" name="annualIncrease" value="4" onclick="showSelectionkh('درصد افزایش سالیانه دارد')">
                            <label for="option4">دارد</label>
                        </td>
                    </tr>
                    <tr>
                        <td>اقساط معوق</td>
                        <td>
                            <input type="radio" id="option5" name="delayedInstallments" value="5" onclick="showSelectionkh('اقساط معوق ندارد')">
                            <label for="option5">ندارد</label>
                            <input type="radio" id="option6" name="delayedInstallments" value="6" onclick="showSelectionkh('اقساط معوق دارد')">
                            <label for="option6">دارد</label>
                        </td>
                    </tr>
                </tbody>
            </table>

            <div id="result"></div>
			
			
			<script type="text/javascript" src="../js/scripts_9x8y7z.js"></script>

            
        </div>
    </div>
	


</body>
</html>
