/****************Global*************/
:root{
    --blueprimary: #035aa6;
    --redprimary: #dc1e5a;
    --greymain: #efefef;
    --orangeprimary: orange;
    --greenhover: #47a300;
    --borderradious: 6px;
    --grey: grey;
}

html, body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
}

.blank{
    padding-left: 20px;
}
/****************************/

header{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 11%;
    background-color: var(--greymain);
}

.upperbar{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 60%;
    background-color: var(--blueprimary);  
}

.upperbar img{
    width: 7%;
    padding-left: 5%;
}

.topnav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 40%;
    padding-left: 5%;
    padding-right: 5%;
    color: black;
    font-size: 0.9rem; 
}

.topuserid{
    justify-content: flex-start;
    font-weight: 500;
}

.topbtns{
    justify-content: flex-end;
}

.topbtn{
    display: inline-block;
    cursor: pointer;
    color: black;
    text-decoration: none;
    padding: 3px 15px;
    border-radius: 6px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.logoutbtn {
    background-image: url('../../img/logout.svg');
    background-position: calc(100% - 4px) center; 
    background-repeat: no-repeat; 
    background-size: 15px 15px;
    padding-right: 22px;
}

.logoutbtn:hover {
    background-image: url('../../img/logoutwhite.svg');
}

.topbtn:hover{
    background-color: var(--blueprimary);
    color: white;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom: none;
}

.saveexit{
    height: 18px;
    width: 18px;
    background-image: url('../../img/return.svg');
    background-size: 18px;
    background-repeat: no-repeat;
    margin: 0; 
    border: none;
    align-self: center;
    padding-top: 2px;
    cursor: pointer;
}

.saveexit:hover{
    background-image: url('../../img/returnred.svg');
    transform: scale(1.05);
    transition: 0.2s;
}

.saveexit:active{
    transform: scale(0.95);
    transition: 0.1s;
}

/****************************/

footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 3%;
    position: fixed;
    bottom: 0;
}

.bottomnav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding-left: 5%;
    padding-right: 5%;
    background-color: var(--blueprimary);
    color: white; 
    font-size: 0.8rem;
}

.rights{
    justify-content: flex-start;
}

.whatsapp{
    justify-content: flex-end;
}

/****************************/

@media only screen and (max-width: 600px) {
    .upperbar img{
        width: 20%;
        padding-left: 5%;
    }

    .rights {
      display: none; /* Hide the rights div */
    }
    
    .whatsapp {
      justify-content: center; /* Center the elements */
      width: 100%; /* Make the whatsapp div take full width */
      text-align: center;
    }
  }

  /*****************************************/
  /* Styles the entire scrollbar */
::-webkit-scrollbar {
    width: 15px; /* Adjust width for vertical scrollbar */
    height: 12px; /* Adjust height for horizontal scrollbar */
}

/* Styles the track (background) of the scrollbar */
::-webkit-scrollbar-track {
    background: #efefef; /* Light background color for the track */
    border-radius: 10px;
}

/* Styles the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background-color: #035aa6; /* Blue color for the thumb */
    border-radius: 10px; /* Rounded edges */
    border: 3px solid #efefef; /* Adds padding around the thumb */
}

/* Optional: Hover effect for the scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
    background-color: #034b8a; /* Darker shade on hover */
}

/*Search Panel*/

.searchpanel{
    position: absolute;
    right: 1%;
    color: white;
}

.searchpanel input{
    border-radius: 6px;
    padding: 4px;
    text-align: center;
    border: none;
}

.searchpanel button{
    border-radius: 6px;
    padding: 4px 10px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.searchpanel button:hover{
    background-color: #efefef;
    transform: scale(1.01);
    transition: 0.3s;
}

.searchpanel button:active{
    transition: 0.3s;
    transform: scale(0.9);
}