.bank-interest-container h1
{
	font-size:20px;
	font-weight:bold;
	padding: 10px 0 0;
	margin:0;
}
.bank-interest-calculator
{
    background: #FFFFFF;
	padding: 15px 10px;
	margin: 10px 0;
}
.bank-interest-calculator-block
{
	float:left;
	margin:0 16px 0 0;
}
.bank-interest-calculator-block-block
{
	margin:0;
}
.bank-interest-calculator-block select
{
    border: none;
	outline:none;
    font-size: 14px;
    padding: 15px;
    float: left;
    color:#666666;
    background: #F5F6F7;
    border-radius: 5px;
}
.bank-interest-calculator-block #fd_amount {
    border: none;
    outline: none;
    padding: 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 15.4px;
    letter-spacing: 0.01em;
    text-align: left;
    width: 100%;
    background: #F5F6F7;
    border-radius: 5px;
    margin-bottom: 10px;
}
.bank-interest-calculator-block #interest_rate
{
	width: 120px;
    height: 18px;
}
.bank-interest-calculator-block #period
{
	width:100px;
    height: 18px;
}
.bank-interest-calculator-block #period_type
{
	width:100px;    
	border-left: none;
}
.bank-interest-calculator-block #frequency
{
	width:137px;
}
.bank-interest-calculator-block-submit
{
	display: block;
	text-align: center;
	margin: 15px 0 0;
}
.bank-interest-calculator-block-submit input[type="button"]
{
	color:#fff;
	font-size:16px;
	background:#d95b46;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	cursor:pointer;
}
.bank-interest-container-text
{
	font-size:15px;
	padding:10px 0 0;
    line-height: 20px;
}

.bank-interest-container-text p
{
	padding-bottom: 10px;
}


.bank-interest-container-table-list 
{
    background: #FFFFFF;
    border-radius: 5px;
    padding: 15px;
    padding-bottom: 0px;
    margin-bottom: 15px;
}
.bank-interest-container-table-list table thead
{
    width: 100%;
    margin-bottom: 20px;
    border-collapse: separate;
    background: #E8F7F0;
    border-radius: 5px;
}
.bank-interest-container-table-list table th
{
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: left;
    color: #159b5a;
    padding: 4px 10px;
}

.bank-interest-container-table-list table th.center-row {
  text-align: center;
  vertical-align: middle;
}

.bank-interest-container-table-list table tr td
{
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.01em;
    text-align: left;
    color: #363636;
    padding: 10px;
    /* border-bottom: 1px solid #e3e3e3; */
}

.bank-interest-container-table-list table tr td a{
    font-weight: 700;
}

/**** bank fd comparision **/
.bank-interest-calculator-block #amount
{
	width:230px;
	margin:0 5px 0 0;
}
.bank-interest-calculator-block #fd-period,.bank-interest-calculator-block #type
{
	width:140px;
	margin:0 5px 0 0;
}

.bank-interest-calculator-block input[type="button"] {
    border: none;
    background: none repeat scroll 0 0 #E8F7F0;
    border-radius: 5px;
    color: #159b5a;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 0 5px;
    padding: 15px;
    width: 88px;
}

.bank-interest-container-table-list table tr td.table-center
{
	text-align: center;
}
.result_count_text
{
    color: #777777;
    font-size: 16px;
    padding-bottom: 5px;
}


.bank-interest-container-table-list-rd table {
    width: 100%;
    height: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 20px 0 0;
}
.bank-interest-container-table-list-rd table, .bank-interest-container-table-list-rd table tr th, .bank-interest-container-table-list-rd table tr td {
    /* border: 1px solid #d7d6d6; */
}
.bank-interest-container-table-list-rd table th {
    font-size: 14px;
    font-weight: bold;
    color: #159b5a;
    background: #E8F7F0;
    padding: 10px 0;
}
.bank-interest-container-table-list-rd table tr td {
    text-align: left;
    padding: 5px 10px;
    font-size: 14px;
    height: 38px;
    color: #363636;
    background-color: #FFFFFF;
}
.bank-interest-container-table-list-rd table tr td.table-center {
    text-align: center;
}
.bank-interest-container-table-list-rd table tr td a {
    font-weight: 700;
}

.bank-interest-container-text .gr-content-block p{
     padding-bottom: 0;
}
.bank-interest-container-text .gr-content-block{
     padding-top: 0;
}



/* fd & rd rates new calc style */

.fd-calc-container, .rd-calc-container{
    margin: 32px 0;
    display: flex;
    gap: 24px;
}

.bank-rates {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 60%;
}

.bank-rates-inputs {
    display: grid;
    /* gap: 20px; */
    background-color: #f9fafc;
    padding: 20px;
    border-radius: 8px;
}

