* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*
* -- BASE STYLES --
*/
body {
  line-height: 1.7em;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 300;
  color: #0a0a0a;
  font-size: 18px;
  overflow: scroll;
}

/* Simple styling for demonstration */
.hidden-form { display: none; }
.form-container { margin-top: 20px; }

h2

h1,
h2,
h3,
h4,
h5,
h6,
label {
  color: #0a0a0a;
}

.flex-m {
  flex-grow: 1;
  padding-left: 40px;
  padding-right: 40px;
  height: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  
}
.flex-m2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  align-content: center;
  flex-wrap: wrap;
  
}

.flex-item {
 float: right;
}

strong{
  font-weight: bold;
}
.helptext ul {
  list-style-type: none;
  padding: 0;
}

.contain{
    margin-left: auto;
    margin-right: auto;
    max-width: 460px;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 44px;
    margin-top: 40px;
}

.contain-wide{
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding-left: 1em;
  padding-right: 1em;
  margin-bottom: 74px;
}
.contain-wider{
  margin-left: auto;
  margin-right: auto;
  max-width: 2000px;
  padding-left: 1em;
  padding-right: 1em;
  margin-bottom: 74px;
}

.contain-wide p{
  margin-top: 8px;
  margin-bottom: 6px;
}

.pure-img-responsive {
  max-width: 100%;
  height: auto;
}

#scanner-container > video{
width: 100%;
height: 100%;
}
#scanner-container > canvas.drawing, canvas.drawingBuffer {
position: absolute;
left: 0;
width: 100%;
height: 100%;
}

/*
* -- LAYOUT STYLES --
*/
.l-box {
   
  animation: fadeInAnimation ease 0.3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  padding: 1em;
}



@keyframes fadeOutAnimation {
  0% {
      opacity: 1;
  }
  100% {
      opacity: 0;
   }
}

@keyframes fadeInAnimation {
  0% {
      opacity: 0.1;
  }
  100% {
      opacity: 1;
   }
}

.p-box {
  margin-bottom: 1em;
  padding: 0.3em;
  display: flex;
  justify-content: space-evenly;
}

.l-box-lrg {
  padding: 2em;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
  text-align: center;
}


/*
* -- FORM STYLES --
*/
.pure-form label {
  margin: 1em 0 0;
  font-weight: normal;
  font-size: 18px;
  margin-bottom: 12px;
}

.pure-form input[type='radio'] {
  border: 1px solid #C8C8C8;
  border-radius: 0;
  box-shadow: none;
  font-size: 100%;
  margin-bottom:16px;
}

.pure-form input[type='password'] {
  border: 1px solid #C8C8C8;
  height: 45px;
  border-radius: 0;
  box-shadow: none;
  font-size: 100%;
  width: 100%;
  margin-bottom:16px;
}
.pure-form input[type='email'] {
  border: 1px solid #C8C8C8;
  height: 45px;
  border-radius: 0;
  box-shadow: none;
  font-size: 100%;
  width: 100%;
  margin-bottom:16px;
}

.pure-form input[type='text'] {
  border: 1px solid #C8C8C8;
  height: 45px;
  border-radius: 0;
  box-shadow: none;
  font-size: 100%;
  width: 100%;
  margin-bottom:16px;
}

.pure-form select{
  border: 1px solid #C8C8C8;
  height: 60px;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 1em;
}

.pure-form input[type]:focus, .pure-form select:focus{
  border-color: #333333;
}

::placeholder{
  color: #B4B4B4;
}

/*
* -- BUTTON STYLES --
*/
.pure-button {
  background-color: #333333;
  border-radius: 0;
  color: white!important;
  padding: 0.8em 1.4em;
  margin: 5px;
  min-height: 44px;
  font-size: 16px;
  text-transform: capitalize;
  border: none;
  border-radius: 4px;
  transition: background-color .2s  cubic-bezier(.4,0,.6,1);
}
.switchButtons input:checked + .pure-button {
  background-color: #83ba2f;
}
.switchButtons input:not(:checked) + .pure-button {
  background-color: #333333;
}
.switchButtons input { display: none; }

