.main_heading {
	font-size: 26px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0.01em;
    color: #151515;
	padding: 0px;
}

/* Gold Calculator BLock */

.gold-calc-container
{
	margin: 32px 0;
}

.tab-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.tab-btn {
	padding: 15px 30px;
	background: #e5e7eb;
	color: #374151;
	border: none;
	outline: none;
	border-radius: 12px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s;
	backdrop-filter: blur(10px);
}

.tab-btn:hover {
	transform: translateY(-2px);
}

.tab-btn.active {
	background: #159B5A;
	color: #FFFFFF;
	border-color: white;
}

.calculator-wrapper {
	display: none;
	animation: fadeIn 0.5s;
}

.calculator-wrapper.active {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.card {
	background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

.gd-gold-calculator-block {
    background: #f9fafc;
    border-radius: 12px;
    padding: 20px 26px;
}

.form-group {
	margin-bottom: 32px;
}

.amount-block {
	display: flex;
	justify-content: space-between;
}
.amount-words
{
    font-size: 0.9rem;
    color: #159B5A;
    font-weight: 600;
}

.city-dropdown-block {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: unset;
}

.city-dropdown-block select {
	min-width: 180px;
}

/* ----------------- DROPDOWN STYLES ----------------- */
.city-dropdown{
    width:180px;
    background:#fff;
    border-radius:8px;
    padding:12px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    border:1px solid #eee;
    box-shadow:0 0 10px rgba(0,0,0,0.06);
    user-select:none;
}
.city-dropdown:hover{
    background:#fafafa;
}
.city-dropdown span{
    font-size:16px;
    color:#333;
}
.icon-arrow{
    border:solid #34a853;
    border-width:0 2px 2px 0;
    display:inline-block;
    padding:4px;
    transform:rotate(45deg);
    margin-top:-2px;
}

/* ----------------- POPUP OVERLAY ----------------- */
.popup-overlay{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99;
}

/* ----------------- POPUP BOX ----------------- */
.popup-box{
    width: 360px;
	height: 75%;
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 4px 25px rgba(0,0,0,0.15);
    animation:popIn .25s ease-out;
    position:relative;
	overflow: hidden;
}
@keyframes popIn{
    0%{ transform:scale(.8); opacity:0; }
    100%{ transform:scale(1); opacity:1; }
}

.popup-header{
    font-size:20px;
    font-weight:600;
	color: #159B5A;
    margin-bottom:16px;
}

.popup-close{
    position:absolute;
    right:18px;
    top:18px;
    background:#0f9d58;
    border:none;
    color:#fff;
    width:28px;
    height:28px;
    border-radius:50%;
    cursor:pointer;
    font-size:18px;
    line-height:28px;
}

/* ----------------- SEARCH BAR ----------------- */

.city-input-search {
	display: flex;
	gap: 10px;
	text-align: center;
	background: #DCFDEC;
	border-radius: 30px;
	margin-bottom: 16px;
	padding: 12px 16px;
}

.gr-metal-search-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background: url(https://images.goodreturns.in/common_dynamic/images/desk-search.svg) no-repeat 0 0;
}

.search-input{
	width: 100%;
	box-sizing: border-box;
	border:none;
	outline:none;
	background:#DCFDEC;
	font-size:14px;
}

/* ----------------- CITY LIST ----------------- */
.city-list{
    max-height:78%;
    overflow-y:auto;
    padding-right:6px;
}
.city-item{
    padding:12px 10px;
    font-size:16px;
    color:#2b2b2b;
    cursor:pointer;
    border-radius:6px;
}
.city-item:hover{
    background:#eef7ef;
}

/* Scrollbar styling */
.city-list::-webkit-scrollbar{
    width:6px;
}
.city-list::-webkit-scrollbar-thumb{
    background:#c9ded0;
    border-radius:20px;
}


/***********************************/

.form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 12px;
	color: #333;
	font-size: 15px;
}

.purity-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.purity-btn {
	flex: 1;
	min-width: 70px;
	padding: 12px 20px;
	background: #f5f5f5;
	border: none;
	outline: none;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	color: #666;
	transition: all 0.3s;
}

.purity-btn:hover {
	background: #ebebeb;
	border-color: #159B5A;
}

.purity-btn.active {
	background: #159B5A;
	color: white;
	border-color: #159B5A;
}

.gd-calc-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px
}

.input-wrapper {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
}

#buyCalc .input-wrapper {
	width: 100%;
}

.calculator-wrapper input[type="number"] {
	flex: 1;
	padding: 14px 18px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-size: 16px;
	transition: all 0.3s;
	width: 80px;
}

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

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

.calculator-wrapper input[type="number"]:focus {
	outline: none;
	border-color: #159B5A;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.calculator-wrapper select {
	padding: 14px 10px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-size: 16px;
	background: white;
	cursor: pointer;
	width: 120px;
}

.calculator-wrapper select:focus {
	outline: none;
	border-color: #159B5A;
}

.percent-input {
	position: relative;
	/* flex: 1; */
	margin-bottom: 12px;
}

.percent-input input {
	/* width: 100%; */
	padding-right: 45px;
}

.percent-symbol {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	font-weight: 600;
}

.calculator-wrapper input[type="range"] {
	width: 100%;
	height: 6px;
	border-radius: 5px;
	background: #e9eef0;
	outline: none;
	-webkit-appearance: none;
}

.calculator-wrapper input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #159B5A;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.calculator-wrapper input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #159B5A;
	cursor: pointer;
	border: none;
}

.range-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 13px;
	color: #999;
}

.checkbox-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;
}

.checkbox-wrapper input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: #159B5A;
}

.checkbox-wrapper label {
	margin: 0;
	cursor: pointer;
	color: #666;
}

.summary-card {
	padding: 32px;
    background: #159B5A;
    color: #fff;
    box-shadow: 0 18px 50px rgba(7, 94, 59, 0.12);
    border-radius: 16px;
	color: white;
	position: sticky;
	top: 20px;
}

.summary-card .sc-heading {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 15px;
	opacity: 0.95;
}

.total-amount {
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 25px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.3);
	margin: 25px 0;
}

.breakdown .bd-heading {
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 20px;
	opacity: 0.95;
}

.rate-display {
	background: rgba(255, 255, 255, 0.10);
	padding: 15px;
	border-radius: 10px;
	margin-bottom: 20px;
	backdrop-filter: blur(10px);
}

.rate-display .label {
	font-size: 15px;
	opacity: 0.9;
	margin-bottom: 5px;
}

.rate-display .value {
	font-size: 1.3rem;
	font-weight: 600;
}

.rate-display .current-rate {
	display: none;
}

.rate-display .current-rate.active {
	display: inline-block;
}

.breakdown-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	font-size: 15px;
}

.breakdown-row.subtotal {
	padding-top: 15px;
	margin-top: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.breakdown-row.highlight {
	padding: 15px;
	background: rgba(255, 255, 255, 0.10);
	border-radius: 10px;
	font-weight: 600;
	margin-top: 20px;
	font-size: 1.1rem;
}

.breakdown-row .label {
	opacity: 0.95;
}

.breakdown-row .value {
	font-weight: 600;
}

.disclaimer {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	padding: 25px;
	border-radius: 15px;
	margin-top: 30px;
	color: white;
	font-size: 14px;
	line-height: 1.7;
}

.disclaimer strong {
	font-weight: 600;
}