/* Teacher CV Portal — design matched to the demo artifact (v1.1.0).
   Palette + type + spacing copied from the demo:
   bg #F6F3EC · ink #1C1917 · dim #78716C · border #E8E1D3
   emerald #0B3D2E (header gradient #082C21 → #0B3D2E → #0E4A38, deep #06231A)
   gold #C19A3D · gold light #E7C877 · gold text #8a6d1f
   gold buttons #E7C877 → #C19A3D (hero/login) and #C9A24A → #A8842F (pay)
   headings "DM Serif Display", Georgia, serif · body "Manrope", system sans */

:root {
  --tcp-bg: #F6F3EC;
  --tcp-surface: #ffffff;
  --tcp-ink: #1C1917;
  --tcp-dim: #78716C;
  --tcp-border: #E8E1D3;
  --tcp-emerald: #0B3D2E;
  --tcp-emerald-mid: #0E4A38;
  --tcp-emerald-deep: #082C21;
  --tcp-emerald-dark: #06231A;
  --tcp-gold: #C19A3D;
  --tcp-gold-light: #E7C877;
  --tcp-gold-btn1: #C9A24A;
  --tcp-gold-btn2: #A8842F;
  --tcp-gold-text: #8a6d1f;
  --tcp-avatar: #E8EFEA;
  --tcp-cream2: #EFEAE0;
  --tcp-radius: 12px;
}

body { background: var(--tcp-bg); }

/* ------------------------------------------------------------------ */
/* v1.3.1: hide the theme chrome on plugin pages                       */
/* The Hello Elementor template prints its own site title ("Teacher   */
/* CV Portal", as a pink link) and the page title ("Home", …) in a    */
/* white band ABOVE the plugin's emerald header — a duplicate that    */
/* looks broken, since the plugin already renders its own logo,       */
/* title and headings inside the green header. Scoped to              */
/* body.tcp-page (added by the body_class filter) so no other page    */
/* is affected, and the WordPress admin bar (#wpadminbar) is never    */
/* touched. The whole header element is hidden first; the inner       */
/* selectors are fallbacks in case the theme markup shifts slightly.  */
/* ------------------------------------------------------------------ */
body.tcp-page header.site-header,
body.tcp-page .site-header,
body.tcp-page .site-header .site-branding,
body.tcp-page .site-header .site-title,
body.tcp-page .site-header .site-title a,
body.tcp-page .site-header .site-description,
body.tcp-page .site-header .site-navigation,
body.tcp-page .site-header .main-navigation,
body.tcp-page .site-header .menu,
body.tcp-page header.page-header,
body.tcp-page .page-header,
body.tcp-page .page-header .entry-title,
body.tcp-page h1.entry-title,
body.tcp-page .entry-header,
body.tcp-page .entry-header .entry-title {
  display: none !important;
}

.tcp-wrap { max-width: 1152px; margin: 0 auto; padding: 0 16px 96px; font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--tcp-ink); }
.tcp-wrap h1, .tcp-wrap h2, .tcp-wrap h3, .tcp-serif { font-family: "DM Serif Display", Georgia, serif; }
.tcp-wrap p { line-height: 1.6; }
.tcp-wrap a { color: var(--tcp-emerald); }

