:root {
  --primary-color: #3c78d8;
  --primary-hover: #2a5eb8;
  --accent-color: #fada67;
  --accent-hover: #e8c644;
  --bg-color: #f4f8fd;
  --card-bg: #ffffff;
  --text-main: #2c3e50;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --error-color: #e74c3c;
  --success-color: #27ae60;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e0f2ff;
  background-image:
    radial-gradient(
      circle at 15% 20%,
      rgba(250, 218, 103, 0.6) 0px,
      transparent 350px
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(60, 120, 216, 0.4) 0px,
      transparent 350px
    ),
    radial-gradient(
      circle at 50% 85%,
      rgba(39, 174, 96, 0.3) 0px,
      transparent 450px
    ),
    radial-gradient(
      circle at 85% 90%,
      rgba(250, 218, 103, 0.5) 0px,
      transparent 350px
    ),
    radial-gradient(
      circle at 10% 85%,
      rgba(60, 120, 216, 0.4) 0px,
      transparent 350px
    );
  background-attachment: fixed;
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}

/* --- AUTHENTICATION --- */
.auth-wrapper {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 900px;
  margin: auto;
}
.auth-left {
  background-color: var(--primary-color);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}
.auth-right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .auth-wrapper {
    flex-direction: row;
    min-height: 550px;
  }
  .auth-left,
  .auth-right {
    flex: 1;
  }
}

.brand-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: -10px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  position: relative;
  z-index: 1;
}
.brand-title {
  font-size: 2.6em;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.feature-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px 25px;
  width: 100%;
  max-width: 320px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.feature-item:first-child {
  padding-top: 0;
}
.feature-icon {
  background-color: var(--accent-color);
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-main);
}
.feature-text h3 {
  margin: 0;
  font-size: 1.05em;
  color: #ffffff;
  font-weight: 700;
}
.feature-text p {
  margin: 4px 0 0 0;
  font-size: 0.85em;
  color: #e2e8f0;
  line-height: 1.4;
}

/* --- APP SHELL --- */
.app-container {
  display: none;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 750px;
  margin: 40px auto;
  padding: 0;
  overflow: visible;
}

