/* Nav2 styles */
.nav2 {
    position: fixed;
    top: 50px; /* Adjust this value based on your header height */
    left: 0;
    right: 0;
    background-color: var(--bg-color-2);
    padding: 7px 8px;
    z-index: 999;
     box-shadow: 0 2px 9px rgba(0, 0, 0, 0.7);
}

.category-section {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.category-dropdown {
    flex: 1;
}

.category-dropdown select {
    width: 100%;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    background-color: var(--bg-color-1);
    color: var(--text-color-1);
    font-size: 14px;
}

.search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex-grow: 1;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    background-color: var(--bg-color-1);
    color: var(--text-color-1);
    height: 30px;
}

.search-button {
    padding: 8px 15px;
    background-color: orange;
    color: black;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    height: 28px;
    line-height: 1;
}

.search-button:hover {
    opacity: 0.8;
}

.page-header {
    margin-top: 6px;
    font-size: 18px;
    color: var(--text-color-1);
}

/* Contents styles */


.contents {
    padding-top: 140px; /* Adjust this value based on your nav2 height */
    margin-top: 10px;
    margin-bottom: 60px;
}


.list-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.description {
  display: flex;
  width: 97%;
  margin: 1.5px;
   border-radius: 15px;
   background-color: var(--bg-color-1);
   //box-shadow: 0 4px 6px rgba(0,0,0,0.1);
   box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
   
}

.description:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

 .doc-img{
width: 85px;  /*distance b2wn image and description*/
//height: 90px;
}

 .doc-img img{
  width: 80px;
  height: 90px;
  margin: 2px 5px;
  padding: 1px;
  border-radius: 10px;
}

.doc-name{
  width: 100%;  /*this was 300px.100% moves buttons to the end and the become responsive*/
  padding: 4px 5px; 
  //height: 50px;
  //line-height: 15px;
}

.document-name{
  margin-top: 7px;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  line-height: 11px;
  color: var(--text-color-1);
}

.details{
   font-size: 13px;  
    font-weight: 500;
     color: var(--text-color-1);
    line-height: 15px;

  }

  span.variable-name{
  color: var(--text-color-1);
}

span.variable-value{
  color: var(--blue-text);
}

span.variable-value2{
  color: darkorange;
  font-weight: bold;
}




.no-documents-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 16px;
    color: var(--text-color-1);
    margin-top: 20px;
}

.no-documents-message i {
    font-size: 120px;
    background: linear-gradient(45deg, var(--orange), var(--bg-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
    text-shadow: 0 0 0px rgba(255, 77, 77, 0.5);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.no-msg-text {
    font-size: 20px;
    color: var(--text-color-1);
    font-weight: bold;
    margin-top: 50px;
}