/* ------------------------------------------------------------------ */
/* Site header (demo) — sticky dark emerald gradient + nav pills      */
/* ------------------------------------------------------------------ */
.tcp-site-header { position: sticky; top: 0; z-index: 40; color: #fff; background: linear-gradient(90deg, #082C21 0%, #0B3D2E 50%, #0E4A38 100%); border-bottom: 1px solid rgba(193, 154, 61, .3); box-shadow: 0 10px 30px -12px rgba(8, 44, 33, .55); }
.tcp-header-inner { max-width: 1152px; margin: 0 auto; padding: 12px 16px 0; }
.tcp-header-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tcp-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; flex-shrink: 0; }
.tcp-logo:hover { color: #fff; }
.tcp-logo-medal { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #E7C877 0%, #C19A3D 100%); color: #0B3D2E; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); border: 2px solid rgba(255, 255, 255, .25); flex-shrink: 0; }
.tcp-logo-text { line-height: 1.15; }
.tcp-logo-title { display: block; font-family: "DM Serif Display", Georgia, serif; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.tcp-logo-sub { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: rgba(231, 200, 119, .9); font-weight: 600; }
.tcp-header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* Language pill (demo) */
.tcp-lang-pill { display: flex; align-items: center; background: rgba(255, 255, 255, .15); border-radius: 999px; padding: 4px; }
.tcp-lang-pill .tcp-lang-globe { font-size: 11px; padding: 0 4px 0 6px; }
.tcp-lang-btn { border: none; background: transparent; color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }
.tcp-lang-btn:hover { background: rgba(255, 255, 255, .1); }
.tcp-lang-btn.tcp-active { background: #fff; color: #0B3D2E; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }

/* Legacy single language toggle button (kept for compatibility) */
.tcp-lang-toggle { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--tcp-gold); color: var(--tcp-emerald); border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 14px; cursor: pointer; margin-bottom: 14px; }
.tcp-lang-toggle:hover { background: var(--tcp-emerald-soft, #e9f2ec); }

/* Header user chip + logout */
.tcp-user-chip { display: inline-block; font-size: 12px; background: rgba(255, 255, 255, .15); padding: 6px 10px; border-radius: 999px; }
.tcp-btn-white { display: inline-block; background: #fff; color: #0B3D2E; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.tcp-btn-white:hover { color: #0B3D2E; }

/* Mobile language row (demo: visible only on small screens) */
.tcp-lang-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; }
.tcp-lang-row .tcp-lang-label { font-size: 11px; color: rgba(209, 231, 221, .9); font-weight: 500; }
.tcp-lang-row .tcp-lang-chip { font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .15); padding: 4px 8px; border-radius: 999px; }
@media (min-width: 640px) { .tcp-lang-row { display: none; } }
@media (max-width: 639px) { .tcp-logo-sub { display: none; } }

/* Nav pills */
.tcp-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.tcp-nav::-webkit-scrollbar { display: none; }
.tcp-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .10); transition: background .15s ease; }
.tcp-nav a:hover { background: rgba(255, 255, 255, .20); color: #fff; }
.tcp-nav a.tcp-nav-active { background: #fff; color: #0B3D2E; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }

/* ------------------------------------------------------------------ */
/* Site footer (demo)                                                  */
/* ------------------------------------------------------------------ */
.tcp-site-footer { background: #0B3D2E; color: #fff; border-top: 1px solid rgba(193, 154, 61, .3); }
.tcp-footer-inner { max-width: 1152px; margin: 0 auto; padding: 32px 16px; text-align: center; }
.tcp-footer-title { font-family: "DM Serif Display", Georgia, serif; font-weight: 700; color: #E7C877; font-size: 18px; margin: 0; }
.tcp-footer-desc { font-size: 12px; color: rgba(209, 231, 221, .7); margin: 6px auto 0; max-width: 560px; line-height: 1.6; }

/* ------------------------------------------------------------------ */
/* Hero (demo)                                                         */
/* ------------------------------------------------------------------ */
.tcp-hero { text-align: center; max-width: 672px; margin: 0 auto; padding: 32px 0 0; }
@media (min-width: 768px) { .tcp-hero { padding-top: 56px; } }
.tcp-hero-badge { display: inline-block; background: #fff; color: #8a6d1f; font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 999px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid rgba(193, 154, 61, .4); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.tcp-hero h1 { margin: 20px 0 0; font-size: 38px; line-height: 1.04; font-weight: 700; color: #0B3D2E; }
@media (min-width: 768px) { .tcp-hero h1 { font-size: 56px; } }
.tcp-hero h1 .tcp-hero-line2 { font-style: italic; color: #8a6d1f; }
.tcp-hero-sub { margin: 16px 0 0; font-size: 15px; color: #57534E; line-height: 1.7; }
@media (min-width: 768px) { .tcp-hero-sub { font-size: 16px; } }
.tcp-hero-sub b { color: #0B3D2E; }
.tcp-divider { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tcp-divider .tcp-div-line { height: 1px; width: 40px; background: rgba(193, 154, 61, .6); }
.tcp-divider .tcp-div-diamond { width: 6px; height: 6px; transform: rotate(45deg); background: #C19A3D; }

/* ------------------------------------------------------------------ */
/* Home role cards (demo)                                              */
/* ------------------------------------------------------------------ */
.tcp-role-grid { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 768px) { .tcp-role-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.tcp-teacher-hero-card { border-radius: 28px; color: #fff; padding: 24px; position: relative; overflow: hidden; background: linear-gradient(135deg, #0E4A38 0%, #0B3D2E 55%, #06231A 100%); box-shadow: 0 24px 48px -20px rgba(8, 44, 33, .6); }
@media (min-width: 768px) { .tcp-teacher-hero-card { padding: 32px; } }
.tcp-teacher-hero-card::before { content: ""; position: absolute; top: -64px; right: -64px; width: 192px; height: 192px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .10); }
.tcp-teacher-hero-card::after { content: ""; position: absolute; top: -32px; right: -32px; width: 128px; height: 128px; border-radius: 50%; border: 1px solid rgba(193, 154, 61, .25); }
.tcp-teacher-hero-card .tcp-role-emoji { font-size: 36px; position: relative; }
.tcp-teacher-hero-card h2 { margin: 12px 0 0; font-size: 26px; font-weight: 700; color: #fff; position: relative; }
.tcp-teacher-hero-card p { margin: 8px 0 0; color: rgba(209, 231, 221, .85); font-size: 14px; line-height: 1.7; position: relative; }
.tcp-teacher-hero-card ul { margin: 16px 0 0; padding: 0; list-style: none; position: relative; }
.tcp-teacher-hero-card ul li { font-size: 14px; margin-bottom: 6px; }
.tcp-institute-hero-card { border-radius: 28px; background: #fff; border: 1px solid rgba(193, 154, 61, .35); padding: 24px; box-shadow: 0 24px 48px -24px rgba(28, 25, 23, .25); }
@media (min-width: 768px) { .tcp-institute-hero-card { padding: 32px; } }
.tcp-institute-hero-card .tcp-role-emoji { font-size: 36px; }
.tcp-institute-hero-card h2 { margin: 12px 0 0; font-size: 26px; font-weight: 700; color: #0B3D2E; }
.tcp-institute-hero-card p { margin: 8px 0 0; color: #57534E; font-size: 14px; line-height: 1.7; }
.tcp-institute-hero-card p b { color: #8a6d1f; }
.tcp-institute-hero-card ul { margin: 16px 0 0; padding: 0; list-style: none; color: #44403C; }
.tcp-institute-hero-card ul li { font-size: 14px; margin-bottom: 6px; }
.tcp-role-cta { display: block; width: 100%; text-align: center; margin-top: 24px; padding: 14px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; box-sizing: border-box; }
.tcp-role-cta-gold { background: linear-gradient(180deg, #E7C877 0%, #C19A3D 100%); color: #231a05; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.tcp-role-cta-gold:hover { color: #231a05; filter: brightness(1.05); }
.tcp-role-cta-emerald { background: #0B3D2E; color: #fff; box-shadow: 0 8px 20px rgba(11, 61, 46, .25); }
.tcp-role-cta-emerald:hover { background: #0E4A38; color: #fff; }
.tcp-browse-link { display: block; width: 100%; text-align: center; margin-top: 8px; padding: 10px; font-size: 14px; font-weight: 600; color: #0B3D2E; text-decoration: underline; text-decoration-color: #C19A3D; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ */
/* How it works (demo)                                                 */
/* ------------------------------------------------------------------ */
.tcp-steps { margin: 48px 0 0; }
.tcp-sec-head { display: flex; align-items: center; gap: 12px; }
.tcp-sec-head h2, .tcp-sec-head h3 { margin: 0; font-size: 22px; font-weight: 700; color: #0B3D2E; }
.tcp-sec-head .tcp-sec-line { height: 1px; flex: 1; background: rgba(193, 154, 61, .4); }
.tcp-steps-grid { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .tcp-steps-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.tcp-step { background: #fff; border-radius: 20px; border: 1px solid #E8E1D3; padding: 20px; box-shadow: 0 10px 24px -16px rgba(28, 25, 23, .25); }
@media (min-width: 768px) { .tcp-step { padding: 24px; } }
.tcp-step-num { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 34px; line-height: 1; color: #C19A3D; }
.tcp-step h3 { margin: 12px 0 0; font-size: 16px; font-weight: 700; color: var(--tcp-ink); font-family: "Manrope", sans-serif; }
.tcp-step p { margin: 4px 0 0; font-size: 14px; color: #57534E; line-height: 1.7; }

/* ------------------------------------------------------------------ */
/* Home jobs section (demo)                                            */
/* ------------------------------------------------------------------ */
.tcp-jobs-band { margin-top: 32px; background: linear-gradient(135deg, #0E4A38 0%, #06231A 100%); border-radius: 24px; padding: 24px; color: #fff; position: relative; overflow: hidden; }
@media (min-width: 768px) { .tcp-jobs-band { padding: 32px; } }
.tcp-jobs-band::before { content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(193, 154, 61, .25); }
.tcp-jobs-band .tcp-jobs-emoji { font-size: 30px; position: relative; }
.tcp-jobs-band h3 { margin: 8px 0 0; font-size: 22px; font-weight: 700; color: #fff; position: relative; }
.tcp-jobs-band > p { margin: 8px 0 0; font-size: 14px; color: rgba(209, 231, 221, .85); line-height: 1.7; max-width: 672px; position: relative; }
.tcp-jobs-minis { margin-top: 16px; display: grid; gap: 12px; position: relative; }
@media (min-width: 768px) { .tcp-jobs-minis { grid-template-columns: repeat(3, 1fr); } }
.tcp-jobs-mini { background: rgba(255, 255, 255, .10); border-radius: 16px; padding: 16px; font-size: 14px; }
.tcp-jobs-mini p { margin: 0; color: rgba(209, 231, 221, .8); line-height: 1.7; }
.tcp-jobs-mini p:first-child { font-weight: 700; color: #fff; margin-bottom: 4px; }

/* ------------------------------------------------------------------ */
/* Privacy strip (demo)                                                */
/* ------------------------------------------------------------------ */
.tcp-privacy { margin-top: 32px; background: rgba(11, 61, 46, .05); border: 1px solid rgba(11, 61, 46, .15); border-radius: 20px; padding: 20px; display: flex; gap: 12px; }
@media (min-width: 768px) { .tcp-privacy { padding: 24px; } }
.tcp-privacy .tcp-privacy-emoji { font-size: 24px; flex-shrink: 0; }
.tcp-privacy p { margin: 0; font-size: 14px; color: #57534E; line-height: 1.7; }
.tcp-privacy p:first-child { font-weight: 700; color: #0B3D2E; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.tcp-btn { display: inline-block; border: none; border-radius: 999px; padding: 11px 24px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; font-family: inherit; }
.tcp-btn-gold { background: linear-gradient(180deg, #E7C877 0%, #C19A3D 100%); color: #231a05; box-shadow: 0 4px 14px rgba(193, 154, 61, .35); }
.tcp-btn-gold:hover { transform: translateY(-1px); color: #231a05; filter: brightness(1.05); }
.tcp-btn-pay { background: linear-gradient(180deg, #C9A24A 0%, #A8842F 100%); color: #fff; box-shadow: 0 4px 14px rgba(168, 132, 47, .35); }
.tcp-btn-pay:hover { transform: translateY(-1px); color: #fff; filter: brightness(1.05); }
.tcp-btn-emerald { background: #0B3D2E; color: #fff; box-shadow: 0 4px 14px rgba(11, 61, 46, .25); }
.tcp-btn-emerald:hover { background: #0E4A38; color: #fff; }
.tcp-btn-outline { background: #fff; color: var(--tcp-emerald); border: 1.5px solid var(--tcp-emerald); }
.tcp-btn-outline:hover { background: #e9f2ec; color: var(--tcp-emerald); }
.tcp-btn-block { display: block; width: 100%; text-align: center; box-sizing: border-box; }

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */
.tcp-card { background: #fff; border: 1px solid var(--tcp-border); border-radius: 20px; padding: 24px; margin: 18px 0; box-shadow: 0 14px 30px -20px rgba(28, 25, 23, .28); }
.tcp-card h2 { margin-top: 0; font-size: 22px; }
.tcp-card h3 { margin-top: 0; }
.tcp-card-lg { border-radius: 24px; box-shadow: 0 24px 48px -28px rgba(28, 25, 23, .3); }

/* ------------------------------------------------------------------ */
/* Forms (demo .inp style)                                             */
/* ------------------------------------------------------------------ */
.tcp-form-card { max-width: 640px; margin-left: auto; margin-right: auto; }
.tcp-form-card-wide { max-width: 768px; margin-left: auto; margin-right: auto; }
.tcp-form label { font-weight: 700; font-size: 13px; color: #44403C; display: block; }
.tcp-form input[type="text"], .tcp-form input[type="email"], .tcp-form input[type="tel"], .tcp-form input[type="password"], .tcp-form input[type="number"], .tcp-form textarea, .tcp-form select { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #E8E1D3; background: #fff; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; margin-top: 6px; box-sizing: border-box; font-family: inherit; color: var(--tcp-ink); }
.tcp-form input:focus, .tcp-form textarea:focus, .tcp-form select:focus { border-color: #0B3D2E; box-shadow: 0 0 0 3px rgba(193, 154, 61, .22); }
.tcp-form p { margin: 0 0 14px; }
.tcp-form-grid { display: grid; gap: 0; }
@media (min-width: 768px) { .tcp-form-grid-2 { grid-template-columns: 1fr 1fr; gap: 0 12px; } .tcp-form-grid-3 { grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; } }
.tcp-form-sec { margin-top: 20px; }
.tcp-form-sec:first-child { margin-top: 0; }
.tcp-form-sec > h3 { font-size: 16px; font-weight: 700; color: #0B3D2E; margin: 0 0 12px; font-family: "Manrope", sans-serif; }
.tcp-small { color: var(--tcp-dim); font-size: 13px; }

/* Auth card (demo): role tabs on top, mode tabs below */
.tcp-auth-card { max-width: 448px; margin: 24px auto 0; background: #fff; border-radius: 24px; border: 1px solid #E8E1D3; box-shadow: 0 24px 48px -24px rgba(28, 25, 23, .3); overflow: hidden; }
.tcp-auth-roles { display: grid; grid-template-columns: 1fr 1fr; }
.tcp-auth-role { display: block; padding: 16px 8px; font-weight: 700; font-size: 14px; text-align: center; text-decoration: none; background: #EFEAE0; color: #57534E; line-height: 1.4; }
.tcp-auth-role span { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.tcp-auth-role.tcp-role-teacher-on { background: #0B3D2E; color: #fff; }
.tcp-auth-role.tcp-role-inst-on { background: linear-gradient(180deg, #C9A24A 0%, #A8842F 100%); color: #fff; }
.tcp-auth-body { padding: 20px; }
@media (min-width: 768px) { .tcp-auth-body { padding: 24px; } }
.tcp-auth-modes { display: flex; background: #F5F5F4; border-radius: 999px; padding: 4px; }
.tcp-auth-mode { flex: 1; padding: 8px; border-radius: 999px; text-align: center; font-size: 14px; font-weight: 700; text-decoration: none; color: #78716C; }
.tcp-auth-mode.tcp-mode-on { background: #fff; color: var(--tcp-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.tcp-auth-body .tcp-form { margin-top: 20px; }
.tcp-auth-note { margin-top: 12px; text-align: center; font-size: 12px; color: #78716C; }
.tcp-auth-link { text-align: center; font-size: 14px; margin-top: 12px; }

/* Notices */
.tcp-notice { border-radius: 10px; padding: 12px 16px; margin: 14px 0; font-weight: 600; }
.tcp-notice-success { background: #e6f4ea; color: #14532d; border: 1px solid #b7dfc2; }
.tcp-notice-error { background: #fdecea; color: #7a1f1a; border: 1px solid #f5c6c2; }
.tcp-msg-ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 500; margin-top: 16px; }

/* ------------------------------------------------------------------ */
/* Browse: filter bar + teacher cards (demo)                           */
/* ------------------------------------------------------------------ */
.tcp-page-head { padding-top: 24px; }
.tcp-page-head h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; color: #0B3D2E; }
@media (min-width: 768px) { .tcp-page-head h1 { font-size: 32px; } }
.tcp-page-head p { margin: 4px 0 0; font-size: 14px; color: #57534E; }
.tcp-filters { margin-top: 16px; background: #fff; border-radius: 20px; border: 1px solid #E8E1D3; box-shadow: 0 14px 30px -20px rgba(28, 25, 23, .3); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 768px) { .tcp-filters { flex-direction: row; } }
.tcp-filters input[type="text"], .tcp-filters select { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid #E8E1D3; font-size: 15px; outline: none; font-family: inherit; color: var(--tcp-ink); }
.tcp-filters input:focus, .tcp-filters select:focus { border-color: #0B3D2E; box-shadow: 0 0 0 3px rgba(193, 154, 61, .22); }
@media (min-width: 768px) { .tcp-filters select { flex: 0 0 auto; } .tcp-filters input.tcp-filter-loc { flex: 0 0 176px; } }
.tcp-empty { margin-top: 24px; background: #fff; border-radius: 16px; border: 1px dashed #D8CFBB; padding: 56px 16px; text-align: center; }
.tcp-empty .tcp-empty-emoji { font-size: 36px; }
.tcp-empty p { margin: 4px 0 0; font-size: 14px; color: #78716C; }
.tcp-empty p:first-of-type { font-weight: 700; color: var(--tcp-ink); font-size: 15px; margin-top: 12px; }

.tcp-teacher-grid { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 768px) { .tcp-teacher-grid { grid-template-columns: 1fr 1fr; } }
.tcp-teacher-card { background: #fff; border: 1px solid #E8E1D3; border-radius: 20px; box-shadow: 0 14px 30px -20px rgba(28, 25, 23, .28); padding: 20px; display: flex; flex-direction: column; }
.tcp-teacher-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tcp-teacher-id { display: flex; gap: 12px; min-width: 0; }
.tcp-teacher-avatar { width: 48px; height: 48px; border-radius: 50%; background: #E8EFEA; display: flex; align-items: center; justify-content: center; font-size: 20px; font-family: "DM Serif Display", Georgia, serif; font-weight: 700; color: #0B3D2E; flex-shrink: 0; }
.tcp-teacher-card h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--tcp-ink); font-family: "Manrope", sans-serif; line-height: 1.3; }
.tcp-teacher-meta { font-size: 12px; color: #78716C; margin-top: 2px; line-height: 1.5; }
.tcp-avail-badge { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: #D1FAE5; color: #065F46; }
.tcp-avail-badge.tcp-avail-later { background: rgba(193, 154, 61, .15); color: #8a6d1f; }
.tcp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tcp-chip { font-size: 11px; font-weight: 700; background: rgba(11, 61, 46, .05); color: #0B3D2E; padding: 4px 8px; border-radius: 999px; }
.tcp-chip-gray { background: #F5F5F4; color: #57534E; font-weight: 600; }
.tcp-teacher-lines { margin-top: 12px; font-size: 13px; color: #57534E; line-height: 1.7; }
.tcp-teacher-lines p { margin: 0 0 4px; }
.tcp-teacher-lines b { color: var(--tcp-ink); }
.tcp-pdf-badge { display: inline-block; font-size: 11px; font-weight: 700; background: rgba(193, 154, 61, .15); color: #8a6d1f; padding: 4px 8px; border-radius: 999px; }
.tcp-teacher-foot { margin-top: 16px; padding-top: 12px; border-top: 1px dashed #E8E1D3; }
.tcp-contact-masked { font-size: 13px; color: #78716C; line-height: 1.7; }
.tcp-contact-masked p { margin: 0; }
.tcp-unlocked-box { background: #ECFDF5; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.tcp-unlocked-box .tcp-unlocked-title { font-weight: 700; color: #065F46; font-size: 12px; }
.tcp-unlocked-box p { margin: 4px 0 0; }
.tcp-unlocked-box a { font-weight: 700; }
.tcp-unlocked-box .tcp-wa-line { font-size: 12px; color: #57534E; }
.tcp-unlocked-box .tcp-addr-line { font-size: 12px; color: #57534E; }
.tcp-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tcp-btn-sm { padding: 8px 14px; font-size: 13px; }

/* ------------------------------------------------------------------ */
/* Job cards (demo)                                                    */
/* ------------------------------------------------------------------ */
.tcp-job-card { background: #fff; border-radius: 20px; border: 1px solid #E8E1D3; box-shadow: 0 14px 30px -20px rgba(28, 25, 23, .28); padding: 20px; margin: 12px 0; }
.tcp-job-card h3, .tcp-job-card h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--tcp-ink); font-family: "Manrope", sans-serif; line-height: 1.35; }
.tcp-job-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tcp-job-sub { font-size: 12px; color: #78716C; margin-top: 2px; }
.tcp-match-badge { flex-shrink: 0; font-size: 11px; font-weight: 800; background: rgba(193, 154, 61, .15); color: #8a6d1f; padding: 4px 10px; border-radius: 999px; }
.tcp-job-card .tcp-job-salary { font-size: 13px; color: #57534E; margin: 8px 0 0; }
.tcp-job-card .tcp-job-desc { font-size: 14px; color: #57534E; margin: 8px 0 0; line-height: 1.7; }
.tcp-job-foot { margin-top: 16px; padding-top: 12px; border-top: 1px dashed #E8E1D3; }
.tcp-job-foot .tcp-btn { margin-top: 4px; }
.tcp-status { font-size: 12px; background: #e9f2ec; color: var(--tcp-emerald); border-radius: 999px; padding: 3px 10px; font-weight: 700; }
.tcp-job-mini { background: #fff; border-radius: 12px; border: 1px solid #E8E1D3; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0; }
.tcp-job-mini p { margin: 0; }
.tcp-job-mini .tcp-job-mini-sub { font-size: 12px; color: #78716C; }

/* ------------------------------------------------------------------ */
/* Pay box (demo fee box)                                              */
/* ------------------------------------------------------------------ */
.tcp-pay-box { background: #fff; border: 1px solid rgba(193, 154, 61, .4); border-radius: 16px; padding: 16px; margin: 12px 0; font-size: 14px; }
.tcp-pay-rows { margin: 0 0 12px; }
.tcp-pay-row { display: flex; justify-content: space-between; padding: 4px 0; }
.tcp-pay-row.tcp-pay-muted { color: #78716C; }
.tcp-pay-row.tcp-pay-total { border-top: 1px dashed #E8E1D3; padding-top: 8px; margin-top: 4px; font-weight: 700; font-size: 16px; }
.tcp-demo-note { font-size: 12px; color: #78716C; margin: 12px 0 0; }
.tcp-apply-form { margin: 8px 0 0; }
.tcp-unlocked-line { background: #e6f4ea; border-radius: 8px; padding: 10px 12px; }

/* Dashboard */
.tcp-live-badge { background: #D1FAE5; color: #065F46; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 10px; vertical-align: middle; letter-spacing: .02em; white-space: nowrap; }
.tcp-dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; }
.tcp-dash-head h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; color: #0B3D2E; }
@media (min-width: 768px) { .tcp-dash-head h1 { font-size: 32px; } }
.tcp-dash-head p { margin: 4px 0 0; font-size: 14px; color: #57534E; }
.tcp-stat-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
.tcp-stat { background: #fff; border-radius: 16px; border: 1px solid #E8E1D3; box-shadow: 0 14px 30px -20px rgba(28, 25, 23, .28); padding: 16px; }
.tcp-stat .tcp-stat-num { font-size: 30px; font-weight: 900; color: #0B3D2E; line-height: 1.1; }
.tcp-stat .tcp-stat-num.tcp-stat-gold { color: #8a6d1f; }
.tcp-stat .tcp-stat-label { font-size: 11px; font-weight: 700; color: #78716C; margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }
.tcp-app-row { border-top: 1px solid var(--tcp-border); padding: 12px 0; }
.tcp-app-row:first-of-type { border-top: none; }

/* Empty state (demo) */
.tcp-empty-state { max-width: 448px; margin: 40px auto 0; background: #fff; border-radius: 24px; border: 1px solid #E8E1D3; box-shadow: 0 24px 48px -28px rgba(28, 25, 23, .3); padding: 40px 24px; text-align: center; }
.tcp-empty-state .tcp-empty-emoji { font-size: 48px; }
.tcp-empty-state h2 { font-size: 20px; font-weight: 700; color: #0B3D2E; margin: 12px 0 0; }
.tcp-empty-state p { font-size: 14px; color: #57534E; margin: 8px 0 0; line-height: 1.7; }
.tcp-empty-state .tcp-btn { margin-top: 20px; }

/* Section headings inside cards */
.tcp-card h2.tcp-card-title { font-size: 20px; margin: 0 0 4px; }
.tcp-card-sub { font-size: 14px; color: #57534E; margin: 0 0 8px; line-height: 1.7; }

/* Pay modal (demo) — used by JS-driven flows if present */
.tcp-modal-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
@media (min-width: 640px) { .tcp-modal-overlay { align-items: center; } }
.tcp-modal { background: #fff; border-radius: 24px; width: 100%; max-width: 448px; padding: 24px; max-height: 90vh; overflow-y: auto; }
.tcp-modal h3 { font-size: 20px; font-weight: 700; color: #0B3D2E; margin: 0; }
.tcp-modal .tcp-modal-desc { font-size: 14px; color: #57534E; margin-top: 8px; line-height: 1.7; }

@media (max-width: 640px) {
  .tcp-card { padding: 18px; }
  .tcp-stat .tcp-stat-num { font-size: 24px; }
}

/* OTP verification step (v1.2.0) — same emerald/gold auth-card language */
.tcp-otp-title { text-align: center; }
.tcp-otp-desc { font-size: 14px; line-height: 1.7; }
.tcp-otp-desc b { color: #0B3D2E; }
.tcp-otp-input { font-size: 28px !important; font-weight: 700; letter-spacing: 10px; text-align: center; color: #0B3D2E; border: 2px solid #C19A3D !important; border-radius: 12px; padding: 12px 8px !important; }
.tcp-otp-input:focus { border-color: #0B3D2E !important; outline: none; box-shadow: 0 0 0 3px rgba(193, 154, 61, .35); }
.tcp-otp-note { text-align: center; font-size: 13px; color: #78716C; margin: 8px 0; }
.tcp-otp-resend { margin-top: 16px; text-align: center; }
.tcp-otp-resend-btn { background: none; border: none; cursor: pointer; color: #0B3D2E; font-weight: 700; font-size: 14px; text-decoration: underline; padding: 4px 8px; }
.tcp-otp-resend-btn:hover { color: #C19A3D; }

/* v1.3.0 — WhatsApp button (only in unlocked contact boxes) */
.tcp-wa-btn { display: inline-block; background: #25D366; color: #fff !important; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; text-decoration: none; margin-top: 8px; }
.tcp-wa-btn:hover { background: #1EBE5B; color: #fff; }

/* v1.3.0 — profile photo avatar (square crop via object-fit) */
.tcp-teacher-avatar.tcp-teacher-photo { background: #E8EFEA; overflow: hidden; padding: 0; }
.tcp-teacher-avatar.tcp-teacher-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcp-cv-head .tcp-teacher-avatar { width: 72px; height: 72px; font-size: 28px; margin-bottom: 10px; }
.tcp-photo-preview { display: inline-block; vertical-align: middle; margin-right: 8px; }
.tcp-photo-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; border: 2px solid #C19A3D; }

/* v1.3.0 — CV status badges */
.tcp-pending-badge { background: #FEF3C7 !important; color: #92400E !important; }
.tcp-rejected-badge { background: #FEE2E2 !important; color: #991B1B !important; }

/* v1.3.0 — requirement expiry */
.tcp-job-expiry { font-size: 13px; color: #8a6d1f; margin: 8px 0 0; }
.tcp-job-expiry.tcp-job-expired { color: #991B1B; }
.tcp-expired-badge { background: #FEE2E2 !important; color: #991B1B !important; }

/* v1.3.0 — Razorpay pay box */
.tcp-rzp-note { font-size: 13px; color: #57534E; margin: 10px 0 0; }
.tcp-rzp-msg { font-size: 13px; margin: 10px 0 0; }
.tcp-rzp-error { color: #991B1B; font-weight: 700; }

/* v1.4.0 — floating WhatsApp helpline button (plugin pages only) */
.tcp-helpline-wa {
    position: fixed;
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(11, 61, 46, .35);
    z-index: 9999;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.tcp-helpline-wa:hover, .tcp-helpline-wa:focus { background: #1EBE5B; color: #fff; transform: scale(1.05); }
.tcp-helpline-wa svg { display: block; }
