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

body {
  font-family: Arial, sans-serif;
  background: #f9fafb;
  color: #111827;
  line-height: 1.5;
}

h1,
h2,
h3 {
  color: #0f172a;
}

p {
  color: #6b7280;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  padding: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.navbar__brand {
  font-weight: bold;
  font-size: 1rem;
  color: #0f172a;
  text-decoration: none;
}
.navbar__toggle {
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar__links {
  display: none;
  list-style: none;
  gap: 1rem;
}
.navbar__link {
  text-decoration: none;
  color: #111827;
  transition: color 0.2s ease;
}
.navbar__link:hover {
  color: #2563eb;
}
@media (min-width: 1024px) {
  .navbar__links {
    display: flex;
  }
  .navbar__toggle {
    display: none;
  }
}

.button {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}
.button--primary {
  background: #2563eb;
  color: #ffffff;
}
.button--primary:hover {
  opacity: 0.9;
}
.button--secondary {
  background: #ffffff;
  color: #2563eb;
  border: 2px solid #2563eb;
}
.button--secondary:hover {
  background: #2563eb;
  color: #ffffff;
}

.hero {
  padding: 3rem 1rem;
  text-align: center;
}
.hero__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero__text {
  color: #6b7280;
}
.hero__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 3rem;
  }
  .hero__buttons {
    flex-direction: row;
  }
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.feature-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}
.feature-card__text {
  color: #6b7280;
  font-size: 0.95rem;
}

.preview {
  padding: 2rem 1rem;
  text-align: center;
}
.preview__title {
  margin-bottom: 1rem;
}
.preview__form {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1rem;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
}
.preview__form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
}
.preview__form select {
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
  color: #111827;
}
.preview__result {
  background: #ffffff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  margin-top: 0.5rem;
}
.preview__result p {
  color: #6b7280;
  font-size: 0.95rem;
}
.preview__result strong {
  font-size: 1.4rem;
  color: #2563eb;
}

.cta {
  padding: 3rem 1rem;
  text-align: center;
  background: #0f172a;
}
.cta__title {
  color: #ffffff;
  margin-bottom: 1rem;
}
.cta__text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

.navbar__links--open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.auth-page {
  min-height: 100vh;
  background: #f5f0e8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth {
  width: 100%;
  max-width: 440px;
  margin: 1rem;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.auth__header {
  background: #f5c200;
  display: flex;
}
.auth__tab {
  flex: 1;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.2s ease;
}
.auth__tab--active {
  background: rgba(0, 0, 0, 0.1);
}
.auth__tab:hover {
  background: rgba(0, 0, 0, 0.07);
}
.auth__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.auth__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.auth__form--hidden {
  display: none;
}
.auth__group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.auth__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}
.auth__input {
  padding: 0.55rem 0.75rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #111827;
  background: #f0f4ff;
  transition: border-color 0.2s ease;
}
.auth__input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
}
.auth__error {
  background: #fee2e2;
  color: #dc2626;
  padding: 0.6rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  border-left: 3px solid #dc2626;
}
.auth__success {
  background: #dcfce7;
  color: #16a34a;
  padding: 0.6rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  border-left: 3px solid #16a34a;
}

.dashboard {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.dashboard__hero {
  text-align: center;
}
.dashboard__title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.dashboard__text {
  color: #6b7280;
}
.dashboard__empty {
  color: #6b7280;
  margin-top: 1rem;
}
.dashboard__empty a {
  color: #2563eb;
  font-weight: 600;
}
.dashboard__courses h2 {
  margin-bottom: 1rem;
}

.merit-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.merit-card__label {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.merit-card__value {
  font-size: 3rem;
  color: #2563eb;
  display: block;
  margin-bottom: 0.5rem;
}
.merit-card__sub {
  font-size: 0.8rem;
  color: #6b7280;
}
.merit-card--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.course-table thead {
  background: #0f172a;
  color: #ffffff;
}
.course-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
}
.course-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}
.course-table tbody tr:hover {
  background: #f9fafb;
}
.course-table tbody td {
  padding: 0.75rem 1rem;
}

.grade-a {
  color: #16a34a;
  font-weight: 700;
}

.grade-b {
  color: #2563eb;
  font-weight: 700;
}

.grade-c {
  color: #ca8a04;
  font-weight: 700;
}

.grade-d {
  color: #ea580c;
  font-weight: 700;
}

.grade-e {
  color: #db2777;
  font-weight: 700;
}

.grade-f {
  color: #dc2626;
  font-weight: 700;
}

.calc {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.calc__header {
  text-align: center;
}
.calc__title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.calc__text {
  color: #6b7280;
}
.calc__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.calc__result {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.calc__result-item p {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.calc__result-item strong {
  font-size: 1.6rem;
  color: #0f172a;
}
.calc__result-item--total strong {
  font-size: 2rem;
  color: #2563eb;
}
.calc__result-divider {
  font-size: 1.5rem;
  color: #6b7280;
  font-weight: 300;
}
.calc__rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.calc__row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}
.calc__select {
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s ease;
}
.calc__select:focus {
  outline: none;
  border-color: #2563eb;
}
.calc__select--course {
  flex: 1;
}
.calc__select--grade {
  width: 75px;
}
.calc__remove {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.2s ease;
}
.calc__remove:hover {
  color: #dc2626;
}
.calc__saved h2 {
  margin-bottom: 1rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert--success {
  background: #dcfce7;
  color: #16a34a;
  border-left: 4px solid #16a34a;
}
.alert--error {
  background: #fee2e2;
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.course-table thead {
  background: #0f172a;
  color: #ffffff;
}
.course-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
}
.course-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}
.course-table tbody tr:hover {
  background: #f9fafb;
}
.course-table tbody td {
  padding: 0.75rem 1rem;
}

.grade-a {
  color: #16a34a;
  font-weight: 700;
}

.grade-b {
  color: #2563eb;
  font-weight: 700;
}

.grade-c {
  color: #ca8a04;
  font-weight: 700;
}

.grade-d {
  color: #ea580c;
  font-weight: 700;
}

.grade-e {
  color: #db2777;
  font-weight: 700;
}

.grade-f {
  color: #dc2626;
  font-weight: 700;
} /*# sourceMappingURL=style.css.map */