.app-header-wrapper {
  background-color: var(--primary-color);
  padding: 25px 30px 20px 30px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -5px;
}
.header-logo {
  height: 48px;
  width: auto;
  margin-bottom: -20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  position: relative;
  z-index: 1;
}
.logo {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.8em;
  letter-spacing: -0.5px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.logout-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.logout-btn:hover {
  background: var(--error-color);
  border-color: var(--error-color);
}

.nav-buttons {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.15);
  padding: 6px;
  border-radius: 10px;
  flex-wrap: wrap;
}
.nav-btn {
  background-color: transparent;
  color: #e2e8f0;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  display: none;
  flex: 1;
  transition: all 0.2s ease;
}
.nav-btn:hover {
  color: #ffffff;
}
.nav-btn.active {
  background-color: var(--accent-color);
  color: var(--text-main);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-content {
  padding: 30px;
}

/* --- DASHBOARD CARD --- */
.main-points-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(135deg, #3c78d8 0%, #4aa3ba 60%, #5bbd9c 100%);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 12px 30px rgba(60, 120, 216, 0.3);
  border-radius: 20px;
  text-align: left;
}

.card-decoration {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(250, 218, 103, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.card-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.greeting-section {
  text-align: left;
}
.greeting-subtext {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15em;
  margin-bottom: 8px;
  font-weight: 500;
}
.user-name {
  font-size: 2.4em;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.points-section {
  text-align: right;
  background: rgba(255, 255, 255, 0.15);
  padding: 20px 25px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.points-subtitle {
  color: var(--accent-color);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8em;
  margin: 0 0 8px 0;
  opacity: 0.9;
}

.points-value-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
}

.points-star {
  width: 36px;
  height: 36px;
  fill: var(--accent-color);
  filter: drop-shadow(0 3px 6px rgba(250, 218, 103, 0.5));
  transform: translateY(3px);
}

.points-display {
  font-size: 4.5em;
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pts-label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-size: 1.3em;
}

.section-title {
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
}

/* IMPACT CARDS */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.impact-card {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
  padding: 25px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: none !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}
.impact-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.impact-grid .tree-card {
  background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
}
.tree-card .impact-icon {
  stroke: #ffffff;
  fill: rgba(255, 255, 255, 0.2);
}
.tree-card .impact-number,
.tree-card .impact-label {
  color: #ffffff !important;
}

.impact-grid .co2-card {
  background: linear-gradient(135deg, #4b8df8, var(--primary-color)) !important;
}
.co2-card .impact-icon {
  stroke: #ffffff;
  fill: rgba(255, 255, 255, 0.2);
}
.co2-card .impact-number,
.co2-card .impact-label {
  color: #ffffff !important;
}

.impact-grid .energy-card {
  background: linear-gradient(135deg, #ffe066, var(--accent-color)) !important;
}
.energy-card .impact-icon {
  stroke: #2c3e50;
  fill: rgba(44, 62, 80, 0.1);
}
.energy-card .impact-number,
.energy-card .impact-label {
  color: #2c3e50 !important;
}

.impact-number {
  font-size: 2.2em;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}
.impact-label {
  font-size: 0.85em;
  line-height: 1.3;
  font-weight: 600;
  opacity: 0.95;
}

/* LEADERBOARD */
.leaderboard-card {
  background-color: #fafbfc;
  border: 1px solid var(--border-color);
}
.trophy-icon {
  width: 22px;
  height: 22px;
  stroke: var(--accent-hover);
}
.leaderboard-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}
.leaderboard-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.leaderboard-item .rank {
  font-weight: 800;
  color: var(--text-muted);
  width: 35px;
  font-size: 1.1em;
}
.leaderboard-item:nth-child(1) .rank {
  color: var(--accent-color);
  font-size: 1.4em;
}
.leaderboard-item:nth-child(2) .rank {
  color: #94a3b8;
  font-size: 1.3em;
}
.leaderboard-item:nth-child(3) .rank {
  color: #cd7f32;
  font-size: 1.2em;
}
.leaderboard-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--accent-color);
}
.leaderboard-item .name {
  flex: 1;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
}
.leaderboard-item .score {
  font-weight: bold;
  color: var(--primary-color);
  background: #ebf4ff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9em;
}

/* --- PROFILE SETTINGS --- */
.profile-header {
  text-align: center;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
}
.profile-header img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: 0 6px 15px rgba(60, 120, 216, 0.15);
}
.profile-name {
  margin: 0 0 15px 0;
  color: var(--text-main);
  font-size: 1.4em;
  font-weight: 800;
}
.hidden-file-input {
  display: none;
}
.upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f0f5ff;
  color: var(--primary-color);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.upload-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(60, 120, 216, 0.25);
  transform: translateY(-2px);
}
.upload-btn svg {
  width: 18px;
  height: 18px;
}

/* --- SECURITY FORMS --- */
.security-form {
  background-color: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.form-section-title {
  margin: 0 0 5px 0;
  color: var(--primary-color);
  font-size: 1.1em;
  font-weight: 800;
}
.small-btn {
  width: auto;
  padding: 10px 24px;
  font-size: 0.95em;
  margin-top: 15px;
}
.disabled-input {
  background-color: #e2e8f0 !important;
  color: #64748b !important;
  cursor: not-allowed;
  border-color: #cbd5e1 !important;
}

/* --- ADMIN PANEL SPECIFICS --- */
.admin-rate-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.admin-rate-row input[type="text"] {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  font-weight: 700;
  color: var(--text-main);
  flex: 1;
  min-width: 100px;
}
.admin-rate-row .rate-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-rate-row input[type="number"] {
  width: 90px;
  padding: 8px 12px;
}
.admin-add-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.admin-add-row > * {
  flex: 1 1 120px;
}
.admin-add-row button {
  flex: 1 1 100%;
  padding: 14px 20px;
}
@media (min-width: 768px) {
  .admin-add-row button {
    flex: 0 1 auto;
  }
}

/* --- ACCESSIBLE WEIGHER TERMINAL (Senior-Friendly) --- */
.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4em;
  color: var(--primary-color);
  margin: 0 0 20px 0;
}
.step-badge {
  background-color: var(--accent-color);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8em;
  font-weight: 800;
}
.large-label {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.large-input {
  padding: 18px 20px;
  font-size: 1.2em;
  border-radius: 10px;
  border-width: 2px;
}
.highlight-input {
  background-color: #fffde7;
  border-color: var(--accent-color);
  font-weight: bold;
  color: var(--primary-color);
}
.highlight-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(250, 218, 103, 0.4);
}
.large-btn {
  padding: 18px;
  font-size: 1.3em;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.large-dropdown .dropdown-item {
  padding: 18px 20px;
  font-size: 1.15em;
}

/* --- UTILITIES & BASE FORMS --- */
.search-container {
  position: relative;
  width: 100%;
}
.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 10;
  display: none;
}
.dropdown-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}
.dropdown-item:hover {
  background-color: #f0f5ff;
  color: var(--primary-color);
  font-weight: bold;
}
.search-result {
  color: var(--primary-color);
  font-weight: bold;
  margin-top: 15px;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  margin-top: 15px;
}
.divider {
  border: 0;
  height: 1px;
  background-color: var(--border-color);
  margin: 20px 0;
}
.form-subtext {
  color: var(--text-muted);
  margin: 5px 0 25px 0;
  font-size: 0.95em;
}
.auth-links {
  margin-top: 20px;
  text-align: center;
}

