﻿/* ---------- Base Layout ---------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f5f7fa;
  font-family: Arial, sans-serif;
  color: #333;
  align-self: center;
}

main {
  width: 100%;
  max-width: 900px;
}

/* ---------- Typography ---------- */
.pgTitle {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.intro-text {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #555;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.card h2 {
  margin-top: 0;
}

.hint {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 25px;
  font-size: .95rem;
}

.hint h3 {
  margin-top: 0;
}


/* ---------- Cards ---------- */
.card {
  width: 100%;
  max-width: 900px;
  background: #fff;
  padding: 25px;
  margin: 25px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
 
/* ----------- Table layout ----------*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
  }

  caption {
    text-align: left;
    font-weight: bold;
    margin-bottom: .5rem;
  }

  th, td {
    padding: .5rem;
    border: 1px solid #ccc;
    vertical-align: top;
  }

  thead {
    background-color: #d9e2ec;
  }

  tbody tr:nth-child(even) {
    background-color: #f1f5f9;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
    color: #000;
  }

tbody tr:nth-child(odd) {
    background-color: #ffffff;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
    color: #000;
  }

  th {
    text-align: left;
  }

tbody tr:hover {
    background-color: #e2e8f0;
}

/* ---------- Form Layout ---------- */
.form-layout {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-content: center;
  align-self: flex-start;
}

.form-left {
  flex: 1 1 300px;
  flex-direction: row;
  align-content: center;
}

.form-row {
  display: flex;
  flex-wrap: nowrap;
}

.side-info {
  flex: 1 1 250px;
  border-left: 3px solid #ddd;
  padding-left: 20px;
  font-size: 0.95rem;
  color: #444;
}

/* ---------- Form Controls ---------- */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #6b7280;
  border-radius: 5px;
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
/* ---------- Buttons ---------- */
.btn {
  background: #0059b3;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}

.btn:hover {
  background: #004a99;
}

.btn.secondary {
  background: #4F4F4F;
}

.btn.secondary:hover {
  background: #424242;
}

.btn.block {
  /* width: 100%; */
  text-align: center;
  margin-bottom: 10px;
  align-self: flex-start;
}

.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 700px) {
  .side-info {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid #ddd;
    padding-top: 15px;
  }

  .form-layout {
    flex-direction: column;
  }
}
