body {
  background: whitesmoke;
  font-family: 'Source Sans Pro', sans-serif;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  width: 100%;
  max-width: 400px;
}

.login-logo {
  text-align: center;
  margin-bottom: 20px;
}

.school-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-logo a {
  color: #224abe;
  font-weight: 600;
  font-size: 24px;
  display: block;
  margin-top: 10px;
}

.card {
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background-color: #224abe;
  border: none;
}

.btn-primary:hover {
  background-color: #1a3aa2;
}

.login-card-body {
  border-radius: 15px;
  padding: 2rem;
}

.login-box-msg {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 1.5rem;
}

/* Toast Styles */
.toast-message {
  position: fixed;
  top: 20px;
  right: -400px;
  z-index: 1050;
  width: 260px;
  min-height: 60px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: 15px 20px 10px;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.6s ease-in-out;
  border-left: 5px solid transparent;
  font-size: 16px;
  line-height: 1.4;
}

.toast-message.show {
  right: 20px;
  opacity: 1;
}

.toast-message.bg-danger {
  background-color: #fcebea;
  border-left-color: #e3342f;
}

.toast-message.bg-success {
  background-color: #e6ffed;
  border-left-color: #38c172;
}

.toast-message .toast-icon {
  font-size: 20px;
  margin-right: 12px;
  color: #333;
}

.toast-message span {
  color: #333;
  display: flex;
  align-items: center;
}

.toast-progress {
  height: 5px;
  background-color: rgba(0, 0, 0, 0.15);
  width: 100%;
  margin-top: 10px;
  border-radius: 3px;
  overflow: hidden;
}

.toast-progress-bar {
  height: 100%;
  background-color: #38c172;
  width: 100%;
  animation: progressBar 5s linear forwards;
}

.toast-message.bg-danger .toast-progress-bar {
  background-color: #e3342f;
}

@keyframes progressBar {
  from { width: 100%; }
  to { width: 0%; }
}

/* Loader overlay styles */
  #loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Spinner container: responsive scaling */
  .bow-spinner-container {
    position: relative;
    width: 30vw;
    height: 30vw;
    max-width: 180px;
    max-height: 180px;
    min-width: 80px;
    min-height: 80px;
  }

  /* Base crescent spinner */
  .bow-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #224abe 10deg, transparent 350deg);
  }

  /* Outer spinner: clockwise */
  .spinner-1 {
    animation: spin-clockwise 1.6s linear infinite;
  }

  /* Inner spinner: counterclockwise and inset */
  .spinner-2 {
    width: 78%;
    height: 78%;
    top: 11%;
    left: 11%;
    background: conic-gradient(from 0deg, #1a3aa2 10deg, transparent 350deg);
    animation: spin-counter 1.6s linear infinite;
  }

  /* Clockwise spin */
  @keyframes spin-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Counter-clockwise spin */
  @keyframes spin-counter {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
  }

  footer {
  font-family: 'Source Sans Pro', sans-serif;
  color: #6c757d;
}

footer hr {
  border-top: 1px solid #dee2e6;
  margin-top: 2rem;
}


