/* tnm-core.css – shared styles for Tutorsbump india */

:root {
  --pink: #ff4f9a;
  --orange: #ff8a30;
  --purple: #7a3cf3;
  --blue: #2a7fff;
  --green: #32c94e;
  --bg: #ffffff;
  --text-dark: #1f1f2e;
  --text-muted: #666;
  --border-light: #e5e7eb;
  --input-bg: #f9fafb;
  --card-bg: #ffffff;
  --rating-gold: #fbbf24;
}

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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: radial-gradient(circle at top, #fdf4ff 0, #ffffff 45%);
  color: var(--text-dark);
  min-height: 100vh;
}

/* Generic layout shells */
.page {
  width: 100%;
  max-width: 1100px;
  padding: 20px 16px 32px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.card,
.shell {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.card {
  padding: 32px 24px 30px;
  max-width: 520px;
}

.shell {
  max-width: 1040px;
  padding: 20px 24px 28px;
}

/* Top nav (dashboard-style) */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 34px;
  width: auto;
}

.nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav-link:hover {
  background: #f5f6ff;
  color: var(--text-dark);
}

.nav-link.primary {
  background: #f5f6ff;
  font-weight: 500;
}

/* Profile chip */
.nav-profile-link {
  text-decoration: none;
}

.nav-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid #edf0f5;
  cursor: pointer;
}

.nav-profile-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.nav-profile-name {
  font-size: 12px;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 150px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(255, 79, 154, 0.4);
}

.btn-tutor {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(122, 60, 243, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.14);
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f7f8ff;
  color: var(--text-muted);
  font-size: 11px;
}

/* Form elements */
.field-group {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.field-input,
.field-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--input-bg);
  font-size: 13px;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.field-input:focus,
.field-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px rgba(122, 60, 243, 0.15);
  background: #ffffff;
}

.helper-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Simple sections */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
}

.section-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.section-link {
  font-size: 11px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.section-link:hover {
  text-decoration: underline;
}

/* Utility */
.text-muted {
  color: var(--text-muted);
  font-size: 12px;
}

/* Responsive tweaks */
@media (max-width: 700px) {
  .card {
    padding: 28px 18px 26px;
  }
}

/* ===== SHARED CARD HEADER (PARENT + TUTOR) ===== */

.search-header {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #edf0f5;
  padding: 10px 14px 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
}

.search-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.search-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.search-logo-box {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 12px 30px rgba(122, 60, 243, 0.5);
}

.search-header-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-brand-text-main {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.search-brand-text-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Right side nav pills inside the header */
.search-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
}

.search-nav-link {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #edf0f5;
  background: #f9fafb;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: 0.12s ease background, 0.12s ease color, 0.05s ease transform;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.search-nav-link:hover {
  background: #f5f6ff;
  color: var(--text-dark);
  transform: translateY(-1px);
}

.search-nav-link.primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(122, 60, 243, 0.5);
}

@media (max-width: 640px) {
  .search-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  font-size: 12px;
  color: #6b7280;
}

.auth-divider .line {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.btn-google-auth {
  width: 100%;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #d1d5db;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.12s ease, box-shadow 0.12s ease, transform 0.05s ease;
}

.btn-google-auth:hover {
  background: #f9fafb;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.btn-google-icon {
  width: 18px;
  height: 18px;
}