.switchButtons {
  display: inline;
}

.card-effect input:checked + .pure-button {
  background-color: #83ba2f !important;
}
.card-effect input:not(:checked) + .pure-button {
  background-color: #333333;
}

.dropbtn {
  border: none;
  cursor: pointer;
  user-select: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: max-content;
  right: 0;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
#cat-input:focus {
  background-color: #83ba2f;
}
/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}



/* The sidebar menu */
.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 11em; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  border-right: 1px solid hsl(240, 1%, 85%);
  background-color: #f1f1f1; /* Black */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 100px;
  padding-left: 6px;
  padding-bottom: 100px;
  
}

/* The navigation menu links */
.sidenav input {
  width: 90%;
  text-decoration: none;
  color: #818181;
  display: block;
}

/* When you mouse over the navigation links, change their color */


/* Style page content */
.main {
  margin-left: 11em; /* Same as the width of the sidebar */
  padding: 0px 10px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav input {font-size: 18px;}
 
}

@media screen and (max-width: 640px) {
  .flex-m {
    padding-left: 0px;
    padding-right: 0px;
    
  }
}


#inventory-search-input, #moduleSearch {
  background-image: url('/css/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 100%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

.switchButtons label {
  
  width: auto;
  padding: 0.8em 1em;
  margin: 5px !important;
  min-height: 44px;
  font-size: 16px;
  text-transform: capitalize;
  border: none;
  border-radius: 4px;
}

.pure-button:hover {
  background-color: #4a4a4a;
}

a.pure-button-primary {
  background: white;
  color: #83ba2f;
  border-radius: 5px;
  font-size: 120%;

}

.right{
  float: right;
}

/*
* -- MENU STYLES --
*/

.home-menu {
  padding: 0.5em;
  background: #f1f1f1;
  min-height: 100px;
  text-align: left !important;
  border-bottom: 1px solid hsl(240, 1%, 85%);;
}

.home-menu ul {
  margin-top: 8px;
}

.pure-menu.pure-menu-fixed {
  z-index: 4;
}

.home-menu .tsn-logo {
  width: 165px;
    margin-left: 8px;
    margin-bottom: -14px;
    margin-top: -2px;
    order: 1;
}

.home-menu .pure-menu-selected a {
  color: #0a0a0a;
  
}

.home-menu a {
  color: #0a0a0a;
  transition: all .1s  cubic-bezier(.4,0,.6,1);
}
.home-menu li a:hover,
.home-menu li a:focus {
  background: none;
  background-color: #4a4a4a;
  border-radius: 0;
  color: white!important;
  border: none;
  border-radius: 4px;
  
}

.pure-menu-item{
  text-transform: uppercase;
  font-size: 16px;
}


/*
* -- CONTENT STYLES --
*/
.content-wrapper {
  /* These styles are required for the "scroll-over" effect */
  position: absolute;
  top: 76px;
  width: 100%;
  min-height: 12%;
  z-index: 2;
  background: white;
  padding-bottom: 100px; /* Add padding for footer */
}

.content {
  padding: 1em 1em 3em;
}

.content-head {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2em 0 1em;
}



.content-subhead {
  display: flex;
  font-size: 24px;
  margin: 4px 0px;
  align-items: center;
  justify-content: left;
}

.center_text {
  justify-content: center !important;
}

.font-24-align {
  font-size: 22px;
  padding: 10px;
  min-height: auto !important;
  vertical-align: middle;
  text-align: center;
}
.list-buttons {
  display: flex;
  flex-wrap: wrap;
  font-size: 18px;
  width: 350px;
  margin: 4px 0px;
  align-items: center;
  justify-content: flex-start;
}
.same-size-buttons {
  width: 100%;
}

/* generic */
.success-text--banner{
 font-size: 14px;
 background: #88c559;
}

.error-text--banner{
  font-size: 14px;
  background: #f2baba;
}

.warning-text--banner{
  font-size: 14px;
  background: #FFBE33;
}

.errorlist{
  background: #f2baba;
  font-size: 14px;
  text-align: left;
}

/* Login page */
.tsn-login {
  background: transparent;
  text-align: center;
  top: 0 !important;
}

.login-form {
  padding-bottom: 3em;
}

.login-form .tsn-logo{
  width: 160px;
}

.login-form .content-subhead{
  margin-bottom: 34px;
}

.login-form label{
  text-align: left;
}

.login-form--link{
  float: right;
  margin-top: 12px;
}

.login-form form button{
  margin-top: 5px;
 
}

/* Style the label and checkbox using their IDs */
#id_token-remember {
  /* CSS rules for the checkbox */
  display: inline-block;
  vertical-align: middle;
  /* Add any other checkbox styling you need */
}

