/* TRACKING PAGE SPECIFIC STYLES */

/* MAIN CONTENT AREA */
#tracking {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tracking .container {
  width: 100%;
}

/* TRACKING CARD */
.custom_card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 40px 30px;
  text-align: center;
}

.custom_card_header i {
  font-size: 45px;
  color: #940205;
  margin-bottom: 10px;
}

.custom_card_header h2 {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 5px;
  color: #222;
}

.custom_card_header p {
  font-size: 14px;
  color: #666;
}

.tracking_data {
  margin-top: 40px;
}

/* Accordion Styles */
.accordion_header {
  background: #940205;
  color: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion_header.active {
  background: #000000;
}

.accordion_header h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.accordion_body {
  display: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease;
}

.accordion_body.active {
  display: block;
}

.accordion_body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 20px;
}

.tracking_info,
.delivery_info {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.tracking_info th,
.tracking_info td,
.delivery_info th,
.delivery_info td {
  border: none;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: normal;
  text-align: left;
}

.tracking_info th,
.delivery_info th {
  font-weight: 600;
}

.tracking_info thead,
.delivery_info thead {
  background-color: #940205;
  color: #fff;
}

.tracking_info tr:nth-child(even),
.delivery_info tr:nth-child(even) {
  background-color: #f7f9fc;
}

.invalid_record {
  text-align: center;
  color: red;
  font-weight: 600;
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.accordion-toggle {
  margin-left: 15px;
}

.fa_icon {
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  /* Padding handled by Bootstrap utility classes */

  .custom_card {
    padding: 25px 20px;
  }

  .custom_card_header h2 {
    font-size: 20px;
  }

  .tracking_info th,
  .tracking_info td,
  .delivery_info th,
  .delivery_info td {
    font-size: 12px;
    padding: 8px 6px;
  }

  .accordion_header h2 {
    font-size: 14px;
  }

  .accordion_body h3 {
    font-size: 18px;
  }
}
