/* 
style css for the login page and other components
 */
/* Reset */
:root {
  --primary: #2563eb;     /* modern blue */
  --primary-dark: #1e40af;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Mobile Responsive Updates */
@media (max-width: 1024px) {
  header {
    flex-wrap: wrap;
    height: auto !important;
    padding: 8px 5%;
    
  }

  
  .logo {
    width: 100%;
    order: 2;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 5px;
  }
  .role-nav ul {
    gap: 5px;
  }
  .role-link {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

body {
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #004aad;
    width: 100%;
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5em;
  }

  .hero p {
    font-size: 1em;
  }
}
/* Responsive */
/* Helper text is generic, keep it here or move to ui.css */
.helper-text {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}