.fd-item,
.full-width-table td,
.full-width-table th,
.rate-table .rate-value {
	text-align: center
}

.rates-section-page {
	padding: 40px 0;
	background: #f4f6f9
}

.rates-card {
	position: relative;
	border-radius: 15px;
	margin-bottom: 30px;
	z-index: 1
}

.rates-card .shape-bg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	background: url('../images/shape/shape-17.png') center center/contain no-repeat;
	transform: translate(-50%, -50%) rotate(15deg);
	opacity: .1;
	z-index: -1;
	pointer-events: none
}

.rates-card .card-body {
	padding: 5px;
	position: relative;
	z-index: 2;
	background: #fff;
	border-radius: 15px;
	overflow: hidden
	box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.rates-card.premium-card .card-body {
	background: 0 0 !important
}

.rates-card .card-header {
	padding: 25px 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 2;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	border-radius: 15px 15px 0 0;
}

.rates-card .card-title {
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0
}

.rates-card .card-date {
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
	font-weight: 600
}

.board-rates {
	background: #2e5667
}

.board-rates .card-header,
.fd-rates .card-header {
	background: rgba(0, 0, 0, .2)
}

.interest-rates {
	background: #4b525b
}

.interest-rates .card-header {
	background: #1c4268;
	border-bottom: none;
	border-radius: 15px 15px 0 0;
}

.fd-rates {
	background: linear-gradient(135deg, #c4662e 0, #8c7526 100%)
}

.fd-card-body {
	background: 0 0
}

.fd-item,
.sdic-badge {
	background: rgba(255, 255, 255, .15);
	padding: 20px
}

.fd-content {
	display: flex;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap
}

.sdic-badge {
	flex: 1;
	min-width: 250px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 15px
}

.sdic-badge img {
	width: 50px;
	background: #fff;
	padding: 5px;
	border-radius: 5px
}

.sdic-badge span {
	color: #fff;
	font-weight: 600
}

.fd-rates-grid {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Adjust 6 based on number of items */
    gap: 20px;
}

.fd-item {
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 10px
}

.fd-item .fd-months {
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
	text-transform: uppercase
}

.fd-item .fd-rate-box small {
	display: block;
	color: rgba(255, 255, 255, .7);
	font-size: 11px;
	margin-bottom: 5px
}

.fd-item .fd-rate-box .fd-rate {
	display: block;
	color: #fff;
	font-size: 28px;
	font-weight: 800
}

.table-responsive {
	overflow-x: auto
}

.rate-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff
}

.rate-table thead {
	background: var(--secondary-light);
	);
}

.rate-table td,
.rate-table th {
	padding: 15px 20px;
	border: none;
	text-align: center
}

.rate-table th {
	color: var(--text-color);
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 700
}

.full-width-table td:first-child,
.full-width-table th:first-child,
.rate-table td:first-child,
.rate-table th:first-child {
	text-align: left
}

.rate-table tbody tr {
	border-bottom: none;
	opacity: 0;
	transform: translateX(-30px);
	animation: .8s forwards rowReveal
}

.rate-table tbody tr:last-child {
	border-bottom: none
}

.rate-table tbody tr:hover {
	background: #f9f9f9
}

.rate-table td {
	color: var(--title-color);
	font-size: 16px;
	font-weight: 600
}

.rate-table .currency-cell {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-start
}

.rate-table .currency-cell img {
	width: 24px;
	border-radius: 4px
}

.rate-table .rate-value {
	color: var(--text-color);
	font-weight: 800
}

.full-width-table th.sgd-header {
	color: var(--theme-color)
}

@media (max-width:991px) {
	.fd-content {
		flex-direction: column;
		align-items: stretch
	}

	.sdic-badge {
		margin-bottom: 20px
	}

	.fd-rates-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.board-rates .col-lg-6:first-child {
		margin-bottom: 30px
	}

	.board-rates .rate-table {
		border-radius: 15px;
		overflow: hidden
	}
}

@media (max-width:600px) {
	.fd-rates-grid {
		grid-template-columns: 1fr
	}

	.rates-card .card-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px
	}

	.rate-table td,
	.rate-table th {
		padding: 10px 15px;
		font-size: 13px
	}
}

.rate-table tbody tr:first-child {
	animation-delay: .1s
}

.rate-table tbody tr:nth-child(2) {
	animation-delay: .2s
}

.rate-table tbody tr:nth-child(3) {
	animation-delay: .3s
}

.rate-table tbody tr:nth-child(4) {
	animation-delay: .4s
}

@keyframes rowReveal {
	to {
		opacity: 1;
		transform: translateX(0)
	}
}

