/* TutorLink Core — Public CSS — v1.4 */

/* ═══════════════════════════════════════
   HERO SECTION — Become a Tutor Page
═══════════════════════════════════════ */
.tl-hero-wrap { font-family: 'Nunito', sans-serif; }

.tl-hero-banner {
    background: linear-gradient(135deg, #880E4F 0%, #C2185B 50%, #E91E8C 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}
.tl-hero-inner { max-width: 700px; margin: 0 auto; }
.tl-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.tl-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
    color: white;
}
.tl-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    margin: 0 0 28px;
    line-height: 1.6;
}
.tl-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.tl-stat { display: flex; flex-direction: column; align-items: center; }
.tl-stat-num { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: white; }
.tl-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.tl-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.3); }
.tl-hero-cta {
    display: inline-block;
    background: white;
    color: #C2185B;
    font-weight: 800;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform .2s, box-shadow .2s;
}
.tl-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); color: #C2185B; }

/* Benefits */
.tl-benefits-wrap { max-width: 900px; margin: 0 auto; padding: 48px 20px 32px; }
.tl-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    color: #1A1A2E;
}
.tl-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.tl-benefit-card {
    background: white;
    border-radius: 16px;
    padding: 22px;
    border: 1.5px solid #FCE4EC;
    transition: transform .2s, box-shadow .2s;
}
.tl-benefit-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(240,98,146,0.14); }
.tl-benefit-card.featured-benefit { background: #FFF5F7; border-color: #F06292; }
.tl-benefit-icon { font-size: 28px; margin-bottom: 10px; }
.tl-benefit-card h3 { font-size: 14px; font-weight: 700; color: #1A1A2E; margin: 0 0 8px; }
.tl-benefit-card p  { font-size: 13px; color: #666; margin: 0; line-height: 1.6; }

/* How It Works */
.tl-hiw-wrap { background: #FFF5F7; padding: 40px 20px; }
.tl-hiw-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.tl-hiw-step {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1.5px solid #FCE4EC;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
}
.tl-hiw-num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #F06292, #C2185B);
    color: white;
    font-weight: 800;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.tl-hiw-step h3 { font-size: 14px; font-weight: 700; color: #1A1A2E; margin: 0 0 8px; }
.tl-hiw-step p  { font-size: 12px; color: #666; margin: 0; line-height: 1.6; }
.tl-hiw-arrow { font-size: 24px; color: #F06292; font-weight: 700; }

/* Market Stats */
.tl-market-wrap { background: linear-gradient(135deg, #1A1A2E, #16213E); padding: 40px 20px; }
.tl-market-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.tl-market-inner h2 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; color: white; margin: 0 0 12px; }
.tl-market-inner p  { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; margin: 0 0 24px; }
.tl-market-stats { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.tl-mstat { text-align: center; }
.tl-mstat strong { display: block; font-size: 26px; font-weight: 800; color: #F06292; }
.tl-mstat span { font-size: 12px; color: rgba(255,255,255,0.65); }

/* Pre-form CTA */
.tl-precta-wrap {
    text-align: center;
    padding: 20px;
    background: #FCE4EC;
    font-size: 15px;
    font-weight: 700;
    color: #C2185B;
}

/* ═══════════════════════════════════════
   WELCOME POPUP
═══════════════════════════════════════ */
#tl-welcome-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    font-family: 'Nunito', sans-serif;
}
#tl-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}
.tl-popup-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 22px;
    width: 92%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    z-index: 1;
}
.tl-popup-header {
    background: linear-gradient(135deg, #880E4F, #C2185B);
    padding: 22px 24px 18px;
    border-radius: 22px 22px 0 0;
    text-align: center;
    position: relative;
}
.tl-popup-header h2 { color: white; font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.tl-popup-header p  { color: rgba(255,255,255,0.82); font-size: 13px; margin: 0; }
#tl-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.tl-popup-body { padding: 24px; }
.tl-popup-screen { display: none; }
#tl-popup-choice { display: block; }

/* Choice buttons */
.tl-popup-choice-btns { display: flex; gap: 12px; margin-bottom: 16px; }
.tl-choice-btn {
    flex: 1;
    border: 2px solid #FCE4EC;
    border-radius: 14px;
    padding: 20px 12px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
    font-family: 'Nunito', sans-serif;
}
.tl-choice-btn:hover { border-color: #F06292; background: #FFF5F7; transform: translateY(-2px); }
.tl-choice-btn .choice-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.tl-choice-btn .choice-title { font-size: 14px; font-weight: 700; color: #1A1A2E; display: block; }
.tl-choice-btn .choice-sub { font-size: 11px; color: #888; display: block; margin-top: 4px; }

/* Tutor / Student screens */
.tl-popup-icon { font-size: 42px; text-align: center; margin-bottom: 12px; }
.tl-popup-screen h3 { font-size: 18px; font-weight: 800; color: #1A1A2E; margin: 0 0 6px; text-align: center; }
.tl-popup-screen .popup-sub { font-size: 13px; color: #666; text-align: center; margin: 0 0 18px; }

.tl-popup-points { list-style: none; padding: 0; margin: 0 0 16px; }
.tl-popup-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #FCE4EC;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}
.tl-popup-points li:last-child { border-bottom: none; }
.tl-popup-points .pt-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.tl-popup-tagline {
    background: #FFF5F7;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: #C2185B;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    border: 1px solid #FCE4EC;
}

.tl-popup-cta-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #F06292, #C2185B);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    margin-bottom: 10px;
    text-align: center;
    transition: opacity .2s;
}
.tl-popup-cta-btn.student-btn { background: linear-gradient(135deg, #26A69A, #00796B); }
.tl-popup-cta-btn:hover { opacity: .92; }

.tl-popup-back {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    padding: 4px;
    text-align: center;
}

/* Skip link */
.tl-popup-skip-wrap { text-align: center; margin-top: 8px; }
#tl-popup-skip {
    background: none;
    border: none;
    color: #bbb;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    text-decoration: underline;
}

/* ═══════════════════════════════════════
   REGISTRATION FORM
═══════════════════════════════════════ */
.tl-register-wrap { max-width: 700px; margin: 0 auto; padding: 36px 20px; }
.reg-type-tabs { display: flex; background: #FCE4EC; border-radius: 14px; padding: 4px; margin-bottom: 28px; }
.reg-type-tab { flex: 1; text-align: center; font-size: 14px; font-weight: 700; padding: 12px; border-radius: 10px; border: none; background: transparent; cursor: pointer; color: #C2185B; transition: all .2s; }
.reg-type-tab.active { background: white; box-shadow: 0 2px 10px rgba(194,24,91,0.18); }
.form-card { background: white; border-radius: 18px; padding: 30px; box-shadow: 0 4px 24px rgba(240,98,146,0.13); border: 1.5px solid #FCE4EC; }
.form-section-title { font-size: 12px; font-weight: 700; color: #7B7B9A; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 8px; border-bottom: 1px solid #F0C0D0; margin: 20px 0 14px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-group label { font-size: 12px; font-weight: 700; color: #2D2D3A; }
.form-group input, .form-group select, .form-group textarea { border: 1.5px solid #F0C0D0; border-radius: 10px; padding: 11px 14px; font-size: 13px; font-family: 'Nunito',sans-serif; outline: none; transition: border-color .2s; width: 100%; box-sizing: border-box; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #F06292; }
.otp-row { display: flex; gap: 8px; }
.otp-row input { flex: 1; }
.otp-send-btn { background: #E1F5FE; color: #0277BD; border: 1.5px solid #4FC3F7; border-radius: 10px; padding: 11px 14px; font-size: 12px; font-weight: 700; font-family: 'Nunito',sans-serif; cursor: pointer; white-space: nowrap; }

/* Subject + Curriculum grids */
.subject-checkbox-grid, .curriculum-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
    border: 1.5px solid #F0C0D0;
    border-radius: 10px;
    padding: 12px;
}
.subject-label, .curriculum-label { display: flex; align-items: center; gap: 6px; font-size: 12px; cursor: pointer; padding: 2px 0; }
.subject-checkbox-grid input[type=checkbox], .curriculum-checkbox-grid input[type=checkbox] { accent-color: #F06292; }

/* Badges */
.subject-limit-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-left: 6px; vertical-align: middle; }
.badge-free  { background: #E8F5E9; color: #2E7D32; }
.badge-locked{ background: #FFEBEE; color: #C62828; }
.badge-free-small  { font-size: 10px; font-weight: 600; background: #E8F5E9; color: #2E7D32; padding: 2px 6px; border-radius: 8px; margin-left: 4px; }
.badge-locked-small{ font-size: 10px; font-weight: 600; background: #FFEBEE; color: #C62828; padding: 2px 6px; border-radius: 8px; margin-left: 4px; }

/* Upgrade prompt */
.upgrade-prompt { background: #FFEBEE; border: 1.5px solid #EF5350; border-radius: 10px; padding: 12px 14px; font-size: 12px; color: #C62828; margin-bottom: 10px; }

/* WhatsApp free code box */
.wa-code-card { background: #E8F5E9; border-radius: 12px; padding: 16px; margin: 10px 0; text-align: center; border: 2px solid #A5D6A7; }
.wa-code-title { color: #2E7D32; font-weight: 700; margin: 0 0 8px; font-size: 13px; }
.wa-code-display { font-size: 36px; font-weight: 900; letter-spacing: 8px; color: #1B5E20; background: white; border-radius: 8px; padding: 12px; margin: 8px 0; }
.wa-code-hint { color: #555; font-size: 12px; margin: 8px 0; }
.wa-code-input { max-width: 160px; text-align: center; font-size: 18px; font-weight: 700; letter-spacing: 4px; border: 1.5px solid #A5D6A7; border-radius: 8px; padding: 10px; outline: none; }
.wa-verify-btn { background: #25D366; color: white; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; font-family: 'Nunito',sans-serif; font-size: 13px; }
.wa-code-btn { background: #25D366; color: white; border: none; border-radius: 10px; padding: 11px 14px; font-size: 12px; font-weight: 700; font-family: 'Nunito',sans-serif; cursor: pointer; white-space: nowrap; }

/* T&C */
.tc-box { background: #FFF5F7; border: 1.5px solid #F0C0D0; border-radius: 10px; padding: 14px; max-height: 150px; overflow-y: auto; font-size: 11px; color: #7B7B9A; line-height: 1.7; margin-bottom: 12px; }
.tc-agree-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; margin-bottom: 8px; }
.tc-agree-row input { accent-color: #F06292; margin-top: 2px; flex-shrink: 0; }

/* Submit */
.submit-btn { background: linear-gradient(135deg,#F06292,#C2185B); color: white; border: none; border-radius: 14px; padding: 16px; font-size: 15px; font-weight: 800; font-family: 'Nunito',sans-serif; width: 100%; cursor: pointer; margin-top: 8px; box-shadow: 0 4px 16px rgba(240,98,146,0.4); }
.submit-btn:hover { opacity: .92; }
.submit-btn:disabled { opacity: .6; cursor: default; }
.approval-notice { background: #FFCCBC; border-radius: 10px; padding: 12px 16px; font-size: 12px; color: #E64A19; font-weight: 600; text-align: center; margin-top: 14px; }
.launch-offer-banner { background: #E8F5E9; border: 1.5px solid #A5D6A7; border-radius: 10px; padding: 12px 16px; font-size: 13px; color: #2E7D32; margin-bottom: 16px; text-align: center; }

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
.tl-pricing-wrap { padding: 40px 20px; max-width: 1000px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 36px; }
.pricing-header h1 { font-family: 'Poppins',sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.pricing-header p { color: #7B7B9A; font-size: 14px; }
.launch-banner { background: #E8F5E9; border: 1.5px solid #A5D6A7; border-radius: 10px; padding: 12px 20px; font-size: 13px; color: #2E7D32; margin-top: 16px; display: inline-block; }
.plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.plan-card { background: white; border-radius: 18px; padding: 28px; border: 2px solid #F0C0D0; position: relative; transition: all .2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(240,98,146,0.18); }
.plan-card.featured { border-color: #F06292; box-shadow: 0 8px 32px rgba(240,98,146,0.2); }
.plan-card.coming-soon-card { opacity: .75; }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,#F06292,#C2185B); color: white; font-size: 11px; font-weight: 800; padding: 5px 18px; border-radius: 30px; white-space: nowrap; }
.coming-soon-badge { position: absolute; top: 14px; right: 14px; background: #F5F5F5; color: #9E9E9E; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; border: 1px solid #E0E0E0; }
.plan-name  { font-family: 'Poppins',sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.plan-price { font-family: 'Poppins',sans-serif; font-size: 36px; font-weight: 800; margin-bottom: 2px; }
.plan-period{ font-size: 12px; color: #7B7B9A; margin-bottom: 20px; }
.plan-features { margin-bottom: 24px; }
.pf { font-size: 12px; color: #7B7B9A; padding: 7px 0; border-bottom: 1px solid #FCE4EC; display: flex; gap: 8px; align-items: flex-start; }
.pf:last-child { border-bottom: none; }
.pf-y { color: #66BB6A; font-weight: 800; }
.pf-n { color: #BDBDBD; }
.plan-btn { background: linear-gradient(135deg,#F06292,#C2185B); color: white; border: none; border-radius: 12px; padding: 14px; font-size: 14px; font-weight: 800; font-family: 'Nunito',sans-serif; width: 100%; cursor: pointer; display: block; text-align: center; text-decoration: none; }
.plan-btn:hover { opacity: .9; }
.plan-btn-locked { background: #F5F5F5 !important; color: #9E9E9E !important; cursor: not-allowed !important; border: 1px solid #E0E0E0 !important; }
.pricing-note { text-align: center; font-size: 12px; color: #7B7B9A; margin-top: 24px; padding: 14px; background: white; border-radius: 10px; border: 1px solid #F0C0D0; }

/* ═══════════════════════════════════════
   DASHBOARD
═══════════════════════════════════════ */
.tl-dashboard { background: #FFF5F7; min-height: 60vh; }
.dash-header { background: linear-gradient(135deg,#C2185B,#880E4F); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.dash-header h2 { color: white; font-family: 'Poppins',sans-serif; font-size: 22px; font-weight: 800; margin: 0; }
.dash-header p { color: rgba(255,255,255,0.75); font-size: 13px; margin: 4px 0 0; }
.status-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.status-badge.approved { background: rgba(255,255,255,0.2); color: white; }
.status-badge.pending  { background: rgba(255,152,0,0.25); color: #FF9800; }
.dash-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 20px 32px; background: white; border-bottom: 1px solid #F0C0D0; }
.metric { background: #FFF5F7; border-radius: 12px; padding: 14px; border: 1.5px solid #FCE4EC; }
.metric-val { font-family: 'Poppins',sans-serif; font-size: 26px; font-weight: 800; color: #C2185B; }
.metric-lbl { font-size: 11px; color: #7B7B9A; margin-top: 2px; }
.dash-body { display: grid; grid-template-columns: 1fr 300px; gap: 20px; padding: 24px 32px; }
.leads-box { background: white; border-radius: 14px; border: 1.5px solid #FCE4EC; overflow: hidden; }
.leads-hdr { padding: 14px 18px; border-bottom: 1px solid #FCE4EC; font-family: 'Poppins',sans-serif; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.new-badge { background: #F06292; color: white; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.lead-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #FCE4EC; transition: background .2s; }
.lead-row:last-child { border-bottom: none; }
.lead-row.lead-new { background: #FFF9FB; }
.lead-row:hover { background: #FFF5F7; }
.lead-av { width: 38px; height: 38px; border-radius: 50%; background: #FCE4EC; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #C2185B; flex-shrink: 0; }
.lead-info { flex: 1; min-width: 0; }
.lead-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.dot-new { width: 8px; height: 8px; background: #F06292; border-radius: 50%; display: inline-block; }
.lead-sub { font-size: 11px; color: #7B7B9A; margin: 2px 0; }
.lead-msg { font-size: 11px; color: #9E9E9E; }
.lead-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.lead-time { font-size: 10px; color: #9E9E9E; white-space: nowrap; }
.lead-reply { background: linear-gradient(135deg,#F06292,#C2185B); color: white; border: none; border-radius: 8px; padding: 5px 12px; font-size: 11px; font-weight: 700; cursor: pointer; font-family: 'Nunito',sans-serif; text-decoration: none; }
.sidebar-card { background: white; border-radius: 14px; padding: 16px; border: 1.5px solid #FCE4EC; margin-bottom: 14px; }
.sc-h { font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #FCE4EC; }
.progress-lbl { display: flex; justify-content: space-between; font-size: 11px; color: #7B7B9A; margin-bottom: 4px; }
.progress-bg { background: #F5F5F5; border-radius: 6px; height: 8px; }
.progress-fill { background: linear-gradient(90deg,#F06292,#C2185B); height: 100%; border-radius: 6px; transition: width .5s; }
.plan-upgrade-btn { display: block; background: #FCE4EC; color: #C2185B; border: 1.5px solid #F06292; border-radius: 10px; padding: 10px; text-align: center; font-size: 13px; font-weight: 700; text-decoration: none; margin-top: 8px; }
.tl-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal-box { position: relative; background: white; border-radius: 18px; width: 90%; max-width: 540px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid #F0C0D0; }
.modal-header h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 16px; margin: 0; }
.modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: #9E9E9E; line-height: 1; }
.modal-body { padding: 24px; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .tl-hero-title { font-size: 26px; }
    .tl-hero-stats { gap: 12px; }
    .tl-stat-div { display: none; }
    .tl-benefits-grid { grid-template-columns: 1fr 1fr; }
    .tl-hiw-steps { flex-direction: column; align-items: stretch; }
    .tl-hiw-arrow { display: none; }
    .tl-hiw-step { max-width: 100%; }
    .tl-market-stats { gap: 20px; }
    .plan-grid { grid-template-columns: 1fr; }
    .dash-metrics { grid-template-columns: repeat(2,1fr); }
    .dash-body { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .subject-checkbox-grid, .curriculum-checkbox-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .tl-benefits-grid { grid-template-columns: 1fr; }
    .tl-popup-choice-btns { flex-direction: column; }
}
/* =====================================================================
   TutorLink — Public CSS Additions
   Ye code tutorlink-public.css ke END mein paste karo
   Path: plugins/tutorlink-core/public/css/tutorlink-public.css
   ===================================================================== */

/* ── Alerts ── */
.tl-alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.5; margin: 10px 0; }
.tl-alert a { font-weight: 700; }
.tl-alert-info    { background: #E3F2FD; color: #0D47A1; border: 1px solid #90CAF9; }
.tl-alert-success { background: #E8F5E9; color: #1B5E20; border: 1px solid #A5D6A7; }
.tl-alert-error   { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }
.tl-alert-warning { background: #FFF8E1; color: #7B5800; border: 1px solid #FFE082; }

/* ── Dashboard Additions ── */
.tl-dashboard { font-family: 'Nunito', sans-serif; }
.dash-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tl-btn-outline { padding: 10px 18px; border: 2px solid rgba(255,255,255,0.4); border-radius: 10px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; transition: all 0.2s; }
.tl-btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.tl-btn-join { padding: 10px 18px; background: #fff; color: #C2185B; border: none; border-radius: 10px; font-size: 13px; font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif; transition: all 0.2s; }
.tl-btn-join:hover { background: #FCE4EC; }
.metric-badge { background: #C2185B; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-left: 6px; }
.leads-hdr { padding: 14px 18px; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 800; color: #1a1a2e; border-bottom: 1px solid #FCE4EC; display: flex; align-items: center; gap: 8px; }
.new-badge { background: #C2185B; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.lead-row { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #f5f5f5; align-items: flex-start; transition: background 0.2s; }
.lead-row:hover { background: #FFF5F7; }
.lead-new { background: #FFF9FA; }
.lead-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #C2185B, #E91E63); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; font-family: 'Poppins', sans-serif; }
.lead-info { flex: 1; }
.lead-name { font-weight: 800; font-size: 14px; color: #1a1a2e; display: flex; align-items: center; gap: 6px; }
.dot-new { width: 8px; height: 8px; background: #C2185B; border-radius: 50%; display: inline-block; }
.lead-sub { font-size: 12px; color: #888; margin: 2px 0; }
.lead-sub a { color: #25D366; font-weight: 700; }
.lead-msg { font-size: 13px; color: #555; line-height: 1.4; }
.lead-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.lead-time { font-size: 11px; color: #aaa; }
.lead-reply { font-size: 12px; font-weight: 700; color: #C2185B; text-decoration: none; }
.lead-reply:hover { text-decoration: underline; }
.sc-h { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 800; color: #1a1a2e; margin-bottom: 12px; }
.progress-wrap { margin-bottom: 8px; }
.progress-lbl { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #555; margin-bottom: 6px; }
.progress-bg { background: #FCE4EC; border-radius: 20px; height: 8px; overflow: hidden; }
.progress-fill { background: linear-gradient(135deg, #C2185B, #E91E63); height: 100%; border-radius: 20px; transition: width 0.5s; }
.checklist { display: flex; flex-direction: column; gap: 6px; }
.check-item { font-size: 12px; color: #555; }
.check-item.done { color: #2E7D32; }
.check-item.todo { color: #B71C1C; }
.plan-current { display: flex; flex-direction: column; gap: 8px; }
.plan-name-badge { display: inline-block; padding: 6px 16px; border-radius: 20px; font-weight: 800; font-size: 13px; font-family: 'Poppins', sans-serif; }
.plan-name-badge.free     { background: #E8F5E9; color: #2E7D32; }
.plan-name-badge.standard { background: #FCE4EC; color: #C2185B; }
.plan-name-badge.premium  { background: linear-gradient(135deg, #C2185B, #E91E63); color: #fff; }
.plan-upgrade-btn { display: block; text-align: center; padding: 10px; background: #1a1a2e; color: #fff; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.plan-upgrade-btn:hover { background: #0f3460; color: #fff; }
.tip-item { font-size: 12px; color: #555; padding: 6px 0; border-bottom: 1px solid #f5f5f5; line-height: 1.5; }
.tip-item:last-child { border-bottom: none; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; }
.modal-box { background: #fff; border-radius: 20px; padding: 28px; max-width: 560px; width: 90%; position: relative; z-index: 2; max-height: 85vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid #FCE4EC; }
.modal-header h3 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 800; color: #1a1a2e; margin: 0; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #aaa; line-height: 1; }
.modal-close:hover { color: #C2185B; }
.modal-body { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 700; color: #555; }
.tl-input { padding: 11px 13px; border: 1.5px solid #e0e0e0; border-radius: 10px; font-size: 14px; font-family: 'Nunito', sans-serif; color: #1a1a2e; width: 100%; outline: none; transition: border-color 0.2s; }
.tl-input:focus { border-color: #C2185B; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { font-size: 13px; font-weight: 600; margin-top: 8px; }
.submit-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #C2185B, #E91E63); color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.3s; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(194,24,91,0.35); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.dash-left { min-width: 0; }
.dash-right { min-width: 0; }

/* ── Dashboard JS ── */

/* ── Dashboard Edit Profile Modal JS ──
   Paste this in tutorlink-public.js at the end
   Path: plugins/tutorlink-core/public/js/tutorlink-public.js
*/