/*
Theme Name: Rankers Home Tuition
Theme URI: https://rankershometuition.com
Author: Rankers Home Tuition
Author URI: https://rankershometuition.com
Description: Premium Indian home tutor marketplace theme connecting parents with qualified home tutors.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rankers-home-tuition
Tags: education, marketplace, tutors, responsive, custom-menu, featured-images
*/

/* === VARIABLES === */
:root {
  --rht-primary: #1a56db;
  --rht-primary-dark: #1e429f;
  --rht-primary-light: #3b82f6;
  --rht-accent: #f97316;
  --rht-accent-dark: #ea580c;
  --rht-white: #ffffff;
  --rht-gray-50: #f9fafb;
  --rht-gray-100: #f3f4f6;
  --rht-gray-200: #e5e7eb;
  --rht-gray-300: #d1d5db;
  --rht-gray-500: #6b7280;
  --rht-gray-700: #374151;
  --rht-gray-900: #111827;
  --rht-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
  --rht-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);
  --rht-radius: 8px;
  --rht-radius-lg: 12px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--rht-gray-900); background: var(--rht-white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rht-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rht-primary-dark); }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--rht-gray-900); }
h1 { font-size: clamp(2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.5rem,3vw,2.25rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: .75rem; }
.section-subtitle { text-align: center; color: var(--rht-gray-500); font-size: 1.125rem; margin-bottom: 3rem; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.75rem; border-radius: var(--rht-radius); font-weight: 600; font-size: .95rem; cursor: pointer; border: none; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--rht-primary); color: var(--rht-white); }
.btn-primary:hover { background: var(--rht-primary-dark); color: var(--rht-white); transform: translateY(-1px); box-shadow: var(--rht-shadow); }
.btn-accent { background: var(--rht-accent); color: var(--rht-white); }
.btn-accent:hover { background: var(--rht-accent-dark); color: var(--rht-white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--rht-white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--rht-white); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }

/* === BADGES === */
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.badge-featured { background: #fef3c7; color: #92400e; }
.badge-verified { background: #dcfce7; color: #166534; }
.badge-primary { background: #dbeafe; color: #1e40af; }

/* === HEADER === */
#masthead { background: var(--rht-white); box-shadow: 0 1px 3px rgba(0,0,0,.1); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.site-logo { display: flex; align-items: center; gap: .75rem; font-size: 1.4rem; font-weight: 800; color: var(--rht-gray-900); text-decoration: none; }
.site-logo span { color: var(--rht-accent); }
.site-logo img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { color: var(--rht-gray-700); font-weight: 500; font-size: .95rem; padding: .5rem 0; border-bottom: 2px solid transparent; transition: all .2s; }
.main-nav a:hover { color: var(--rht-primary); border-bottom-color: var(--rht-primary); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--rht-gray-700); margin: 5px 0; transition: all .3s; }
@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .mobile-menu-toggle { display: block; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--rht-white); padding: 1.5rem; box-shadow: var(--rht-shadow-lg); gap: 1rem; }
  .header-cta.open { display: flex; flex-direction: column; padding: 0 1.5rem 1.5rem; background: var(--rht-white); }
}

