/* Login Dialog Styles */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a1c23 0%, #2d3748 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.login-container {
  width: 100%;
  max-width: 420px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.5s ease-out forwards;
}

.login-form {
  padding: 2rem;
}

.login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.login-header h2 {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.login-footer {
  padding: 1rem;
  text-align: center;
  background-color: #f7fafc;
  border-top: 1px solid #edf2f7;
  color: #718096;
  font-size: 0.875rem;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LTR support for form inputs */
.login-form input {
  text-align: left;
}

/* Override Bootstrap button focus */
.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(49, 130, 206, 0.25);
}

/* Authentication loading styles */
.auth-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.spinner-container {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}
