* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
  }
  
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f6fc;
    padding:  20px ;
    height: 100vh;
    background-size: cover;
  }
  
  a{
    text-decoration: none;
  }
  .container {
    display: flex;
    width: 60%;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .left {
    width: 50%;
    padding: 40px;
    background-color: #f0f7ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .login-box h1 {
    color: #333;
  }
  
  .login-box p {
    color: #999;
  }
  
  form {
    margin-top: 20px;
  }
  
  form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
  }
  
  form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  form input[readonly] {
    background-color: #e9ecef;
    color: #555;
    cursor: not-allowed;
  }
  
  .options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .options label {
    display: flex;
    align-items: center;
    color: #555;
   
  }
  
  .options a {
    color: #007BFF;
    text-decoration: none;
  }
  
  button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  button a{
    color: #fff;
  }
  .right {
    width: 50%;
    background-color: #f7faff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .grid-item {
    background-color: #E1E5ED;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-size: 20px;
    color: #333;
    text-align: center;
    animation: zoomIn 4s ease-in-out 500ms;
  }
  .right:nth-child(2){
    border: 2px solid var(#0056b3);
  }
  .grid-item img {
    max-width: 100%;
    border-radius: 8px;
  }

  .manage, .communicate, .task {
    background-color: #007BFF;
    color: white;

  }
  .manage{
    /*background-image: url('../../pharma-mgt.jpg');*/
    background-size: cover;
    background-position: center;
    height: 200px;
    animation: zoomIn 2s ease-in-out 300ms;
  }



  @keyframes zoomIn {
    0% {
      transform: scale(0.8); /* Start smaller */
      opacity: 0;            /* Start invisible */
    }
    100% {
      transform: scale(1);   /* End at normal size */
      opacity: 1;            /* End fully visible */
    }
  }
  /* RESPONSIVE MEDIA QUERIES */
  @media (min-width: 991px) and (max-width: 1300px) {
  
    .container{
        width: 90%;

    }
  }

  /* For screens smaller than 991px */
  @media (max-width: 991px) {
    body{
        height: auto;
    }
    .container {
      flex-direction: column;
      width: 90%;
    }
    
    .left, .right {
      width: 100%;
    }
  
    .left {
      padding: 30px;
    }
  
    .grid {
      grid-template-columns: 1fr;
    }
  
    .grid-item {
      padding: 15px;
      font-size: 18px;
    }
  
  }
  
  /* For screens smaller than 776px */
  @media (max-width: 776px) {
    .container {
      width: 100%;
    }
  
    .left {
      padding: 20px;
    }
  
    button {
      padding: 8px;
    }
  
    .grid {
      gap: 15px;
    }
  
    .grid-item {
      font-size: 16px;
      padding: 12px;
    }
    .popup-content{
        width: 80%;
    }
  }
  
  /* For screens smaller than 380px */
  @media (max-width: 380px) {
    .left {
      padding: 15px;
    }
  
    .login-box h1 {
      font-size: 24px;
    }
  
    form input {
      padding: 8px;
    }
  
    button {
      padding: 8px;
      font-size: 14px;
    }
  
    .grid-item {
      font-size: 14px;
      padding: 10px;
    }
  }
  .footer-form{
    display: flex;
    margin-top: 15px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-form p{
    color: #333;
    text-align: center;
    line-height: 24px;
  }
  form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    color: #555;
  }
  
  form select:focus {
    border-color: #007BFF;
    outline: none;
  }
  form .demo-text {
    color: #fff;  /* Slightly lighter color for distinction */
    font-size: 18px;  /* Adjust font size if needed */
    margin-bottom: 15px;  /* Space below the text */
    background-color: #414141;
    padding: 10px;
    border-radius: 5px;
  }


  /*popup*/


/* Popup Modal (initially hidden) */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.5s ease; /* Fade effect for background */
  }
  
  /* Zoom in and out animations for the modal content */
  .popup-content {
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: auto;
    transform: scale(0); /* Initially scaled down */
    transition: transform 0.5s ease; /* Transition for zoom-in effect */
  }
  .popup-content h3{
    text-align: center;
    color: red;
  }
  .popup-content  p{
    text-align: cleft;
    line-height: 24px;
    font-size: 14px;
  }
  form h3{
    text-align: center;
  }
  /* Close button */
  .close{
    display: flex;
    justify-content: center;
   
  }
  .close button{
    width: 10%;
    font-size: 15px;
    cursor: pointer;
    
  }
  
  /* Zoom-in animation */
  .popup.show .popup-content {
    transform: scale(1); /* Zoom in to normal size */
  }
  
  /* Zoom-out animation */
  .popup.hide .popup-content {
    transform: scale(0); /* Zoom out to smaller size */
  }
  
  @media (max-width: 991px) {
    .popup-content {
      width: 80%; /* Change width to 80% on smaller screens */
    }
  }
  @media (max-width: 776px){
    .popup-content {
        width: 90%; /* Change width to 80% on smaller screens */
      }
      .close button{
        width:20%
      }

  }
  .logo{
    display: flex;
    justify-content: center;
  }



/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff; /* Background color of the preloader */
  z-index: 9999; /* Make sure it's on top */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pulse animation for the logo */
.logo1 {
  width: 100px;  /* Adjust size of the logo */
  height: 100px;
  animation: pulse 1.5s infinite;
}

/* Define the pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2); /* Slightly increase the size */
    opacity: 0.7;          /* Decrease opacity at the peak of the pulse */
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
