:root {
  --primary: #f25ca2;
  --primary-dark: #a22865;
  --bg-top: #fff8fc;
  --text-main: #2c2c2c;
  --text-muted: #555555;
  --border-soft: #ffd5e7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, var(--bg-top) 0, #ffe5f1 45%, #ffffff 100%);
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: rgba(255, 248, 252, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #ffe0ee;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(242, 92, 162, 0.35);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.logo-link .logo-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
}

.logo-link:hover .logo-text {
  color: var(--primary-dark);
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
  margin-left: 24px;
}

nav a {
  text-decoration: none;
  color: #777;
}

nav a.active {
  color: var(--primary);
  font-weight: 600;
}

nav a:hover { color: var(--primary-dark); }

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  border-radius: 999px;
  border: none;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(242, 92, 162, 0.45);
}

.btn-outline {
  background: #fff;
  border: 1px solid #ffd2e5;
  color: var(--primary-dark);
}

/* PAGE HERO */
.page-hero {
  padding: 80px 24px 24px;
  text-align: center;
}

.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.page-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 12px;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* VERIFIED HOURS CARD */
.verify-shell {
  max-width: 960px;
  margin: 28px auto 16px;
  padding: 0 24px;
}

.verify-card {
  background: #fff;
  border-radius: 26px;
  border: 1px solid #e38ab4;
  box-shadow: 0 18px 48px rgba(242, 92, 162, 0.25);
  padding: 26px 30px 26px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.verify-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffebf5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(242, 92, 162, 0.35);
}

.verify-icon {
  font-size: 30px;
  color: #d83780;
}

.verify-body {
  flex: 1;
}

.verify-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #b42668;
}

.verify-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.7;
  max-width: 720px;
}

.verify-text strong {
  font-weight: 700;
  color: #b42668;
}

.verify-actions {
  margin-left: auto;
  margin-top: 16px;
}

.verify-btn {
  border-radius: 999px;
  background: linear-gradient(90deg, #f25ca2, #f06292);
  color: #fff;
  padding: 11px 26px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(242, 92, 162, 0.4);
}

.verify-btn span.icon {
  font-size: 16px;
}

/* FORM CARD */
.form-shell {
  max-width: 980px;
  margin: 32px auto 80px;
  padding: 0 24px 40px;
}

.tutor-form-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 48px rgba(255, 192, 208, 0.45);
  padding: 28px 28px 32px;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  border-bottom: 1px solid #ffe3f0;
  padding-bottom: 16px;
}

.form-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffe8f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-dark);
}

.form-header-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 32px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.field label span.required {
  color: #e53935;
}

.input, .textarea {
  border-radius: 12px;
  border: 1px solid #ffd6e7;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: #fffdfd;
}

.input:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(242, 92, 162, 0.15);
}

.textarea {
  resize: vertical;
  min-height: 90px;
}

.helper {
  font-size: 12px;
  color: #888;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #ffd6e7;
  background: #fff8fc;
  font-size: 12px;
  cursor: pointer;
  color: var(--primary-dark);
}

.choice-pill.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.tag-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.tag-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff3f8;
  border: 1px solid #ffd6e7;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag-pill button {
  border: none;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  color: #777;
}

.tag-add-btn {
  width: 40px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.form-footer {
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid #ffe3f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.submit-btn {
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #f25ca2, #f06292);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 22px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn[disabled] {
  opacity: 0.7;
  cursor: default;
}

.submit-btn .spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffd4e6;
  border-top-color: #ffffff;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.status-message {
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
  min-height: 18px;
}

.status-message.success { color: #1b8e3e; }
.status-message.error { color: #d32f2f; }

/* LOADER */
.page-loader {
  display: none;
  justify-content: center;
  align-items: center;
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  gap: 10px;
}

.page-loader .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f5a1c9;
  animation: bounce 0.9s infinite alternate;
}

.page-loader .dot:nth-child(2) { animation-delay: 0.18s; }
.page-loader .dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes bounce {
  from { transform: translateY(0); opacity: 0.6; }
  to   { transform: translateY(-5px); opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .verify-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .verify-actions {
    margin-left: 0;
  }
}

@media (max-width: 1024px) {
  header { padding-inline: 20px; }
  nav { display: none; }
}

@media (max-width: 768px) {
  .page-title { font-size: 40px; }
  .page-hero { padding-top: 70px; }
}
