/* =======================================================
* Project Name: Highlands Asset Management
* Project URL: https://highlands.afribrainy.com/
* Author: Silvanux | Afribrainy | FinestUx
* License: GNU/
======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap');

:root {
  --blue:#0090BD;
  --gray: #EBEBEB; 
  --gold: rgb(244, 193, 115);
  --tint: #e0e0e0;
  --plcd: #bcbcbc;
  --tint_blue:#30acd2;
  --v_thin_blue: #a9e6f9;
}

::-webkit-scrollbar {
  display: none;
}

html {
  overflow:auto;
  scrollbar-width:none;
  overflow-x:hidden;
  overflow-y: scroll;
  font-size:clamp(6px, 6vw, 13px);
}

* {
  box-sizing:border-box;
  margin:0;
}

h1 {
  font-size:clamp(6px, 6vw, 18px);
  padding-top: .5rem;
  padding-bottom: .5rem;
}

p {
  font-size:clamp(6px, 6vw, 13px);
}

a:-webkit-any-link {
  color: -webkit-link;
  cursor: pointer;
  text-decoration: none;
}

img {
  bottom:0;
}

body {
  background-color:#eee;
  overflow-x:hidden;
  line-height:1.3;
  background-repeat:repeat;
  background-size:auto;
  max-width:100%;
  font-family: 'Inter', sans-serif;
}
  
.container {
  max-width:1080px;
  margin:0 auto;
  overflow:auto;
  padding:0;
  margin:0 auto;
  overflow:auto;
  box-shadow:0 0 6px rgba(0,0,0,.5);
  background-color:var(--gray);
  overflow-x:hidden;
}

.upper_strip {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--blue);
  color: white;
  height: 65px;
}

.left_logo {
  padding: 20px;
}

.left_logo a:hover {
  color: #0090BD;
}

.menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.navigation {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

.navigation p:hover {
  color: yellow;
}

.navigation a {
  color: var(--gray);
  text-decoration: none;
  padding: 5px;
}

.navigation a:hover {
  color: var(--gold);
}

.user_pic img {
  width: 45px;
  color: #EBEBEB;
  border-radius: 50px;
  border: solid 1.5px  var(--gray);
}

  /* Scroll to Top Button Styles 
  .scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Hidden by default 
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.scrollToTopBtn:hover {
    background-color: var(--blue);
}  */

button {
  display:inline-block;
  padding:5px 20px;
  margin:20px;
  background-color:transparent;
  color: white;
  outline:var(--white);
  border-radius:15px;
  border-style:solid;
  border-width:1.3px;
  text-decoration: none;
  border-color:var(--white)}
  
  button:hover {
  transform:scale(.95)}

  button p {
    color: white;
  }

input {
  display:inline-block;
  padding:5px 20px;
  background-color:transparent;
  color: black;
  outline:var(--tint_blue);
  border-radius:15px;
  border-style:solid;
  border-width:1.3px;
  text-decoration: none;
  border-color:var(--tint_blue)}

  .search-text {
    color: black;
    border-color: var(--tint_blue);
  }

  label {
    display:inline-block;
    padding:5px 20px;
    background-color:transparent;
    color:transparent;
    outline:var(--white);
    border-radius:15px;
    border-style:solid;
    border-width:1.3px;
    text-decoration: none;
    border-color:var(--white)}

    .controls {
      display:inline-block;
      padding:5px 20px;
      background-color:transparent;
      color: var(--plcd);
      outline:var(--tint_blue);
      border-radius:15px;
      border-style:solid;
      border-width:1.3px;
      text-decoration: none;
      border-color:var(--tint_blue)}

  ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--plcd);
    opacity: 1; /* Firefox */
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--plcd);
  }
  
  ::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--plcd);
  }
  
/* BODY */
.body_strip {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
}

.left_body {
  display: flex;
  flex-direction: column;
  width: 30%;
  align-items: center;
  border: 0.5px solid var(--blue);
  padding: 5px;
  border-radius: 7px;
  box-shadow:0 0 6px rgba(0,0,0,.3);
  background-color: white;
}

.down_quick {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    margin: clamp(5px,4vw,15px);
    gap: clamp(5px,4vw,10px);
    width: 100%;
}

.down_table {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  overflow-y: scroll;
  height: 100%;
}

.responsive-scrollable {
  width: 100%;
  height: 700px;  /* Set a fixed height to enable scrolling */
  overflow-y: scroll; /* Always show vertical scrollbar */
  overflow-x: hidden; /* Disable horizontal scrolling */
  border: 1px solid #ccc;
  padding: 0px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Target the specific div and ensure the scrollbar is visible */
.responsive-scrollable::-webkit-scrollbar {
  display: block; /* Ensure the scrollbar is displayed */
  width: 5px; /* Width of the vertical scrollbar */
}

/* Optional: Customize the scrollbar track and thumb */
.responsive-scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.responsive-scrollable::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 2px;
}

.responsive-scrollable::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* 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: rgb(70, 160, 255); /* 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 */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

/* Scroll Table */

.table_scroll {
  overflow: scroll;
}

/* end of scroll table */

