/* Stamp Duty Page Styles - #2563eb Blue Theme */

* {
  box-sizing: border-box;
}

.stamp-duty-page, .rld-page {
  margin: 0 auto;
  padding: 20px;
  font-family: Inter, sans-serif;
}

.sd-breadcrumb, .rld-breadcrumb {
  margin-bottom: 40px;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sd-breadcrumb a, .rld-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.sd-bc-current, .rld-bc-current {
  color: #333;
  font-weight: 500;
}

.sd-bc-sep, .rld-bc-sep {
  color: #999;
}

.sd-hero, .rld-hero {
  background: #000;
  color: white;
  padding: 100px 0;
  margin: -20px -20px 60px -20px;
  text-align: center;
  width: calc(100% + 40px);
}

.sd-hero-copy, .rld-hero-copy {
  max-width: 800px;
  margin: 0 auto;
}

.sd-hero-label, .rld-hero-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sd-hero-title, .rld-hero-title {
  font-size: 2.8rem;
  margin: 0 0 20px;
  font-weight: 700;
  line-height: 1.2;
  color: white;
}

.sd-hero-text, .rld-hero-text {
  font-size: 1.2rem;
  opacity: 0.95;
  margin: 0 auto;
}

.sd-section-title, h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2c3e50;
}

/* CUSTOM GRID */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.col-md-8 {
  flex: 0 0 calc(66.666% - 20px);
  max-width: calc(66.666% - 20px);
}

.col-md-4 {
  flex: 0 0 calc(33.333% - 10px);
  max-width: calc(33.333% - 10px);
}

@media (max-width: 767px) {
  .row {
    flex-direction: column;
  }
  
  .col-md-8, .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.sd-table-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
}

.sd-table {
  width: 100%;
}

.sd-table th {
  background: #f8f9ff;
  padding: 20px 15px;
  text-align: left;
  font-weight: 600;
  border-bottom: 3px solid #dee2e6;
  color: #374151;
}

.sd-table td {
  padding: 20px 15px;
  border-bottom: 1px solid #f1f3f4;
  color: #4b5563;
}

.sd-table tr:hover {
  background: #f9fafb;
}

.sd-rate-range {
  background: #dbeafe;
  color: #1e40af;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.sd-calc-panel {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 30px;
  position: sticky;
  top: 20px;
  border: 1px solid #e5e7eb;
}

.sd-calc-panel h3 {
  margin-top: 0;
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
}

/* NICE CARD */
.stamp-duty-info-card {
  background: white;
  color: #1f2937;
  border-left: 5px solid #2563eb;
  border-radius: 0 20px 20px 0;
  padding: 45px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  position: relative;
}



.card-icon {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  background: rgba(255,255,255,0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.card-content h3 {
  color: #111827;
  font-size: 1.9rem;
  margin: 0 0 20px;
  font-weight: 700;
}

.card-content p {
  color: #111827;
  line-height: 1.75;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #374151;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.3s;
  font-size: 1rem;
}

.form-group input:focus, .form-group select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.calc-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.calc-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

#calc-result {
  margin-top: 25px;
}

#calc-result .calc-result-success {
  background: #dcfce7;
  border: 2px solid #22c55e;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: #166534;
}

#calc-result .calc-error {
  background: #fef2f2;
  border: 2px solid #ef4444;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  color: #991b1b;
}

.loading {
  color: #2563eb;
  font-style: italic;
  text-align: center;
  padding: 25px;
}