label[for="id_token-remember"] {
  /* CSS rules for the label associated with the checkbox */
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px; /* Add some space between the label and checkbox */
  /* Add any other label styling you need */
}

.home-link-animate {
  animation: fadeInAnimation ease 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

html{scroll-behavior:smooth}

.anchor{display: block; position: relative; top: -100px; }

/* Search Results */
.back-link{
 padding-bottom: 0;
}

.back-link a{
  color: #83ba2f;
}

.info-block{
  margin-bottom: 32px;
}
.list-heading{
  margin-bottom: 0px;
}
.list-attributes{
  margin-top: 6px;
}
.list-attributes li{
  font-size: 16px;
}

/* Footer */
.footer {
  background:#F1F1F1;
  padding: 1em;
  position: fixed;
  bottom: 0;
  width: 100%;
  color: #282B2D;
  z-index: 2;
  font-size: 16px;
  border-top: 1px solid hsl(240, 1%, 85%);
}


/*
* -- TABLET (AND UP) MEDIA QUERIES --
*/
@media (min-width: 48em) {

  .home-menu {
      text-align: left;
  }
      .home-menu ul {
          margin-top: 8px;
      }

}


/*
* -- DESKTOP specific (AND UP) MEDIA QUERIES --
*/
@media (min-width: 78em) {
  .download-invoice{
    margin-right: 32px;
  }
  
}


/*
* -- image gallery
*/

.img-link {
  text-decoration: none;
  color: black;
}

.module-image {
  width: 95%;
  height: auto;
  transition: box-shadow .2s  cubic-bezier(.4,0,.6,1);
}

.module-image:hover , .module-image:active {
  box-shadow: 0px 0px 10px 2px #4a4a4a;
}
.custom-grid { 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 20px;
  padding-bottom: 2em;
  padding-top: 2em;
  justify-items: center;
  }
.module-img-grid img {
  width: 100%; /* Ensure the image fits the width of the container */
  height: 150px; /* Set a fixed height for the image */
  object-fit: cover; /* Ensure the image covers the area while maintaining aspect ratio */
  display: block; /* Remove inline spacing issues */
}

.box-img-grid img {
  width: 230px;
  height: auto;
  
}

.mod-img {
  position: inherit;
  min-height: 299px;
  min-width: 192px;
  max-width: 384px;
}
.custom-grid button {
  width: 250px;
  height: auto;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  border: transparent;
}

.custom-grid div {
  width: auto;
  height: auto;
}

.custom-grid .card:hover, .custom-grid .card:active, .mod-img:hover, .mod-img:active {
  box-shadow: 0px 0px 10px 2px #4a4a4a;
  cursor: pointer;
  
}
.box-label {
  position: relative!important;
  right: auto !important;
}
.link_inherit{
  color: inherit;
}

.img-holder {
  position: relative;
  min-height: inherit;
  min-width: 250px;
  max-width: 250px;
}
.img-holder span {
  position: absolute;
  right: 50px;
  bottom: 80%;
  font-size: larger;
}

.contain-flex {
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  justify-content: space-evenly;
}

/* Tooltip container */
.tooltip {
  position: relative;
  width: 250px;
 /* border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

.tooltip-box-img {
  margin: 5px;
  position: relative;
 /* border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
  bottom: 90%;
  left: 50%;
  margin-left: -60px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  text-shadow: none!important;
  opacity: 0;
  transition: all 0.2s ease-out;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}



.tooltip:hover  .tooltiptext {
  visibility: visible;
  opacity: 1;
  
}

.hover-pointer {
  cursor: pointer;
}

tr.thick-border {
  border-top: 5px solid black;
}
.shortcolumn {
  width: 4%;
  font-size: 16px !important;
  
}

.row-center {
  text-align: center;
}
.medcolumn {
  width: 11%;
  font-size: 16px !important;
}
.desccolumn {
  font-size: 16px !important;
}

.medcolumn2 {
  width: 16%;
  font-size: 16px !important;
}

.def-table {
  width: 100%;
  font-size: 14px;
  margin-bottom: 80px;
 }

 .def-table  td {
  border-right: 1px solid #787878;
 }

 .def-table  th {
  -webkit-text-fill-color: #fff;
  fill: #fff;
  margin-left: 6px;
  margin-right: 6px;
  
  z-index: 100;
 }
 .rowx {

    overflow: hidden;
    -webkit-transition: max-height 1.5s cubic-bezier(0, 1.05, 0, 1);
    -moz-transition: max-height 1.5s cubic-bezier(0, 1.05, 0, 1);
    transition: max-height 2s ease cubic-bezier(0, 1.05, 0, 1);
    max-height: 38px ;
  }

  .hover:hover > .rowxx > .rowx {
   transition: max-height 3s ease;
    max-height: 400px;
    overflow: auto;
  }

  .top-row-table {
    pointer-events: none;
  }

.table-header {
  background-color: #4a4a4a !important;
  color: #fff!important;
  font-size: 16px !important;
}

.hover:hover {
  background-color: lightgray !important;
 
}
.def-table tr:nth-child(even) {background-color: #f2f2f2;}

.flex-table{  
  table-layout:fixed;
  width: 100%;
}

.larger {
  width: 50%;
  height: 50%;
}

.glow-button {
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* Initial style for the glowing effect */
.glowing {
  animation: glow 1s infinite alternate;
}

@keyframes glow {
  from {
      box-shadow: 0 0 10px #83ba2f;
  }
  to {
      box-shadow: 0 0 20px #83ba2f;
  }
}

.username-item {
  padding: .5em 1em;
}

.no-decor:hover {
  text-shadow: 0px 0px 5px #83ba2f;
}

.no-decor {
  text-decoration: none;
  color: inherit;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 100px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #333; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  transition: all 0.2s ease-out;
}

#myBtn:hover {
  transition: all 0.2s ease-out;
  background-color: #83ba2f; /* Add a dark-grey background on hover */
}

.card-effect
{
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  background-color: #F1F1F1;
  transition: 0.3s;
  margin: 10px;
  width: 95%;
  padding: 2px 16px;
}



textarea {
  resize: none;
}
.matrix-descr {
  margin-top: 35px !important;
}
.matrix-descr textarea {
  width: 100%;
}
.card-effect:hover
{
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.card {
  transition: box-shadow .2s  cubic-bezier(.4,0,.6,1);
    background: white;
    width: 300px;
    display: inline-block;
    margin: auto;
    border-radius:  19px;
    position: relative;
    text-align: center;
    box-shadow:
  0px 0px 1.2px -9px rgba(0, 0, 0, 0.045),
  0px 0px 2.8px -9px rgba(0, 0, 0, 0.065),
  0px 0px 5.3px -9px rgba(0, 0, 0, 0.08),
  0px 0px 9.4px -9px rgba(0, 0, 0, 0.095),
  0px 0px 17.5px -9px rgba(0, 0, 0, 0.115),
  0px 0px 42px -9px rgba(0, 0, 0, 0.16)
;
    z-index: 9999;
    padding-top: 1em;
    
  }

  .card-level {
    text-transform: capitalize;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
    margin-top: auto; /* Push the text to align consistently at the bottom of the image area */
    text-align: center;
    
  }

  .card-label-name {
    font-size: 20px;
    color: black;
    font-weight: 700;
    margin-bottom: 5px;
    padding: 1em;
    
  }

.card-unit-stats {
  height: 80px; /* Set a fixed height for the stats section */
  color: white;
  background: #333333;
  font-weight: 700;
  border-bottom-left-radius: 19px;
  border-bottom-right-radius: 19px;
  padding: 1em;
  width: 100%;
  text-align: center;
}

.card-level.card-label-name {
  height: 70px; /* Set a fixed height for the label section */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  font-size: 16px;
}
    
    
    .stat {
      position: relative;
      font-size: 24px;
      margin-bottom: 5px;
    }
    
    .stat-value {
      text-transform: uppercase;
      font-weight: 400;
      font-size: 12px;
    }
  
    .no-border {
      border-right: none;
    }

    .no-top-padding{
      padding-top: 0px !important;
    }

    .space {
      padding: 1em;
    }

    .border-r {
      border-right: 1px solid #f1f1f1 !important;
    }

    .sticky {
      position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 100px;
    }

    ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
      color: #333333;
      opacity: 1; /* Firefox */
      }

    /*File drop area*/

    #file-drop-area {
      height: 200px;
      width: 100%;
      border: 2px dashed #ccc;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .drag-over {
      border-color: #000 ;
    }

    #loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.8); /* Adjust background as needed */
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999; /* Ensure overlay is on top */
  }
  
  .loading-content {
      flex-direction: column; /* Stack items vertically */
      align-items: center;    /* Center items horizontally */
      justify-content: center;
  }
  
  .spinner {
      /* Style your spinner */
      width: 60px;
      height: 60px;
      border: 5px solid #ccc;
      border-top-color: #333;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      justify-content: center;
      ;
      align-items: center;
  }
  
  .loading-text {
      margin-top: 10px;
      font-size: 1.2em;
      color: #333;
      justify-content: center;
  }
  
  /* Spinner animation */
  @keyframes spin {
      to { transform: rotate(360deg); }
  }

  /* Toast Styling */