.bank-rates-block {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.amount-words
{
    font-size: 0.9rem;
    color: #159B5A;
    font-weight: 600;
}
.amount-words.rigth{
	text-align: right;
	margin-top: 8px;
}
.bank-interest-calculator .amount-words{
    height: 16px;
}

.bank-rates-block input, .bank-rates-block select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

/* Remove default arrows from number input (Chrome, Safari, Edge, Opera) */
.bank-rates-block input[type=number]::-webkit-inner-spin-button,
.bank-rates-block input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Remove default arrows (Firefox) */
.bank-rates-block input[type=number] {
	-moz-appearance: textfield;
}


/* Highlight focus fields */
.bank-rates-block input:focus,
.bank-rates-block select:focus {
    border-color: #159B5A;
    box-shadow: 0 0 4px rgba(21, 155, 90, 0.4);
    outline: none;
}

/* Add space for icons */
.bank-rates-block .rigth.rupee input {
	padding-left: 32px;
}

/* Icon styles */
.bank-rates-block .rigth::before, .bank-rates-block .rigth.percent::before {
	position: absolute;
	color: #159B5A;
	font-weight: bold;
	font-size: 14px;
	pointer-events: none;
}

/* ₹ symbol (left side) */
.bank-rates-block .rigth.rupee::before {
	content: "₹";
	margin-left: 14px;
	top: 50%;
	transform: translateY(-50%);
}

/* % symbol (right side) */
.bank-rates-block .rigth.percent::before {
	position: absolute;
	content: "%";
	right: 38%;
	top: 50%;
	transform: translateY(-50%);
}

.bank-rates-block.calc-page .rigth.percent::before {
	right: 0;
}

/* Focus effect */
.bank-rates-block input:focus {
	border-color: #159B5A;
	box-shadow: 0 0 6px rgba(21,155,90,0.3);
}

.bank-rates-block .error-input {
	border: 2px solid #ff4d4f !important;
	box-shadow: 0 0 6px rgba(255, 77, 79, 0.4) !important;
}


/* Special inline layout for inputs */
.bank-rates-block span.left{
	width: 50%;
}
.bank-rates-block span.rigth{
	width: 65%;
	display: flex;
	justify-content: space-between;
	gap: 8px;
}
.bank-rates-block.calc-page span{
	display: grid;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
}
.bank-rates-block.calc-page span.rigth{
	width: unset;
}

.bank-rates-block.calc-page span.rigth .green-label{
	display: flex;
	justify-content: center;
}

.bank-rates-block .inline-width-1
{
	width: 55% !important;
	display: inline-block;
}
.bank-rates-block .inline-width-2
{
	width: 40% !important;
	display: inline-block;
}

/* Range slider */
.slider-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 0 32px 0;
}

.range-field {
	width: 100%;
	appearance: none;
	height: 6px;
	border-radius: 5px;
	background: #f9fafc;
	outline: none;
}

.range-field::-webkit-slider-thumb {
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #159B5A;
	cursor: pointer;
	border: 3px solid white;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	transition: all 0.2s ease;
}

.range-field::-webkit-slider-thumb:hover {
	background: #5CD29E;
	transform: scale(1.1);
}

/* Toggle for General / Senior Citizen */
.fd-toggle-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.fd-toggle-container .toggle-switch {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 26px;
}

.fd-toggle-container .toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.fd-toggle-container .fd-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.3s;
	border-radius: 34px;
}

.fd-toggle-container .fd-slider::before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	top: 3px;
	bottom: 0;
	background-color: white;
	transition: 0.3s;
	border-radius: 50%;
}

.fd-toggle-container .toggle-switch input:checked + .fd-slider {
	background: linear-gradient(45deg, #159B5A, #5CD29E);
}

.fd-toggle-container .toggle-switch input:checked + .fd-slider::before {
	transform: translateX(24px);
}

.green-label {
	font-weight: 600;
	font-size: 16px;
	color: #159B5A;
}


/*************** RD styles *******************/

.rd-calc-container .bank-rates-block .rigth.rm-width{
	width: 35%;
	gap: unset;
}

.rd-calc-container .bank-rates-block .rigth.percent {
	justify-content: flex-end;			
}
.rd-calc-container .bank-rates-block .rigth.percent::before {
	right: 3%;
}

/* ===== Result Section ===== */
.bank-rates-result-card {
    background: linear-gradient(135deg, #159B5A, #5CD29E);
    padding: 30px 25px;
    border-radius: 16px;
    color: #fff;
    font-weight: 600;
    width: 40%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s ease;
}

.bank-rates-result-card .price-block {
    height: 100%;
    background-color: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bank-rates-result-card .price-block:hover {
    background-color: rgba(255,255,255,0.25);
}

.bank-rates-result-card .price-block .label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.bank-rates-result-card .price-block .amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}