/**
 * Fixed Deposits Hub Page Styles
 */


.fd-table-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--border-main);
  overflow: hidden;
  margin-top: 3rem;
}

.fd-table-header {
  background: var(--color-navy);
  color: white;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fd-table-header h3 {
  margin: 0;
  font-size: var(--font-size-lg);
}

.fd-table {
  width: 100%;
  border-collapse: collapse;
}

.fd-table th {
  background: var(--bg-section-alt);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  border-bottom: 1px dashed var(--border-main);
}

.fd-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px dashed var(--border-main);
  font-size: var(--font-size-sm);
  color: var(--text-main);
}

.fd-table tr:last-child td {
  border-bottom: none;
}

.fd-table tr:hover td {
  background: var(--color-gray-50);
}

.rate-badge {
  display: inline-block;
  background: #D1FAE5;
  color: #065F46;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.rate-badge.senior {
  background: #EDE9FE;
  color: #5B21B6;
}

.bank-name {
  font-weight: 600;
  color: var(--text-heading);
}

/* FD Detail Pages Specific Layout */

.fd-detail-header {
  padding: 4rem 1rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.regular-theme { background: linear-gradient(135deg, #0f172a, #334155); }
.senior-theme { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.tax-theme { background: linear-gradient(135deg, #0369a1, #38bdf8); }
.corporate-theme { background: linear-gradient(135deg, #b45309, #fbbf24); }
.recurring-theme { background: linear-gradient(135deg, #166534, #4ade80); }
.nri-theme { background: linear-gradient(135deg, #9f1239, #fb7185); }

.fd-detail-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2), transparent 50%);
  pointer-events: none;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.header-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.header-info h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-info p {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  opacity: 0.9;
}

.header-info .tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.header-info .tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
}

.fd-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  margin-top: -2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--border-light);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.stat-box .label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.stat-box .val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
}

.fd-body-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991px) {
  .fd-body-layout { grid-template-columns: 1fr; }
  .header-container { flex-direction: column; text-align: center; }
}

.fd-sidebar {
  position: sticky;
  top: 100px;
}

.premium-card {
  background: linear-gradient(180deg, #fafafa, #ffffff);
  border: 1px solid #e5e7eb;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.premium-card .icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--color-navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto;
}

/* Tabs */
.fd-tabs-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid var(--color-gray-100);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.fd-tab {
  background: none;
  border: none;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.fd-tab:hover {
  color: var(--color-primary);
}

.fd-tab.active {
  color: var(--color-primary);
}

.fd-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px 3px 0 0;
}

.fd-tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.fd-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.section-card h2 {
  color: var(--color-navy);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.section-card p {
  color: var(--text-main);
  line-height: 1.7;
}

.highlight-box {
  background: #fffbef;
  border-left: 4px solid #f59e0b;
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-box i { font-size: 1.25rem; margin-top: 0.1rem; }
.highlight-box p { margin: 0; }

.text-success { color: #16a34a !important; }
.text-danger { color: #dc2626 !important; }
.text-warning { color: #d97706 !important; }
.text-primary { color: var(--color-primary) !important; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}

.feature-list li::before {
  content: '\f00c';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #10b981;
}

.steps-list {
  padding-left: 1.5rem;
  line-height: 1.8;
}
.steps-list li {
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