.toast {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #83ba2f;
  color: #222222;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Show Toast */
.toast.show {
  opacity: 1;
  visibility: visible;
}

.custom-grid .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px; /* Set a fixed height for all cards */
  box-sizing: border-box;
  overflow: hidden; /* Prevent content overflow */
}

.module-img-grid img {
  width: 100%; /* Ensure the image fills the width of the container */
  height: 150px; /* Set a fixed height for the image */
  object-fit: cover; /* Ensure the image covers the area while maintaining aspect ratio */
  display: block; /* Remove inline spacing issues */
}

.card-level.card-label-name {
  height: 70px; /* Set a fixed height for the label section */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  font-size: 19px;
}

.card-unit-stats {
  height: 80px; /* Set a fixed height for the stats section */
  color: white;
  background: #333333;
  font-weight: 700;
  border-bottom-left-radius: 19px;
  border-bottom-right-radius: 19px;
  padding: 1em;
  width: 100%;
  text-align: center;
}

/* Dashboard Layout */
.dashboard-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    padding-bottom: 120px; /* Increased padding at bottom */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dashboard-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Card Styling */
.search-card, .browser-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-card:hover, .browser-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Form Styling */
.modern-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.modern-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    margin-bottom: 1rem;
}

.modern-input:focus {
    border-color: #83ba2f;
    outline: none;
}

/* Button Styles */
.modern-button, .browse-button {
    background-color: #4a4a4a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.modern-button:hover, .browse-button:hover {
    background-color: #83ba2f;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .search-card, .browser-card {
        padding: 20px;
    }

    .button-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (min-width: 768px) {
  .content-wrapper {
    padding-bottom: 120px; /* Larger padding on bigger screens */
  }
  
  .dashboard-container {
    padding-bottom: 140px; /* Even more padding for dashboard on bigger screens */
  }
}