body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../Imagepath/Login/Loginbackground.jpg') center/cover no-repeat;
    margin: 0;
}
.login-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    width: 80%;
    max-width: 1200px;
    height: 80vh;
    position: relative;
}
.form-section {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
}
.form-section h2 {
    text-align: center;
    margin-bottom: 20px;
}
.input-group input {
    height: 50px;
    border-radius: 25px;
}
.input-group-text {
    border-radius: 25px;
}
.btn-success {
    height: 50px;
    border-radius: 25px;
}
.image-section {
    flex: 1;
    background: url('../Imagepath/Login/windows-computer-repair-services.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.image-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}
.illustration {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

h2 {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
font-size: 28px;
color: #28a745; /* Green text */
}
h2 i {
font-size: 50px;
color: #28a745; /* Green icon */
}



.form-section {
flex: 1.5; /* Makes form section bigger */
padding: 50px;
}

.image-section {
flex: 1; /* Keeps image section smaller */
}





@media (max-width: 768px) {
  .login-container {
      flex-direction: column;
      height: auto;
      width: 25rem;
  }

  .form-container{
      width: 19rem;;
   align-items: center;
   align-self: center;
   align-content: center;
  }
  .image-section {
      display: none;
  }
}

@media (max-width: 376px){
  .form-container{
      position: relative;
      right:0.6rem;
  }

}


@media (max-width: 350px){
  .form-container{
      position: relative;
      right:1.6rem;
  }

}

@media (min-width: 768px) {
.form-container {
max-width: 500px; /* Adjust width as needed */
margin: 0 auto; /* Centers the form elements */
}
.input-group .form-control,
.btn-success {
max-width: 100%;
}
}






.sk-chase {
    width: 40px;
    height: 40px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
  }
  
  .sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0; 
    animation: sk-chase-dot 2.0s infinite ease-in-out both; 
  }
  
  .sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #08f800da;
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both; 
  }
  
  .sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
  .sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
  .sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
  .sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
  .sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
  .sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
  .sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
  .sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
  .sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
  .sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
  .sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
  .sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }
  
  @keyframes sk-chase {
    100% { transform: rotate(360deg); } 
  }
  
  @keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); } 
  }
  
  @keyframes sk-chase-dot-before {
    50% {
      transform: scale(0.4); 
    } 100%, 0% {
      transform: scale(1.0); 
    } 
  }
  
  /* Blur background when loading modal is active */
  .modal-backdrop.show {
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay effect */
  }
  
  /* Make sure the loading animation is centered */
  #loadingModal .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
  
  /* Ensure text and animation are visible */
  #loadingModal p {
    color: white;
    font-size: 18px;
    font-weight: bold;
  }
  