/* Schulchat Specific Styles */

body {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--body-bg);
  color: var(--dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.schulchat-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.schulchat-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.schulchat-header .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.schulchat-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.login-container {
  width: 100%;
  max-width: 500px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
  animation: fadeIn 0.4s ease-out;
}

.login-card h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  color: var(--dark);
}

.login-card .subtitle {
  color: #64748b;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.action-area {
  display: flex;
  justify-content: center;
}

.btn-sso {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 6px rgba(15, 76, 129, 0.2);
}

.btn-sso:hover {
  background-color: #0b3960;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(15, 76, 129, 0.3), 0 0 15px color-mix(in srgb, var(--primary) 50%, transparent);
}

.btn-sso:active {
  transform: translateY(0);
}

.schulchat-footer {
  background-color: white;
  padding: 1.5rem 2rem;
  border-top: 1px solid #e2e8f0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-content nav {
  display: flex;
  gap: 1.5rem;
}

.footer-content nav a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-content nav a:hover {
  color: var(--primary);
}

/* Alert Styles */
.alert {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #14532d;
}

@media (max-width: 600px) {
  .login-card {
    padding: 2rem 1.5rem;
  }
  .schulchat-header {
    padding: 1rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
}