/* === HERO === */
.hero-section { background: linear-gradient(135deg, var(--rht-primary-dark) 0%, var(--rht-primary) 60%, var(--rht-primary-light) 100%); color: var(--rht-white); padding: 6rem 0 5rem; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-content h1 { color: var(--rht-white); margin-bottom: 1.25rem; }
.hero-content p { font-size: 1.2rem; color: rgba(255,255,255,.85); margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-search { background: var(--rht-white); border-radius: var(--rht-radius-lg); padding: 1.25rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.hero-search select, .hero-search input { flex: 1; min-width: 140px; border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius); padding: .65rem 1rem; color: var(--rht-gray-700); background: var(--rht-white); font-size: .95rem; }
.hero-search select:focus, .hero-search input:focus { outline: 2px solid var(--rht-primary); border-color: transparent; }
.hero-search .btn { white-space: nowrap; }

/* === STATS === */
.stats-section { background: var(--rht-primary-dark); color: var(--rht-white); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--rht-white); margin-bottom: .25rem; }
.stat-item p { color: rgba(255,255,255,.75); font-size: .9rem; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* === HOW IT WORKS === */
.how-it-works { background: var(--rht-gray-50); }
.hiw-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.hiw-tab { padding: .65rem 2rem; border-radius: 999px; font-weight: 600; cursor: pointer; border: 2px solid var(--rht-primary); background: transparent; color: var(--rht-primary); transition: all .2s; }
.hiw-tab.active { background: var(--rht-primary); color: var(--rht-white); }
.hiw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.hiw-step { text-align: center; padding: 2rem 1.5rem; background: var(--rht-white); border-radius: var(--rht-radius-lg); box-shadow: var(--rht-shadow); }
.hiw-step-num { width: 56px; height: 56px; background: var(--rht-primary); color: var(--rht-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin: 0 auto 1.25rem; }
.hiw-step h4 { margin-bottom: .5rem; }
.hiw-step p { color: var(--rht-gray-500); font-size: .9rem; margin: 0; }
@media (max-width: 768px) { .hiw-steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .hiw-steps { grid-template-columns: 1fr; } }

/* === TUTOR CARDS === */
.tutors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.tutor-card { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius-lg); overflow: hidden; transition: all .2s; }
.tutor-card:hover { transform: translateY(-4px); box-shadow: var(--rht-shadow-lg); border-color: var(--rht-primary); }
.tutor-card-img { position: relative; background: var(--rht-gray-100); }
.tutor-card-img img { width: 100%; height: 180px; object-fit: cover; }
.tutor-card-avatar { width: 100%; height: 180px; background: linear-gradient(135deg, var(--rht-primary), var(--rht-primary-light)); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--rht-white); font-weight: 700; }
.tutor-card-badges { position: absolute; top: .75rem; left: .75rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.tutor-card-body { padding: 1.25rem; }
.tutor-card-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.tutor-card-qual { color: var(--rht-gray-500); font-size: .875rem; margin-bottom: .5rem; }
.tutor-card-location { display: flex; align-items: center; gap: .375rem; color: var(--rht-gray-500); font-size: .875rem; margin-bottom: .75rem; }
.tutor-card-subjects { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: .75rem; }
.tutor-card-subjects span { background: var(--rht-gray-100); color: var(--rht-gray-700); padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; }
.tutor-card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--rht-gray-100); }
.tutor-rating { display: flex; align-items: center; gap: .375rem; font-weight: 600; font-size: .875rem; }
.tutor-rating .stars { color: #f59e0b; }
.tutor-fee { font-size: .875rem; color: var(--rht-gray-500); }

/* === BROWSE GRIDS === */
.subject-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 1rem; }
.subject-card { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius); padding: 1.5rem 1rem; text-align: center; cursor: pointer; transition: all .2s; text-decoration: none; color: var(--rht-gray-700); }
.subject-card:hover { border-color: var(--rht-primary); background: #eff6ff; color: var(--rht-primary); transform: translateY(-2px); box-shadow: var(--rht-shadow); }
.subject-card .icon { font-size: 2rem; margin-bottom: .5rem; }
.subject-card h4 { font-size: .95rem; margin: 0; }
.subject-card .count { font-size: .8rem; color: var(--rht-gray-500); margin-top: .25rem; }

/* === REQUIREMENTS === */
.requirements-list { display: grid; gap: 1rem; }
.requirement-card { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius); padding: 1.5rem; display: flex; align-items: flex-start; gap: 1.25rem; transition: all .2s; }
.requirement-card:hover { border-color: var(--rht-primary); box-shadow: var(--rht-shadow); }
.req-icon { width: 48px; height: 48px; background: #dbeafe; border-radius: var(--rht-radius); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.req-body h4 { font-size: 1rem; margin-bottom: .375rem; }
.req-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--rht-gray-500); margin-bottom: .5rem; }
.req-meta span { display: flex; align-items: center; gap: .25rem; }
.req-budget { font-weight: 600; color: var(--rht-primary); }

