 #back-container {
    margin-bottom: 20px;
 }

 #go-back {
    text-decoration: none;
    font-family: 'Work Sans';
    color: #252323;
 }

  #datasheet {
      display: flex;
      font-family: 'Work Sans';
      border-bottom: 2px solid #EFEFEF;
      padding-bottom: 20px;
      margin: 25px 0 15px 0;
  }

  #reviews {
    padding-left: 10px;
  }

  #review-button {
    text-decoration: none;
    font-size: 10px;
    background-color: #8C8880;
    color: #EFEFEF; 
    padding: 5px;
  }

   @media (max-width: 830px) {
        .datasheet-container {
            padding-left: 15px;
        }
        .sixcol.last {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
   }

   @media (max-width: 550px) {
        #back-container {
            margin-top: 20px;
        }
        #go-back {
            font-size:12px;
        }
        .datasheet-container>h1 {
            font-size: 1.2em !important;
        }
        #datasheet {
            font-size: 12px;
        }
        #reviews {
            padding-top:3px;
        }
   }

 /* =========================
       TAB NAVIGATION
    ========================== */

 .datasheet-tabs {
     display: flex;
     margin-bottom: 20px;
 }

 .tab-button {
     flex: 1;
     padding: 12px 16px;
     background: none;
     border: none;
     cursor: pointer;
     font-size: 16px;
     font-weight: 600;
     border-bottom: 3px solid transparent;
     transition: all 0.2s ease;
     color: #8C8880;
 }

 .tab-button:hover {
     background-color: #f5f5f5;
 }

 .tab-button.active {
     border-bottom: 3px solid #B23B48;
     border-radius: 0px;
     color: #B23B48;
 }

 /* =========================
       TAB SECTIONS
    ========================== */

 .tab-section {
     display: none;
     animation: fadeIn 0.2s ease-in-out;
 }

 .tab-section.active {
     display: block;
 }

 /* Optional subtle animation */
 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 /* Mobile responsiveness */
 @media (max-width: 600px) {
     .tab-button {
         font-size: 14px;
         padding: 10px;
     }
 }

 /* =========================
    SUMMARY SECTIONS
    ========================= */

 .summary-section {
     margin-top: 30px;
     padding: 20px;
     background: #ffffff;
     border-radius: 10px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
 }

 .section-title {
     font-size: 20px;
     margin-bottom: 20px;
     border-bottom: 2px solid #f0f0f0;
     padding-bottom: 8px;
     font-weight: 600;
 }

 /* =========================
    Critical Dates and Organizer Grid
    ========================= */

 .summary-section .info-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
     margin-top: 20px;
 }

 .summary-section .info-card {
     background: #FFFFFF;
     padding: 18px;
     border-radius: 8px;
     border: 1px solid #8C8880;
 }

 .info-card .label {
     display: block;
     font-weight: 600;
     font-size: 0.9rem;
     font-family: "Work Sans";
     color: #8C8880;
     margin-bottom: 6px;
 }

 .info-card .value {
     font-size: 1rem;
     font-weight: 500;
 }

 /* Tablet */
 @media (max-width: 1024px) {
     .summary-section .info-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 /* Mobile */
 @media (max-width: 640px) {
     .summary-section .info-grid {
         grid-template-columns: 1fr;
     }
 }

 /* =========================
    EVENT LOCATION SECTION
    ========================= */

 .event-location-section {
     margin-top: 50px;
 }

 /* Header area (location + layout side by side on desktop) */
 .event-location-header {
     display: grid;
     grid-template-columns: 1fr 250px;
     gap: 30px;
     align-items: start;
 }

 /* Text block */
 .event-location-text p {
     font-size: 1rem;
     line-height: 1.5;
     color: #444;
 }

 /* Map container */
 .event-map-container {
     margin-top: 30px;
 }

 /* Responsive map */
 .event-map-container .eventmap {
     width: 100%;
     height: 450px;
     border-radius: 12px;
 }

 .event-layout {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 15px;
     margin-bottom: 15px;
 }

 /* Keep heading and link aligned nicely */
 .event-layout .subsection-title {
     margin: 0;
     font-size: 1.1rem;
 }

 /* Link styling */
 .layout-link {
     display: inline-block;
     padding: 6px 14px;
     background: #c62828;
     color: #fff;
     border-radius: 6px;
     text-decoration: none;
     font-size: 14px;
     transition: 0.2s ease;
 }


 /* Mobile stacking */
 @media (max-width: 600px) {
     .event-layout {
         flex-direction: column;
         align-items: flex-start;
     }
 }

 /* Mobile responsiveness */
 @media (max-width: 768px) {

     .event-location-header {
         grid-template-columns: 1fr;
     }

     .event-layout {
         order: -1;
     }

     .event-map-container .eventmap {
         height: 300px;
     }
 }

 /* =========================
    DETAILS SECTION
    ========================= */
 .details-grid {
     display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     gap: 20px;
 }

 .detail-card {
     background: #fafafa;
     padding: 20px;
     border-radius: 12px;
     border: 1px solid #e6e6e6;
     font-size: 14px;
 }

 .detail-card strong {
     font-size: 14px;
     font-family: "Work Sans";
     color: #8C8880;
     font-weight: 400;
     margin-right: 1em;
 }

 .detail-card h5 {
     margin-top: 0;
     color: #252323;
     margin-bottom: 15px;
     font-size: 18px;
 }

 .detail-divider {
     border: none;
     border-top: 1px solid #eee;
     margin: 18px 0;
 }

 .small-card {
     min-width: 0;
 }

 @media (max-width: 1100px) {
     .details-grid {
         grid-template-columns: 1fr 1fr;
     }
 }

 @media (max-width: 768px) {
     .details-grid {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 768px) {
     .details-grid {
         grid-template-columns: 1fr;
     }
 }


 /* =============================
       CSS STYLING
    ============================= */

.data-section {
     margin-top: 40px;
 }

 .data-section .scrollbox-lg {
    border: 1px solid #252323;
 }

 .restricted-message {
     color: #ff0000;
     text-align: center;
     font-style: italic;
     margin-bottom: 25px;
 }

 .history-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
     gap: 18px;
     margin-bottom: 40px;
 }

 .history-card {
     background: #fafafa;
     padding: 18px;
     border-radius: 10px;
     border: 1px solid #e6e6e6;
 }

 .history-card h4 {
     margin-top: 0;
     margin-bottom: 15px;
 }

 .history-metrics div {
     margin-bottom: 10px;
     font-size: 14px;
 }

 .history-metrics span {
     display: block;
     font-weight: 600;
     margin-top: 3px;
 }

 .report-card-section {
     margin-top: 40px;
     padding: 25px;
     background: #ffffff;
     border-radius: 12px;
     box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
 }

 .report-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 18px;
     margin-top: 20px;
 }

 .report-grid div {
     display: flex;
     justify-content: space-between;
     font-family: "work Sans";
     background: #fafafa;
     padding: 15px;
     border-radius: 8px;
     border: 1px solid #eee;
     font-size: 14px;
 }

 .report-grid strong {
     color: #8C8880;
 }

 .report-grid span {
     display: block;
     margin-top: 6px;
     font-weight: 600;
 }

 .myafsb-wrapper {
     max-width: 1100px;
     margin: 0 auto;
     padding: 20px;
 }

 .myafsb-section {
     margin-bottom: 40px;
 }

 .myafsb-section h3 {
     margin-bottom: 15px;
     font-size: 20px;
     border-bottom: 1px solid #ddd;
     padding-bottom: 8px;
 }

 .myafsb-grid {
     display: grid;
     grid-template-columns: 1fr;
     gap: 15px;
 }

 @media (min-width: 768px) {
     .myafsb-grid.two-col {
         grid-template-columns: 1fr 1fr;
     }

     .myafsb-grid.four-col {
         grid-template-columns: repeat(4, 1fr);
     }
 }

 .myafsb-field {
     display: flex;
     flex-direction: column;
 }

 .myafsb-field label {
     font-weight: 500;
     font-family: "Work Sans";
     margin-bottom: 5px;
     font-size: 14px;
 }

 .myafsb-field input,
 .myafsb-field select,
 .myafsb-field textarea {
     padding: 8px 10px;
     border: 1px solid #ccc;
     border-radius: 6px;
     font-size: 14px;
 }

 .myafsb-field textarea {
     min-height: 100px;
     resize: vertical;
 }

 .income-summary {
     display: grid;
     grid-template-columns: 1fr;
     gap: 10px;
     margin-top: 20px;
 }

 @media (min-width: 768px) {
     .income-summary {
         grid-template-columns: repeat(3, 1fr);
     }
 }

 .summary-box {
     display: flex;
     justify-content: space-between;
     gap: 20px;
     font-family:"Work Sans";
     background: #EFEFEF;
     padding: 15px;
     border-radius: 8px;
 }

 .summary-box strong {
     display: block;
     font-size: 18px;
     color: #8C8880;
 }

 .summary-box span {
     font-size: 18px;
     color: #252323;
     font-weight: bold;
 }

 .myafsb-submit {
     margin-top: 20px;
     padding: 12px 20px;
     background: #B23B48;
     color: white;
     border: none;
     border-radius: 6px;
     cursor: pointer;
     font-weight: 600;
 }

 .myafsb-submit:hover {
     background: #111827;
 }