label {
  display: block;
  margin: 15px 0 6px 0;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9em;
}

/* --- NEW: REVEAL PASSWORD CSS --- */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.password-wrapper input {
  width: 100%;
  padding-right: 45px; /* Makes room for the eye icon */
}
.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  display: flex;
}
.toggle-password:hover {
  color: var(--primary-color);
}

input,
select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1em;
  background-color: #ffffff;
  transition: all 0.3s ease;
}
input:focus,
select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(60, 120, 216, 0.15);
}

.action-btn {
  width: 100%;
  background-color: var(--accent-color);
  color: var(--text-main);
  border: none;
  padding: 14px;
  border-radius: 8px;
  margin-top: 25px;
  font-size: 1.05em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(250, 218, 103, 0.3);
}
.action-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(250, 218, 103, 0.4);
}

.outline-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}
.outline-btn:hover {
  background-color: #f0f5ff;
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.toggle-text {
  font-size: 0.9em;
  color: var(--text-muted);
  cursor: pointer;
  margin: 10px 0;
  transition: color 0.2s ease;
  font-weight: 500;
}
.toggle-text:hover {
  color: var(--primary-color);
}

/* --- TOAST --- */
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition:
    visibility 0.4s ease-out,
    bottom 0.4s ease-out,
    opacity 0.4s ease-out;
  opacity: 0;
}
.toast.show {
  visibility: visible;
  bottom: 40px;
  opacity: 1;
}
.toast.error {
  background-color: var(--error-color);
}
.toast.success {
  background-color: var(--success-color);
}

.impact-label {
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-card {
  width: 90%;
  max-width: 400px;
  animation: modalFadeIn 0.2s ease-out;
  text-align: center;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   IPAD / TABLET RESPONSIVENESS (Fixes cut-off text on medium screens)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .impact-card {
    padding: 15px 10px;
  }
  .impact-number {
    font-size: 1.8em;
  }
  .impact-label {
    font-size: 0.75em;
  }
}

/* --- INITIAL LOADER --- */
.initial-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e0f2ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(60, 120, 216, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
  .auth-wrapper {
    flex-direction: column;
    min-height: auto;
  }
  .auth-left,
  .auth-right {
    padding: 30px 20px;
  }

  body {
    padding: 10px;
  }

  .app-container {
    margin: 10px auto;
    width: 100%;
    border-radius: 12px;
  }
  .app-content {
    padding: 20px 15px;
  }
  .app-header-wrapper {
    padding: 20px 15px;
  }

  /* Hero Card Stacking */
  .card-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .greeting-section {
    margin-bottom: 5px;
  }
  .points-section {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
  }
  .points-subtitle {
    text-align: left;
  }
  .points-value-row {
    justify-content: flex-start;
  }
  .points-display {
    font-size: 3.8em;
  }
  .points-star {
    width: 32px;
    height: 32px;
    transform: translateY(2px);
  }

  /* --- FIX: OPTIMIZED IMPACT CARDS FOR MOBILE --- */
  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px; /* Very tight gap so they fit */
  }
  .impact-card {
    padding: 15px 5px; /* Less internal padding */
  }
  .impact-icon {
    width: 28px; /* Smaller icon */
    height: 28px;
    margin-bottom: 8px;
  }
  .impact-number {
    font-size: 1.3em; /* Shrunk down so 3-digit numbers fit easily */
    word-break: break-word;
  }
  .impact-label {
    font-size: 0.65em; /* Scaled down subtext */
    line-height: 1.2;
  }

  /* Admin forms stack neatly */
  .admin-add-row,
  .admin-rate-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .admin-add-row button,
  .admin-rate-row button {
    width: 100%;
    margin-top: 5px;
  }
  .admin-rate-row input[type="number"],
  .admin-rate-row input[type="text"] {
    width: 100%;
  }

  .large-input,
  .large-btn {
    font-size: 1.1em;
    padding: 15px;
  }
  .step-title {
    font-size: 1.25em;
  }

  .card {
    padding: 20px 15px;
  }
  .profile-name {
    font-size: 1.25em;
  }
}
