.quotation-page {
  padding: 20px 0;
  background-color: #ffffff;
  min-height: 100vh;
  padding-top: 200px;
  padding-bottom: 100px;
}

.quotation-form-section {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.quotation-section {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Instruction Banner */
.instruction-banner {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1976d2;
  font-weight: 500;
}

.banner-content i {
  font-size: 18px;
}

/* Vehicle Information */
.vehicle-info-section {
  margin-bottom: 30px;
}

.vehicle-info-section h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
}

.vehicle-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.vehicle-display {
  font-size: 16px;
  margin-bottom: 15px;
  color: #000000;
}

.market-value-info p {
  margin-bottom: 10px;
  color: #666;
}

.market-value-display {
  background: #e8f5e8;
  padding: 10px;
  border-radius: 5px;
  border-left: 4px solid #4caf50;
  color: #000;
}

/* Coverage Section */
.coverage-section {
  margin-bottom: 30px;
}

.coverage-section h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 18px;
}

.coverage-description {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
}

.coverage-options {
  display: flex;
  gap: 15px;
}

.coverage-option {
  flex: 1;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.coverage-option.selected {
  border-color: #2196f3;
  background: #f3f8ff;
}

.coverage-option.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.option-content h4 {
  margin-bottom: 10px;
  color: #333;
}

.option-content .amount {
  font-weight: bold;
  color: #2196f3;
}

/* Variant Section */
.variant-section {
  margin-bottom: 30px;
}

.variant-section h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
}

/* Sum Insured Section */
.sum-insured-section {
  margin-bottom: 30px;
}

.sum-insured-section h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
}

.sum-options {
  display: flex;
  gap: 15px;
}

.sum-option {
  flex: 1;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ddd;
}

.sum-option.selected {
  color: #2196f3;
  border-color: #2196f3;
  background: #f3f8ff;
}

.sum-option.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Personal Details */
.personal-details-section {
  margin-bottom: 30px;
}

.personal-details-section h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

/* Address Section */
.address-section {
  margin-bottom: 30px;
}

.address-section h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 18px;
}

/* Add Ons Section */
.addons-section {
  margin-bottom: 30px;
}

.addons-section h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 18px;
}

.addon-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.addon-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.addon-option:hover {
  border-color: #2196f3;
}

.addon-option.selected {
  border-color: #2196f3;
  background: #f3f8ff;
}

.addon-checkbox {
  position: relative;
}

.addon-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 3px;
  display: block;
  position: relative;
}

.addon-checkbox input[type="checkbox"]:checked + .checkmark {
  background: #2196f3;
  border-color: #2196f3;
}

.addon-checkbox input[type="checkbox"]:checked + .checkmark:after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.addon-icon {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #666;
}

.addon-content {
  flex: 1;
}

.addon-content h4 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 16px;
}

.addon-content p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.addon-info {
  color: #999;
  font-size: 16px;
}

.allianz-logo img {
  width: 150;
  height: 150px;
}

/* Quotation Section */
.quotation-section h2 {
  color: #333;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 700;
}

/* Quotation Summary Card */
.quotation-summary-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-item .label {
  font-weight: 500;
  color: #333;
}

.summary-item .value {
  color: #666;
}

.edit-link {
  color: #2196f3;
  text-decoration: none;
  margin-left: 10px;
}

.vehicle-info-banner {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 5px;
  padding: 10px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1976d2;
  font-size: 14px;
}

/* Allianz Policy Card */
.allianz-policy-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.policy-duration {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
  color: #333;
}

.allianz-logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.allianz-logo {
  flex-shrink: 0;
}

.logo-circle {
  width: 60px;
  height: 60px;
  background: #2196f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-text {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.logo-bars {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.logo-bars .bar {
  width: 3px;
  height: 8px;
  background: white;
  margin: 1px 0;
  border-radius: 1px;
}

.allianz-info h3 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 18px;
}

.allianz-info p {
  margin: 0 0 10px 0;
  color: #666;
  font-size: 12px;
}

.policy-links {
  display: flex;
  gap: 15px;
}

.policy-link {
  color: #2196f3;
  text-decoration: none;
  font-size: 14px;
}

/* Financial Breakdown */
.financial-breakdown {
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #000000;
}

.breakdown-item .label {
  color: #333;
}

.breakdown-item .value {
  font-weight: 500;
}

.breakdown-item.discount .value {
  color: #4caf50;
}

.breakdown-item.total .value {
  color: #2196f3;
  font-weight: bold;
}

.breakdown-item .value.protection {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.monthly-payment {
  background: #fff3cd;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.monthly-payment .label {
  font-weight: bold;
  color: #333;
}

.monthly-payment .value {
  font-size: 18px;
  font-weight: bold;
  color: #856404;
}

/* Premium Calculation */
.premium-calculation {
  /* background: #f8f9fa; */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.calculation-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calculation-item .label {
  color: #333;
}

.calculation-item .value {
  font-weight: 700;
  color: #000000;
}

.road-tax-section {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin: 10px 0;
}

.calculation-item.road-tax-total {
  font-weight: bold;
}

.final-total {
  border-top: 1px solid #ddd;
  padding-top: 10px;
  /* font-weight: bold; */
  /* font-size: 16px; */
}

/* Insurance Policy Section */
.insurance-policy-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.premium-calculation h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
}

.policy-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.policy-item .label {
  color: #333;
}

.policy-item .value {
  font-weight: 700;
  color: #000000;
}

/* Final Price Section */
.final-price-section {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.price-summary {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #6c757d;
  color: white;
}

.monthly-price {
  margin-right: 20px;
}

.monthly-price .label {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

.monthly-price .value {
  font-size: 16px;
  font-weight: bold;
}

.total-price {
  flex: 1;
  text-align: center;
}

.total-price .amount {
  display: block;
  font-size: 24px;
  font-weight: bold;
}

.total-price .label {
  font-size: 12px;
  opacity: 0.8;
}

.pay-now-btn {
  background: #2196f3;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pay-now-btn:hover {
  background: #1976d2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quotation-form-section,
  .quotation-section {
    padding: 20px;
  }

  .coverage-options,
  .sum-options {
    flex-direction: column;
  }

  .allianz-logo-section {
    flex-direction: column;
    text-align: center;
  }

  .price-summary {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .monthly-price {
    margin-right: 0;
  }
}

.selectable-card.selected {
  border-left: 4px solid #1976d2 !important;
  background: #e3f2fd !important;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
}
/* Modal background */
.addon-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

/* Modal content box */
.addon-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 25px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.addon-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.2s ease;
}

.addon-modal-close:hover {
  color: #000;
}

