.body_container{
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 1rem;
    padding: 1rem;
    padding-top: 5px;
    grid-template-areas: "catalog update" ;
}

.updates{
    display: grid;
    grid-area: update;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto-fit);
    gap: 1rem;
    padding: 1rem;
    padding-bottom: auto;
    padding-right: 50px;
    overflow: visible;
}




.export_data_button {
  margin-bottom: 15px; /* or whatever spacing you need */
}

.search-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  position: relative; /* Important */
}

.input-wrapper {
  position: relative; /* Makes suggestions list position correctly */
}

#searchBox {
  width: 160px;
  padding: 6px;
  font-size: 14px;
  z-index: 1;
}

.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-height: 150px;
  overflow-y: auto;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
}

.suggestions-list li {
  padding: 8px 12px;
  cursor: pointer;
}

.suggestions-list li:hover {
  background-color: #f0f0f0;
}
.search-container label {
  font-size: 14px;
  margin-bottom: 5px;
  text-align: right;
  font-family: Inter, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
}

.product_catalog_container{
   display: grid;
   grid-area: catalog;
   grid-template-columns: 1fr;
   grid-template-rows: 15% auto auto 1fr;
   grid-auto-rows: auto;
   gap: 10px;
   padding: 1rem;
   padding-bottom: auto;
   padding-left: 50px;
   overflow: visible;
}

.info{
      text-align: justify;
}

 .info_line {
      display: flex;
      align-items: center;
      font-family: Inter, sans-serif;
      font-size: 1.30rem;
      margin-bottom: 35px;
    }

h1{
       font-family: Inter, sans-serif;
       font-size: 2rem; 
}

 .bar {
      width: 6px;
      height: 40px;
      background-color: #7e3e97; /* Customize color */
      margin-right: 10px;
      border-radius: 2px;
      flex-shrink: 0;
}

.info_para{
   font-family: Inter, sans-serif;
   font-size: 1.30rem; 
   text-indent: 0em;
   padding-left: 1em;
}

.curved-box {
      background-color: #f2e7f8; /* Light blue fill */
      color: #171617;            /* Text color */
      padding: 20px;
      padding-left: 20px;
      border-radius: 15px;       /* Curved corners */
      width: auto;              /* Set width */
      height: 25rem;
      font-family: Inter, sans-serif;
      font-size: 1.125rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
      overflow-y: auto;
      text-align: justify;
    }

.curved-box-announcement {
      background-color: #f2e7f8; /* Light blue fill */
      color: #171617;            /* Text color */
      padding: 20px;
      padding-left: 20px;
      border-radius: 15px;       /* Curved corners */
      width: auto;              /* Set width */
      height: auto;
      font-family: Inter, sans-serif;
      font-size: 1.125rem;
      max-height: 30rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
      overflow-y: auto;
      text-align: justify;
    }

.curved-box-desc {
      background-color: #f2e7f8; /* Light blue fill */
      color: #171617;            /* Text color */
      padding: 20px;
      padding-left: 20px;
      border-radius: 15px;       /* Curved corners */
      width: auto;              /* Set width */
      height: auto;
      min-height: 20rem;
      max-height: 32rem;
      font-family: Inter, sans-serif;
      font-size: 1.125rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
      overflow-y: auto;
      text-align: justify;
    }

    .curved-box-availability {
      background-color: #f2e7f8; /* Light blue fill */
      color: #171617;            /* Text color */
      padding: 20px;
      padding-left: 20px;
      border-radius: 15px;       /* Curved corners */
      width: auto;              /* Set width */
      height: 10rem;
      font-family: Inter, sans-serif;
      font-size: 1.125rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
      overflow-y: auto;
      text-align: justify;
    }

.blinking-word {
      animation: blinkColor 1s infinite;
      font-weight: bold;
      color: #5d0181;
}

/*@keyframes blinkColor {
      0%   { color: rgb(200, 12, 248); }
      50%  { color: rgb(0, 0, 3); }
      100% { color: rgb(200, 12, 248); }
}*/

.product_catalog_info{
      display: flex;
      align-items: center;
      font-family: Inter, sans-serif;
      font-size: 1.30rem;
      margin-bottom: 48px;
}
.product_catalog{
  padding-bottom: 0;  
}

.button-row {
      display: flex;
      gap: auto; /* space between buttons */
}

.button-row button {
      padding: auto auto;
      background-color: #e1c5f2;
      border: 1px solid #615f5f3f;
      width: 100%;
      max-width: 100%;
      height: 40px;
      color: rgb(3, 3, 3);
      font-weight: bold;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1rem;
      transition: all 0.2s ease-in-out;
}

.button-row button:hover {
      background-color: #905ca5;
      box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
      transform: translateY(-1px);
}

.button-row {
      position: relative;
      display: inline-block;
      margin-right: 15px;
}


.description-box {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible; /* Let parent handle scrolling */
  text-align: justify;
  font-family: Inter, sans-serif;
  font-size: 1.3rem;
  margin: 0;
  padding: 0;
}

.export {   
  justify-self: flex-start; /* Align the button to the right of its grid cell */  
  padding-top: 10px;  
}

.export_data_button{
 background-color: #7e3e97;
      color: rgb(249, 249, 249);
      border:none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      font-size: 1.15rem;
      width: auto;
      height: 50px;
      transition: all 0.2s ease-in-out;
}

.export_data_button:hover {
      background-color: #701195;
      box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
      transform: translateY(-1px);
}

.popup-message {
    display: none; /* hidden by default */
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); 
    background-color: #8f6a9e;
    color: #ffffff;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: bold;
    z-index: 10000;
    text-align: center;
    box-shadow: 0 15px 15px rgba(0,0,0,0.3);
    animation: fadeInOut 2s forwards;
}

.announcement-item {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
}

#toggleArchiveBtn {
  background-color: #7e3e97;
  color: rgb(249, 249, 249);
  border:none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.05rem;
  width: auto;
  height: 2.5rem;
  transition: all 0.2s ease-in-out;
}

#toggleArchiveBtn:hover {
    background-color: #701195;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
    transform: translateY(-1px);
}

/* Mobile view: stack containers vertically */
@media (max-width: 480px) {
    .body_container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "catalog"
            "update";
    }

    /* Optional: reduce left-right padding on mobile */
    .product_catalog_container,
    .updates {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Make boxes fit small screens */
    .curved-box,
    .curved-box-desc,
    .curved-box-announcement,
    .curved-box-availability {
        width: 100%;
        height: auto;
        max-height: none;
    }

    /* Search box width fix on mobile */
    #searchBox {
        width: 100%;
    }

    .search-container {
        flex-direction: column;
        gap: 8px;
    }
}