table {
  border-collapse: collapse;
  margin: 0;
  width: 100%;
/*  box-shadow: 0 0 5px rgba(0,0,0,.3); */
}

table tr {
  padding: .45em;
}

tbody tr:nth-child(odd) {
  background-color: #d7eff6;
  border: 0.9px solid #6bb8d0;
}

table th, table td {
  padding: 1em;
  text-align: center;
}

/* Table features added on 31 Dec, 2024 */

table th {
  background-color: #09a3d2;
  color: white;
  font-weight: bold;
  position: sticky;
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table tr:hover {
  background-color: #c6ebff;
}

/* Alternating cell colors */
table td:nth-child(odd) {
  background-color: #def1fe; /* Light background for odd cells */
}

table td:nth-child(even) {
  background-color: #ffffff; /* Slightly darker background for even cells */
}

table td {
  font-size: 14px;
  color: #000000;
}

/* End of Table Features */

.register, .stationary, .moving, .depreciated, .reports, .update {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.register img:hover, .stationary img:hover, .moving img:hover, .depreciated img:hover, .reports img:hover, .update img:hover {
  transform: scale(0.9);
}

.material-icons.md-20 {
  font-size: 20px;
  margin-bottom: 3px;
  margin-top: 3px;
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.left_body h1:hover {
  color: var(--blue);
}

.middle_body {
    display: flex;
    flex-direction: column;
    width: 30%;
    align-items: center;
    border: 0.5px solid var(--blue);
    padding: 5px;
    border-radius: 7px;
    box-shadow:0 0 6px rgba(0,0,0,.3);
    background-color: white;
}

.right_body {
  display: flex;
  flex-direction: column;
  width: 30%;
  align-items: center;
  border: 0.5px solid var(--blue);
  padding: 5px;
  border-radius: 7px;
  box-shadow:0 0 6px rgba(0,0,0,.3);
  background-color: white;
}

.footer_strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--blue);
  color: var(--gray);
  height: 35px;
}

.left_footer {
  padding: 20px;
  font-size:clamp(6px, 6vw, 10px);
}

.left_footer a {
  color: var(--gray);
  text-decoration: none;
}

.left_footer a:hover {
  color: var(--gold);
}

.right_footer {
  padding: 20px;
  font-size:clamp(5px, 5vw, 10px);
}

.right_footer a {
  color: var(--gray);
  text-decoration: none;
}

.right_footer a:hover {
  color: var(--gold);
}

/* login form */
.login_body {
  background-color: var(--v_thin_blue);
  height: 100vh;
}

.login_body h1, h3 {
  padding-top: 20px;
  padding-bottom: 10px;
}

.login_text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.enter_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--tint_blue);
  padding: 20px;
  color: var(--gray);
}

.screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--blue);
  width: 40%;
  padding: 10px;
  border-radius: 15px;
  margin: 40px;
}

.new_user {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.left_user {
  display: flex;
  width: 50%;
}
.right_user {
  display: flex;
  width: 50%;
}

.exp {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.right_float {
  width: 100%;
}

.down_table button, dropbtn {
  display:inline-block;
  padding:5px 20px;
  margin:20px;
  background-color:transparent;
  color: rgb(56, 11, 11);
  outline:var(--blue);
  border-radius:15px;
  border-style:solid;
  border-width:1.3px;
  text-decoration: none;
  border-color:var(--blue)}
  
  thebtn:hover {
  transform:scale(.95)}

  thebtn p {
    color: var(--blue);
  }



@media only screen and (max-width: 350px) and (min-width: 20px) { 
 
  .down_quick img {
    width: 30px;
  }
  
}

/*  TABLE STYLE */

/*  RESPONSIVE  */

@media only screen and (max-width: 500px) and (min-width: 20px) { 

/* BODY */
.body_strip {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
}

.left_body {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  border: 0.5px solid var(--blue);
  padding: 5px;
  border-radius: 7px;
  box-shadow:0 0 6px rgba(0,0,0,.3);
}

.middle_body {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  border: 0.5px solid var(--blue);
  padding: 5px;
  border-radius: 7px;
  box-shadow:0 0 6px rgba(0,0,0,.3);
}

.right_body {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  border: 0.5px solid var(--blue);
  padding: 5px;
  border-radius: 7px;
  box-shadow:0 0 6px rgba(0,0,0,.3);
}

.screen {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer_strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: var(--blue);
  color: var(--gray);
  height: auto;
}

@media only screen and (max-width: 740px) and (min-width: 20px) { 
  table thead tr {
    display: none;
  }

  table tr {
    display: block;
  }

  table th, table td {
    padding: .5em;
  }

  table td {
    text-align: right;
    display: block;
  }

  table td::before{
    content: attr(data-title) ": ";
    float: left;
  }

  tbody tr:nth-child(odd){
    background-color: var(--tint);
  }
}

}

@media all and (max-width: 458px) {
  .ficha, .user_pic {display:none;}

  #myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 8px; /* Place the button at the bottom of the page */
    right: 8px; /* 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: rgb(70, 166, 255); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 16px; /* Increase font size */
  }
}



