header h4
{
    font-family: 'Arial', sans-serif; /* Replace with desired font */
    font-size: 15pt; /* Adjust size */
    font-weight: 700; /* Bold */
    color: #343a40; /* Dark gray for better readability */
    margin: 0;
    
}

header {
    background-color: #f2f2f5; /* Light gray */
}

.navbar {
    font-weight: 500; /* Slightly bold text */
}
/* Style for dropdown menus */

  .dropdown-submenu {
    position: relative;
  }
  
  .dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: -0.1rem;
    border-radius: 0.5rem;
  }
  
  .dropdown-submenu:hover .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu {
    transition: all 0.3s ease-in-out;
  }

.dropdown .dropdown-menu
{
  display: none;
}

.dropdown:hover > .dropdown-menu, .dropend:hover > .dropdown-menu{
  display: block;
  margin-top: .125em;
 
}
.dropend:hover > .dropdown-menu
{
  position:absolute;
  top: 0;
  left: 100%;
  margin-left: .125em;
}

.dropdown-menu .dropdown-item:hover
{
  /* background-color: rgb(0, 140, 255); */
  background-color: black;
  color: white;
}


#container
{
  height: fit-content;
  width: 100%;
  

}

.img-container
{
    width: fit-content;
    
}

.notification-container
{
    width: 50%;
    padding:20px 40px
}

.container #map{
    margin-top: 20px;
    width: 100%;
    height: 600px;

}
.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-10px); /* Moves the card up slightly */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Adds shadow */
}

.hover-card img {
  transition: transform 0.3s ease;
}

.hover-card:hover img {
  transform: scale(1.00); /* Slightly zooms the image */
}



#footer
{
    margin-top: 400px;
    background-image: linear-gradient(to right,rgb(7, 7, 7),rgba(25, 25, 25, 0.918));
    color: #fff;
    min-width: none;
    
}

#footer h6 
{
    margin-bottom: 10px;
}
#footer .row p
{
    font-size: 10pt;
    text-align: left;
    
    
}

#footer .row p a
{
    font-size: 10pt;
    text-align: left;
    text-decoration: none;
    color: #fff;
}

#table-container
{
  height: 100%;
  padding-bottom: 100px;

}

table #Normal
{
  background-color: white;
  color: black;
}

table #Warning
{
  background-color:yellow;
  color: black;
}

table #Heavy
{
  background-color:darkorange;
  color: white;
}

table #Danger
{
  background-color:red;
  color: white;
}


table th
{
  
  text-align: center;
  font-size: small;
  font-weight: 500;
  text-transform: uppercase;
  vertical-align: middle;
  
}

table td
{
  text-align: center;
  
}

table td #graphlink
{
  text-decoration: none;
  text-align: center;
}

#lastupdate
{
  font-size: 10pt;
  font-weight: 400;
}

.pagination .page-item #prev{
  background-color: #5e6266;
  color: white;
}
.pagination .page-item #next{
  background-color: #5e6266;
  color: white;
}
.pagination .page-item .page-link{
  text-decoration: none;
  color: black;
}


.login
{
   
    align-items: center;


}

.text
{
    position: absolute;
    top: 90%;
    left: 40%;
    transform: translate(-50%,-50%);
}

.text p{
    color: #fff;
    font-size: 18px;
}

.right
{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.input-box
{
    width: 330px;
    box-sizing: border-box;
}

.input-box header
{
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}


.input-field
{
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0 10px 0 10px;
}

.input
{
    height: 45px;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    outline: none;
    margin-bottom: 20px;
    color: #40414a;
}

.input-box .input-field label
{
    position: absolute;
    top: 10px;
    left: 10px;
    pointer-events: none;
    transition: .5s;
}

.input-field .input:focus ~ label
{
    top:-10px;
    font-size: 13px;
}

.input-field .input:valid ~ label
{
    top:-10px;
    font-size: 13px;
    color: #5d5076;
}

.input-field .input:focus, .input-field .input:valid
{
    border-bottom: 1px solid #743ae1;
}

.submit
{
  
    border: none;
    outline: none;
    height: 45px;
    background-color: rgb(19, 96, 191);
    color: #fff;
    opacity: 0.85;
    border-radius: 5px;
    transition: .4s;
}
.close
{
    
    border: none;
    outline: none;
    height: 45px;
    background-color: rgb(45, 52, 60);
    color: #fff;
    opacity: 0.85;
    border-radius: 5px;
    transition: .4s;
}

.submit:hover
{
    opacity: 1;
}

.close:hover
{
    opacity: 1;;
}

.input-group a
{
    text-decoration: none;
}

/* Graph Size */
.modal .modal-body .chart-container {
      height: 450px; /* Bigger height on desktop */
  }
#graph-container {
      height: 450px; /* Bigger height on desktop */
  }

/* Mobile View */
@media (max-width: 576px) {
    #container .container #map {
        height: 300px;
    }

    #station-data
    {
      margin-top: 60px;
    }
    #station-data b {
        font-size: 11px;
    }
    #station-data .row > div {
        margin-bottom: 4px;
    }
    .modal .modal-body .chart-container {
        height: 450px; /* Bigger height on desktop */
    }

    #graph-container {
      height: 550px; /* Bigger height on desktop */
    }

    #footer
    {
       display: none;
        
    }

    #container #table-container
    {
      height: 100%;
      padding: 20px;
    }

    header h4
    {
        font-size: 10pt; /* Adjust size */
       
        
    }

    header {
       background-color: #f2f2f5;; /* Light gray */
    }
    
      .logo-malaysia {
        width: 35px !important;
        height: 28px !important;
    }

    .logo-jps {
        width: 50px !important;
        height: 22px !important;
    }

    nav .navbar-brand {
      display: none;
    }

    .langnlogin button{
      font-size: 9pt;
    }
    .langnlogin  .dropdown-item{
      font-size: 9pt;
    }

    #username
    {
      font-size: 9pt;
    }

    #btn-login
    {
        font-size: 9pt;
    }
    
    /* nav .navbar-brand {
        display: none;
    } */

    .container table tr th
    {
      font-size: 9pt;
    }
    .container table tr td
    {
      font-size: 9pt;
    }
    .container table tr .btn
    {
      font-size: 9pt;
    }

    /* Table */
    .container table #coltitle,#coldate,#coldailyrf,#colhourlyrf,#colthreshold
    {
      display: none;
    }

    /* Threshold */
    .container table #Heavy,#Danger,#Normal,#Warning
    {
      display: none;
    }

    /* Station*/

    .container #stationcard,#collocation,#colbasin
    {
      display: none;
    }

    /* Station Management */
    .container #colemail,#usercard
    {
      display: none;
    }
}