/* === WHY CHOOSE US === */
.why-section { background: var(--rht-gray-50); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-card { background: var(--rht-white); border-radius: var(--rht-radius-lg); padding: 2rem 1.5rem; text-align: center; box-shadow: var(--rht-shadow); border: 1px solid var(--rht-gray-100); transition: all .2s; }
.why-card:hover { border-color: var(--rht-primary); transform: translateY(-4px); }
.why-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--rht-primary), var(--rht-primary-light)); border-radius: var(--rht-radius); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin: 0 auto 1.25rem; }
.why-card h3 { margin-bottom: .5rem; }
.why-card p { color: var(--rht-gray-500); font-size: .9rem; margin: 0; }
@media (max-width: 768px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* === TESTIMONIALS === */
.testimonials-section { background: linear-gradient(135deg, var(--rht-primary-dark), var(--rht-primary)); color: var(--rht-white); }
.testimonials-section .section-title { color: var(--rht-white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.8); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--rht-radius-lg); padding: 1.75rem; }
.testimonial-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: .75rem; letter-spacing: .1em; }
.testimonial-text { color: rgba(255,255,255,.9); font-size: .95rem; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 40px; height: 40px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.testimonial-name { font-weight: 600; font-size: .9rem; }
.testimonial-role { color: rgba(255,255,255,.6); font-size: .8rem; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius); margin-bottom: .75rem; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 1.25rem 1.5rem; background: var(--rht-white); border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1rem; color: var(--rht-gray-900); transition: background .2s; }
.faq-question:hover { background: var(--rht-gray-50); }
.faq-question.open { background: #eff6ff; color: var(--rht-primary); }
.faq-icon { transition: transform .3s; font-size: 1.25rem; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all .3s; background: var(--rht-white); }
.faq-answer.open { padding: 1rem 1.5rem 1.5rem; max-height: 300px; }
.faq-answer p { color: var(--rht-gray-500); margin: 0; line-height: 1.7; }

/* === CTA === */
.cta-section { background: linear-gradient(135deg, var(--rht-accent) 0%, var(--rht-accent-dark) 100%); color: var(--rht-white); text-align: center; padding: 5rem 0; }
.cta-section h2 { color: var(--rht-white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--rht-white); color: var(--rht-accent); font-weight: 700; }
.btn-white:hover { background: var(--rht-gray-50); color: var(--rht-accent-dark); }

/* === FOOTER === */
#colophon { background: var(--rht-gray-900); color: var(--rht-gray-300); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .site-logo { color: var(--rht-white); margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 38px; height: 38px; background: rgba(255,255,255,.1); border-radius: var(--rht-radius); display: flex; align-items: center; justify-content: center; color: var(--rht-gray-300); transition: all .2s; font-size: .85rem; }
.social-links a:hover { background: var(--rht-primary); color: var(--rht-white); }
.footer-col h4 { color: var(--rht-white); font-size: 1rem; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: var(--rht-gray-400); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--rht-white); }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; font-size: .9rem; }
.footer-contact .icon { color: var(--rht-primary); margin-top: .1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; font-size: .875rem; color: var(--rht-gray-500); flex-wrap: wrap; gap: 1rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* === FORMS === */
.rht-form { background: var(--rht-white); border-radius: var(--rht-radius-lg); box-shadow: var(--rht-shadow-lg); padding: 2.5rem; max-width: 520px; margin: 0 auto; }
.rht-form h2 { margin-bottom: .5rem; }
.rht-form .form-subtitle { color: var(--rht-gray-500); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--rht-gray-700); }
.form-control { width: 100%; border: 1px solid var(--rht-gray-300); border-radius: var(--rht-radius); padding: .7rem 1rem; font-size: .95rem; color: var(--rht-gray-900); background: var(--rht-white); transition: border-color .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--rht-primary); box-shadow: 0 0 0 3px rgba(26,86,219,.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .8rem; color: var(--rht-gray-500); margin-top: .3rem; }
.form-error { font-size: .8rem; color: #dc2626; margin-top: .3rem; }
.form-submit { width: 100%; padding: .875rem; font-size: 1rem; }
.form-footer { text-align: center; margin-top: 1.5rem; font-size: .9rem; color: var(--rht-gray-500); }
.form-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--rht-gray-400); font-size: .875rem; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--rht-gray-200); }

/* === SEARCH PAGE === */
.search-page { padding: 2rem 0; }
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }
.search-filters { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius-lg); padding: 1.5rem; height: fit-content; position: sticky; top: 90px; }
.search-filters h3 { margin-bottom: 1.25rem; font-size: 1rem; border-bottom: 1px solid var(--rht-gray-200); padding-bottom: .75rem; }
.filter-group { margin-bottom: 1.25rem; }
.filter-label { font-weight: 600; font-size: .85rem; color: var(--rht-gray-700); margin-bottom: .5rem; display: block; }
.filter-control { width: 100%; border: 1px solid var(--rht-gray-300); border-radius: var(--rht-radius); padding: .55rem .75rem; font-size: .875rem; }
.filter-control:focus { outline: none; border-color: var(--rht-primary); }
.filter-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.search-results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.results-count { font-size: .9rem; color: var(--rht-gray-500); }
@media (max-width: 768px) { .search-layout { grid-template-columns: 1fr; } .search-filters { position: static; } }

