* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: #eef4ff;
  color: #1e293b;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #dbeafe;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.brand h1 {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 6px;
}

.brand p {
  color: #64748b;
  font-size: 15px;
}

.login-form h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.form-intro {
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.5;
}

.login-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 14px;
}

.login-form input {
  height: 52px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  padding: 0 16px;
  font-size: 15px;
  transition: 0.2s;
}

.login-form input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.primary-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 14px;
  background: #2563eb;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.primary-btn:hover {
  background: #1d4ed8;
}

.login-message {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #dc2626;
}
.hidden {
  display: none;
}

.dashboard {
  margin-top: 40px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-header h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.dashboard-header p {
  color: #64748b;
}

.secondary-btn {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: white;
  cursor: pointer;
  font-weight: 600;
}

.dashboard-card {
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 24px;
  background: #f8fbff;
}

.dashboard-card h3 {
  margin-bottom: 22px;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.session-grid span {
  display: block;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 8px;
}

.session-grid strong {
  font-size: 16px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.module-card {
  text-align: left;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: white;
  cursor: pointer;
  transition: 0.2s;
}

.module-card:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.module-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #0f172a;
}

.module-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .module-grid {
    grid-template-columns: 1fr;
  }

  .session-grid {
    grid-template-columns: 1fr;
  }
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  width: 100%;
  max-width: 520px;
  background: white;
  border-radius: 22px;
  padding: 30px;
  border: 1px solid #dbeafe;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 24px;
}

.close-btn {
  border: none;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
  color: #64748b;
}

.create-user-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.create-user-form input,
.create-user-form select {
  height: 50px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  padding: 0 14px;
  font-size: 15px;
}