.currency-cell img,
.fd-rate,
.interest-rates .rate-table tbody tr td,
.rate-value {
	transition: .4s
}

.rate-table tr:hover .currency-cell img {
	transform: rotate(10deg) scale(1.25);
	filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .25))
}

.fd-item:hover .fd-rate,
.rate-table tr:hover .rate-value {
	color: #f8b400;
	transform: scale(1.15)
}

.fd-item {
	transition: .5s
}

.fd-item:hover {
	transform: translateY(-12px) rotateX(10deg);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .25)
}

.interest-rates .rate-table tbody tr {
	position: relative;
	transition: .4s
}

.interest-rates .rate-table tbody tr:hover {
	background: linear-gradient(90deg, rgba(255, 255, 255, .95), #f5f8fc);
	transform: translateX(12px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .08)
}

.interest-rates .rate-table tbody tr:hover td {
	color: var(--secondary-color);
	font-weight: 700
}

.interest-rates .rate-table td:last-child,
.interest-rates .rate-table th:last-child {
	position: relative;
	font-weight: 800
}

.interest-rates .rate-table tbody tr:hover td:last-child {
	color: #00a651;
	transform: scale(1.08)
}

.locker-card {
	background: #fff;
	border-radius: 15px;
	padding: 30px 25px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	border: 2px solid #f0f0f0;
	height: 100%;
}

.locker-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.locker-card.featured {
	box-shadow: 0 8px 30px rgba(0, 123, 255, 0.15);
}

.locker-card.featured:hover {
	box-shadow: 0 20px 50px rgba(0, 123, 255, 0.25);
}

.locker-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	color: #fff;
}

.locker-card.featured .locker-icon {
	background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.locker-card h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #1a1a1a;
}

.locker-size {
	font-size: 16px;
	color: #666;
	margin-bottom: 20px;
	font-weight: 500;
}

.locker-price {
	margin: 25px 0;
	padding: 20px 0;
	border-top: 2px dashed #e0e0e0;
	border-bottom: 2px dashed #e0e0e0;
}

.locker-price .currency {
	font-size: 24px;
	font-weight: 600;
	color: var(--text-color);
	vertical-align: top;
}

.locker-price .amount {
	font-size: 42px;
	font-weight: 700;
	color: var(--text-color);
	line-height: 1;
}

.locker-price .period {
	font-size: 16px;
	color: #666;
	display: inline-block;
	margin-left: 5px;
	vertical-align: bottom;
	font-weight: 500;
}

.locker-features {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.locker-features li {
	padding: 5px 0;
	color: #555;
	font-size: 14px;
	border-bottom: 1px solid #f5f5f5;
}

.locker-features li:last-child {
	border-bottom: none;
}

.locker-features i {
	color: #28a745;
	margin-right: 10px;
	font-size: 14px;
}

.locker-requirements {
	background: #f8f9fa;
	border-radius: 15px;
	padding: 20px;
}

.requirement-box {
	display: flex;
	align-items: flex-start;
	background: #fff;
	padding: 15px;
	border-radius: 10px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.req-icon {
	width: 60px;
	height: 60px;
	background: var(--secondary-color);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #fff;
	margin-right: 20px;
	flex-shrink: 0;
}

.req-content h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #1a1a1a;
}

.req-content p {
	margin: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

.req-content strong {
	color: #007bff;
}

.locker-note {
	margin-top: 30px;
}

.locker-note .alert {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 10px;
	padding: 20px 25px;
	color: #856404;
	font-size: 14px;
}

.locker-note .alert i {
	font-size: 20px;
	margin-right: 10px;
	vertical-align: middle;
}

@media (max-width: 991px) {
	.locker-card {
		margin-bottom: 30px;
	}

	.locker-price .amount {
		font-size: 36px;
	}
}

@media (max-width: 767px) {
	.locker-pricing-grid {
		margin-top: 30px;
	}

	.locker-card {
		padding: 25px 20px;
	}

	.locker-price .amount {
		font-size: 32px;
	}

	.locker-requirements {
		padding: 25px;
	}

	.requirement-box {
		flex-direction: column;
	}

	.req-icon {
		margin-right: 0;
		margin-bottom: 15px;
	}
}
/* === Forms Page Title Backgrounds === */
#tf-page-title .bg-layer {
	background-image: url(../images/background/innerbanner02.webp);
}

#tf-page-title .pattern-1 {
	background-image: url(../images/shape/shape-18.png);
}

#tf-page-title .pattern-2 {
	background-image: url(../images/shape/shape-17.png);
}