body{
    height: 100vh; /* Full viewport height */
    margin: 0; /* Remove body margin */
    display: flex; /* Flexbox container */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    background: linear-gradient(90deg, rgb(156, 129, 230) 0%, rgb(79, 101, 209) 100%);
}
.container{
    display: flex;
    flex-direction:row-reverse;
    width: 90%;
    height: 650px;
    border-radius: 30px;
    background-color:transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    
}
.loginright{
    width: 50%;
    background-color: rgba(255, 255, 255, 0.673);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex; /* Flexbox container */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    animation: fadeIn 1s forwards; 
    text-align: center;
}

.loginleft{
    width: 50%;
    background-color: rgba(255, 255, 255, 0.47);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    text-align: center;
    display: flex; /* Flexbox container */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: overlay;
    animation: fadeIn 1s forwards; 
}

.button {
    min-width: 100%;
    min-height: 60px;
    display: inline-flex;
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: #ffffff;
    background: #5442b1;
   background: linear-gradient(90deg, rgb(156, 129, 230) 0%, rgb(79, 101, 209) 100%);
    border: none;
    border-radius: 1000px;
    box-shadow: 12px 12px 24px (rgb(84,66,177));
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
    }
  
  .button::before {
  content: '';
    border-radius: 1000px;
    min-width: calc(100% + 12px);
    min-height: calc(60px + 12px);
    border: 6px solid #5441b0;
    box-shadow: 0 0 60px rgba(84,65,176,.64);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out 0s;
  }
  
  .button:hover, 
  .button:focus {
    color: #313133;
    transform: translateY(-6px);
  }
  
  .button:hover::before, 
  .button:focus::before {
    opacity: 1;
  }
  
  .button::after {
    content: '';
    width: 30px; height: 30px;
    border-radius: 100%;
    border: 6px solid #5441b0;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
  }
  
  .button:hover::after, 
  .button:focus::after {
    animation: none;
    display: none;
  }
  
  @keyframes ring {
    0% {
      width: 30px;
      height: 30px;
      opacity: 1;
    }
    100% {
      width: 100%;
      height: 100%;
      opacity: 0;
    }
  }
  textarea{
    border-radius: 10px;
    width:100%;
    height:400px;
    float: left;
    overflow: hidden;
    font-size: 1em;
  }

button[name="Summary"]{
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

.button[name="Summary"]:hover{
    background-color: #5442b1;
  }
.gasbill, .tabledsum {
    opacity: 0;
    animation: fade 6000s infinite; /* Animation lasts 6 seconds, repeats infinitely */
}
/* Animation for the first div (gasbill) */

@keyframes fade {
    0%, 60% {
        opacity: 1; /* Visible for 6 seconds (60% of 10s) */
    }
    60.01%, 100% {
        opacity: 0; /* Fades out for the remaining 4 seconds */
    }
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

table, th, td {
  border: 1px solid rgb(0, 0, 0);
  border-collapse: collapse;
}
table{
  width: 100%;
}

.toggle {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

.pdf-container {
  width: 80%;
  margin: 20px auto;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.pdf-header {
  padding: 10px;
  border-bottom: 1px solid #dddddd;
  background-color: #f8f8f8;
  justify-content: space-between;
  align-items: center;
}

.pdf-header h1 {
  margin: 0;
}

.header-controls {
  display: flex;
  gap: 10px;
}

.control-button {
  padding: 5px 10px;
  border: none;
  background-color: #007bff;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.control-button:hover {
  background-color: #0056b3;
}

.pdf-content {
  height: 50px;
}

.pdf-page {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  background-color: #ffffff;
}

.pdf-page h2 {
  margin-top: 0;
  font-size: 18px;
  border-bottom: 1px solid #dddddd;
  padding-bottom: 10px;
}

.pdf-page p {
  margin: 0;
  line-height: 1.6;
}

.header-center{
  display: block;
  justify-content: center;

}
::-webkit-scrollbar {
  width: 20px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #5544b2; 
  border-radius: 10px;
}

.convert_invoice{
  position: fixed;
  z-index: 9999;
  bottom: 3%;
  left: 5%;
}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
    
  .container{
        height: 98%;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .loginright{
        width: 100%;
        height: 30%;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 0px;

    }
    .loginleft{
        width: 100%;
        height: 100%;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        border-top-left-radius: 0px;
        
    }

    .button {
        min-width: 80%;
        min-height: 60px;
        display: inline-flex;
        font-family: 'Nunito', sans-serif;
        font-size: 22px;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        text-align: center;
        letter-spacing: 1.3px;
        font-weight: 700;
        color: #ffffff;
        background: #5442b1;
      background: linear-gradient(90deg, rgb(156, 129, 230) 0%, rgb(79, 101, 209) 100%);
        border: none;
        border-radius: 1000px;
        box-shadow: 12px 12px 24px (rgb(84,66,177));
        transition: all 0.3s ease-in-out 0s;
        cursor: pointer;
        outline: none;
        position: relative;
        padding: 10px;
        }
      
      .button::before {
       content: '';
        border-radius: 1000px;
        min-width: calc(80% + 12px);
        min-height: calc(60px + 12px);
        border: 6px solid #5441b0;
        box-shadow: 0 0 60px rgba(84,65,176,.64);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: all .3s ease-in-out 0s;
      }
      
      .button:hover, 
      .button:focus {
        color: #313133;
        transform: translateY(-6px);
      }
      
      .button:hover::before, 
      .button:focus::before {
        opacity: 1;
      }
      
      .button::after {
        content: '';
        width: 30px; height: 30px;
        border-radius: 100%;
        border: 6px solid #5441b0;
        position: absolute;
        z-index: -1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: ring 1.5s infinite;
      }
      
      .button:hover::after, 
      .button:focus::after {
        animation: none;
        display: none;
      }
      
      @keyframes ring {
        0% {
          width: 30px;
          height: 30px;
          opacity: 1;
        }
        100% {
          width: 80%;
          height: 80%;
          opacity: 0;
        }
      }
      textarea{
        border-radius: 10px;
        width:80%;
        height:400px;
        float: left;
        overflow: hidden;
        font-size: 1em;
      }
    
      button[name="Summary"]{
        border-radius: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
      }
}