/* === TUTOR PROFILE PAGE === */
.profile-page { padding: 2rem 0; }
.profile-header { background: linear-gradient(135deg, var(--rht-primary-dark), var(--rht-primary)); color: var(--rht-white); border-radius: var(--rht-radius-lg); padding: 2.5rem; margin-bottom: 2rem; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: start; }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; border: 4px solid rgba(255,255,255,.3); object-fit: cover; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 700; color: var(--rht-white); overflow: hidden; flex-shrink: 0; }
.profile-info h1 { font-size: 1.75rem; color: var(--rht-white); margin-bottom: .5rem; }
.profile-info p { color: rgba(255,255,255,.8); margin-bottom: .5rem; }
.profile-actions { display: flex; flex-direction: column; gap: .75rem; min-width: 200px; }
.profile-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.profile-section { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius-lg); padding: 1.75rem; margin-bottom: 1.5rem; }
.profile-section h3 { margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--rht-gray-200); }
.profile-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.profile-detail-item label { font-size: .8rem; color: var(--rht-gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: .25rem; }
.profile-detail-item p { font-size: .95rem; color: var(--rht-gray-900); margin: 0; }
.contact-card { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius-lg); padding: 1.75rem; position: sticky; top: 90px; }
.btn-whatsapp { background: #25d366; color: var(--rht-white); }
.btn-whatsapp:hover { background: #128c7e; color: var(--rht-white); }
.btn-call { background: var(--rht-primary); color: var(--rht-white); }
.btn-call:hover { background: var(--rht-primary-dark); color: var(--rht-white); }
@media (max-width: 768px) { .profile-header { grid-template-columns: auto 1fr; } .profile-actions { grid-column: 1/-1; flex-direction: row; flex-wrap: wrap; } .profile-layout { grid-template-columns: 1fr; } .contact-card { position: static; } }

/* === DASHBOARD === */
.dashboard-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; padding: 2rem 0; min-height: calc(100vh - 70px); }
.dashboard-sidebar { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius-lg); padding: 1.5rem; height: fit-content; }
.dashboard-user { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rht-gray-200); }
.dashboard-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, var(--rht-primary), var(--rht-primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--rht-white); font-weight: 700; font-size: 1.1rem; }
.dashboard-username { font-weight: 600; font-size: .95rem; }
.dashboard-role { font-size: .8rem; color: var(--rht-gray-500); }
.dashboard-nav a { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: var(--rht-radius); color: var(--rht-gray-700); font-size: .9rem; font-weight: 500; margin-bottom: .25rem; transition: all .2s; text-decoration: none; }
.dashboard-nav a:hover, .dashboard-nav a.active { background: #eff6ff; color: var(--rht-primary); }
.dashboard-nav a .nav-icon { font-size: 1.1rem; }
.dashboard-content { min-width: 0; }
.dashboard-content h1 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.dashboard-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.dashboard-stat-card { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius-lg); padding: 1.5rem; }
.dashboard-stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--rht-primary); }
.dashboard-stat-card .stat-label { font-size: .875rem; color: var(--rht-gray-500); margin-top: .25rem; }
.dashboard-section { background: var(--rht-white); border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.dashboard-section h3 { margin-bottom: 1.25rem; font-size: 1.1rem; }
@media (max-width: 768px) { .dashboard-layout { grid-template-columns: 1fr; } }

/* === MEMBERSHIP PAGE === */
.membership-page { padding: 4rem 0; }
.membership-card { max-width: 600px; margin: 0 auto; background: var(--rht-white); border: 2px solid var(--rht-primary); border-radius: var(--rht-radius-lg); overflow: hidden; box-shadow: 0 20px 40px rgba(26,86,219,.2); }
.membership-header { background: linear-gradient(135deg, var(--rht-primary-dark), var(--rht-primary)); padding: 2.5rem; text-align: center; color: var(--rht-white); }
.membership-header h2 { color: var(--rht-white); font-size: 1.5rem; margin-bottom: .5rem; }
.membership-price { font-size: 3.5rem; font-weight: 800; color: var(--rht-white); line-height: 1; }
.membership-price sup { font-size: 1.5rem; vertical-align: top; margin-top: .5rem; }
.membership-period { color: rgba(255,255,255,.75); font-size: .95rem; }
.membership-body { padding: 2rem; }
.membership-features { list-style: none; padding: 0; margin-bottom: 2rem; }
.membership-features li { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--rht-gray-100); font-size: .95rem; color: var(--rht-gray-700); }
.membership-features li:last-child { border-bottom: none; }
.feature-check { color: #22c55e; font-weight: 700; font-size: 1.1rem; }

/* === ALERTS & NOTICES === */
.alert { padding: 1rem 1.25rem; border-radius: var(--rht-radius); margin-bottom: 1rem; font-size: .9rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* === BREADCRUMB === */
.breadcrumb { padding: 1rem 0; font-size: .875rem; color: var(--rht-gray-500); }
.breadcrumb a { color: var(--rht-primary); }
.breadcrumb span { margin: 0 .5rem; }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.page-link { padding: .5rem .875rem; border: 1px solid var(--rht-gray-200); border-radius: var(--rht-radius); font-size: .9rem; color: var(--rht-gray-700); text-decoration: none; transition: all .2s; }
.page-link:hover, .page-link.active { background: var(--rht-primary); color: var(--rht-white); border-color: var(--rht-primary); }

/* === LOADING === */
.loading-spinner { display: flex; justify-content: center; align-items: center; padding: 3rem; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--rht-gray-200); border-top-color: var(--rht-primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === RESPONSIVE HELPERS === */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.hidden { display: none; }
@media (max-width: 768px) { .hide-mobile { display: none; } }
@media (min-width: 769px) { .hide-desktop { display: none; } }
