/* Responsive Styles for Report Page */

/* =========================================
   Tablet & Mobile Common Adjustments
   ========================================= */

button.pricing svg {
  color: #37959f;
}
@media (max-width: 991px) {
}

/* =========================================
   Mobile Specific Adjustments (< 768px)
   ========================================= */
@media (max-width: 768px) {
  .recent_h3 {
    font-size: 21px !important;
  }
  .pdf_button {
    display: none !important;
  }

  .inner-table-container {
    padding: 0;
  }

   .key-highlights h3 {
      text-align: center;
   }

   .artifact-seat h1,
   .artifact-seat-dynamics h1 {
      flex-wrap: wrap;
      font-size: 18px;
   }

  .buttons button {
    width: 47%;
    height: 35px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    flex: none !important;
    gap: 0 !important;
    font-size: 10px;
  }

  .buttons button img,
  .buttons button i {
    /* Ensure icons are visible and sized correctly */
    width: 17px;
    height: 17px;
    font-size: 17px;
    /* For font-awesome icons */
    margin-right: 5px !important;
  }

  .buttons button svg {
    width: 24px;
    height: 24px;
  }

  .pricing {
    background-color: #f63 !important;
    border: #f63 !important;
    color: #fff !important;
  }

  button.pricing svg {
    color: #ffff; /* black */
  }

  .breadcrumb {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Base style */
  .breadcrumb-item {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  /* First item - always fully visible */
  .breadcrumb-item:first-child {
    flex: 0 0 auto;
    max-width: none;
  }

  /* Last item - more space */
  .breadcrumb-item:last-child {
    flex: 0 0 auto;
    max-width: 220px;
    font-weight: 600;
  }

  /* Middle items only */
  .breadcrumb-item:not(:first-child):not(:last-child) {
    max-width: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* Anchor truncate */
  .breadcrumb-item a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .sticky-mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    z-index: 1000;
    height: 60px;
  }

  .footer-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 1px solid #eee;
  }

  .footer-btn a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #333;
    font-size: 12px;
  }

  .footer-btn i {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .footer-btn-red {
    background-color: #dc3545;
    color: white;
    flex: 2;
    /* Make this button wider */
  }

  .footer-btn-red a {
    color: white;
    font-weight: bold;
  }

  .footer-btn-white {
    background-color: #fff;
  }
}

@media (max-width: 576px) {
  .breadcrumb-item:not(:first-child):not(:last-child) {
    max-width: 90px;
  }

  .breadcrumb-item:last-child {
    max-width: 160px;
    font-size: 13px;
  }
}

@media (min-width: 769px) {
  .sticky-mobile-footer {
    display: none;
  }
}
