html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
 h2 {
      color: #2C6094;
    }
.main-content {
  flex: 1 0 auto;
}

/* body > *:not(footer):not(.main-content) {
  flex: 1 0 auto;
} */

footer {
  margin-top: auto;
}

/* Splash Screen */
#splashScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #2C6094;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#splashScreen img {
  height: 120px;
  margin-bottom: 20px;
}

/* Sidebar */
.sidebar {
  height: 100vh;
  background-color: #2C6094;
  color: white;
  padding-top: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  z-index: 1000;
}

.sidebar a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
}

.sidebar a.active {
  background-color: #86B941;
  font-weight: bold;
}

.main-content {
  margin-left: 220px;
  padding: 20px;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.form-section {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow-x: auto;
}

.hidden {
  display: none;
}


@media (max-width: 768px) {
.sidebar {
display: none !important;
}

.main-content {
margin-left: 0;
padding-top: 20px;
}
}
#splashScreen {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #2C6094;
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px; 
}
a{
text-decoration: none;
}

/* employees pages */
.container{
    display: flex;
    justify-content: center;
    color: #ffffff;
      font-family: "Noto Kufi Arabic", sans-serif;
  font-optical-sizing: auto;
}
.content{
margin: auto;
}
.title h2{
    font-size: 15px;
    margin: 0;
    text-align: center;
}
.title p{
    font-size: 20px;
    text-align: center;
    width: 100%;
    margin-top: 0;
    font-weight: 700;

    
}
.screen img{
    width: 600px;
    height: 600px;
}
.screen {
    width: 100%;
    margin-top: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.screen .name{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
   font-family: "Noto Kufi Arabic", sans-serif;
  font-optical-sizing: auto;
font-weight: 700;
font-size: 20px;
}
@media (max-width:650px) {
    .screen img{
        width: 400px;
        height: 400px;
    }
    .screen .name{
        bottom: 40px;
    }
}
@media (max-width:450px) {
    .screen img{
        width: 250px;
        height: 250px;
    }
    .screen .name{
        bottom: 5px;
    }
}
.input{
    width: 100%;
    margin-top: 20px;
}
.input .placeholder{
    display: flex;
    justify-content: space-between;
    color: #1d55d7;
    background-color: #ffffff;
}
.input input{
    width: 100%;
    border: 1px solid #d5d5d5;
    padding: 10px 20px;
    border-radius: 5px;
    box-sizing: border-box;
}
.input button{
    background-color: #204F7D;
    color: white;
    width: 100%;
    margin-top:10px ;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}
#down{
     font-family: "Noto Kufi Arabic", sans-serif;
  font-optical-sizing: auto;
    font-weight: 600;
    margin-bottom: 30px;
}
.title{
    display: flex;
    flex-direction: column;
    align-items: center;
   
}
.title img{
    mix-blend-mode: multiply;
}

footer {
  background-color: #2C6094;
  color: white;
  text-align: center;
  padding: 15px;
}

@media (max-width: 767px) {
  html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .container {
    flex: 1;
  }


 .screen img {
  max-width: 100%;
  height: auto;
}

.screen {
    width: 100%;
    margin-top: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.screen .name{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
   font-family: "Noto Kufi Arabic", sans-serif;
  font-optical-sizing: auto;
font-weight: 700;
font-size: 10px;
}

}


/* login */

.form-control {
  border-radius: 10px;
  padding-left: 40px;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #2C6094;
}

/* tables */
@media (max-width: 991px) {
  .custom-table thead {
    display: none;
  }

  .custom-table, 
  .custom-table tbody, 
  .custom-table tr, 
  .custom-table td {
    display: block;
    width: 100%;
  }

  .custom-table tr {
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 1rem;
    background: #fff;
  }

  .custom-table td {
    border: none !important;
    padding: 0.5rem 0;
    text-align: left;
  }

  .custom-table td::before {
    display: none;
  }

  .custom-table td[data-label="Action"] {
    text-align: right;
    margin-top: .5rem;
  }
}
