
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  display: flex;
  height: 100vh;
}

/* css/login.css */
input:focus {
  outline: 1px solid #4169E1;
  outline-offset: 0px;
  border: 1px solid #4169E1;
}



/* ...existing code... */

.left {
  flex: 1.2;
  background-color: #4169E1;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* changed from center */
  justify-content: stretch; /* changed from center */
  padding: 0; /* remove extra padding */
  text-align: center;
  min-width: 380px;
  position: relative;
  overflow: hidden;
  
}



/* Make carousel fill the left side */
#carouselExampleCaptions {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  animation: none !important;

}


.left img {
    animation: none !important;
  }


.left h2 {
  font-weight: bold;
}

.left p {
  margin-top: 0.5rem;
  line-height: 1.5;
}

.right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  
}

.form-box .actions a,
.form-box .actions span a,
.form-box div a,
.form-box div span a,
.form-box div span a:visited,
.form-box div span a:active,
.form-box div span a:focus,
.form-box div span a:hover {
    text-decoration: none !important;
    color: #4169E1;
    font-family: 'Montserrat', 'Roboto', 'Poppins', Arial, sans-serif;
    font-size: 0.98em;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
}

.form-box {
  width: 100%;
  max-width: 480px; /* Wider form */
}

.form-box h4 {
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 1px;
}

.form-box p {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.form-box label {
  letter-spacing: 0.10px; /* Adjust value as needed */
}

.form-box input[type="email"],
.form-box input[type="password"],
.modal input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-box .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
  position: relative;
  gap: 8px;
}

.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.custom-checkbox .checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #999;
  border-radius: 4px;
  display: inline-block;
  position: relative;
}


.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid #555;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-box .actions span a {
  color: #4169E1;
  text-decoration: none;
  cursor: pointer;
}

.form-box button {
  width: 100%;
  padding: 0.75rem;
  background-color: #4169E1;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}



button[type="submit"] {
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}


.right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #ffffff; /* Soft off-white */
}


/* Responsive styles for mobile devices */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
    font-family: "Roboto", sans-serif;

  }

  .left, .right {
    width: 100%;
    padding: 1.5rem;
  }

  .left {
    text-align: center;
  }

  .left img {
    width: 180px;
  }

  .left h2 {
    font-size: 1.5rem;
  }

  .left p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .form-box {
    width: 100%;
    padding: 0;
  }

  .form-box h4 {
    font-size: 1.2rem;
  }

  .form-box p {
    font-size: 0.9rem;
  }

  .form-box input,
  .modal-input,
  .form-box button {
    font-size: 0.95rem;
  }

.form-box .actions,
.actions {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 8px;
}

.actions {
    flex-wrap: wrap;
}
@media (max-width: 576px) {
    .actions {
        gap: 4px;
    }
    .actions label,
    .actions a {
        font-size: 0.97em;
    }
}

  .modal {
    width: 95%;
    padding: 1.5rem;
  }

  .modal h2 {
    font-size: 1.3rem;
  }

  .modal button {
    font-size: 1rem;
  }

  .modal .close-btn {
    font-size: 1.5rem;
  }
  
}





/* Footer Links */
.footer-links a.footer-link {
  color: #4169E1 !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95em;
  transition: all 0.2s ease;
}
.footer-links a.footer-link:hover {
  color: #3558c1 !important;
  text-decoration: underline;
}

/* Modal Styling */
.modal-content {
  border-radius: 16px;
  overflow: hidden;
}
.modal-header {
  background: transparent;
  border-bottom: none;
}
.modal-title i {
  font-size: 1.5rem;
  vertical-align: middle;
}
.modal-body ul {
  padding-left: 1.2rem;
}
.modal-body .alert {
  border-radius: 12px;
  font-size: 0.95rem;
}

/* Close Button (Primary Style) */
.btn-primary {
  background: #4169E1;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 2rem;
  font-weight: 600;
}
.btn-primary:hover {
  background: #3558c1;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .footer-links a.footer-link { color: #63b3ed !important; }
  .footer-links a.footer-link:hover { color: #90cdf4 !important; }
  .modal-content { background: #1a202c; color: #e2e8f0; }
  .text-muted { color: #a0aec0 !important; }
}


