/* Annual Report Styles */
.npfs-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.npfs-info-row {
  display: flex;
  margin: 8px 0;
  line-height: 1.5;
}

.npfs-info-label {
  color: #888;
  margin-right: 10px;
  min-width: 120px;
}

.npfs-info-value {
  color: #fff;
  flex: 1;
}

/* Five Elements Chart */
.npfs-elements {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.npfs-element-chart {
  position: relative;
  width: 300px;
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.npfs-element-count {
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.npfs-element-count[data-type="metal"] {
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}

.npfs-element-count[data-type="wood"] {
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

.npfs-element-count[data-type="water"] {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.npfs-element-count[data-type="fire"] {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.npfs-element-count[data-type="earth"] {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Section Styles */
.npfs-section {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.npfs-section h3 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Mobile: npfs-report-wrap container no left/right padding */
  .npfs-report-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Mobile: tBox tBoxDashboard container for destiny-guidance menu page */
  .page-template-destiny-guidance .tBox.tBoxDashboard {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-top: 20px !important;
  }

  /* Mobile: Smaller fonts for order summary elements */
  .npfs-order-summary .npfs-order-user,
  .npfs-order-summary .npfs-order-price {
    font-size: 12px !important;
  }

  /* Mobile: Date and time right-aligned with line break */
  .npfs-order-summary .npfs-order-date {
    text-align: right !important;
    white-space: pre-line !important;
    font-size: 12px !important;
  }

  /* Mobile: Celebrity cards - image on top, info below */
  .npfs-celeb-card {
    flex-direction: column !important;
    text-align: left !important;
  }

  .npfs-celeb-card img {
    margin-bottom: 10px !important;
    margin-right: 0 !important;
  }

  /* Mobile: Five elements wheel - smaller fonts */
  .npfs-element-count {
    font-size: 16px !important;
  }

  .npfs-element-chart {
    width: 250px !important;
    height: 250px !important;
  }

  /* Mobile: Fortune Ratings - vertical layout */
  .npfs-frow {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .npfs-fleft {
    margin-bottom: 8px !important;
    margin-right: 0 !important;
  }

  .npfs-fdesc {
    width: 100% !important;
  }
}
