/*
Theme Name: Tistalents - Fiverr Clone
Theme URI: https://tistalents.com
Author: Tistalents Team
Author URI: https://tistalents.com
Description: A complete Fiverr-style freelance marketplace WordPress theme. Features gig posting, advanced search, seller/buyer dashboards, order management, reviews, and payments.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tistalents
Tags: marketplace, freelance, gigs, services, ecommerce
*/

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f7f7;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #1dbf73;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #19a463;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== VARIABLES ===== */
:root {
  --primary: #1dbf73;
  --primary-dark: #19a463;
  --secondary: #ff6b6b;
  --accent: #ffb347;
  --dark: #2c3e50;
  --light: #f7f7f7;
  --white: #ffffff;
  --gray: #7a7d85;
  --gray-light: #b5b6ba;
  --gray-dark: #404145;
  --border: #e4e5e7;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s ease;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 6px 0;
  font-size: 0.8rem;
}

.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #b5b6ba;
}

.top-bar a:hover {
  color: var(--white);
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo span {
  color: var(--primary);
}

/* Search */
.header-search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.search-form {
  display: flex;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,191,115,0.15);
}

.search-form input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  background: transparent;
}

.search-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.search-form button:hover {
  background: var(--primary-dark);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-weight: 500;
  color: var(--gray-dark);
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--light);
  color: var(--primary);
}

/* User menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #34495e;
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}

.btn-white:hover {
  background: var(--light);
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid var(--border);
}

/* ===== CATEGORY BAR ===== */
.category-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.category-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar-inner::-webkit-scrollbar {
  display: none;
}

.cat-link {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-dark);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.cat-link:hover,
.cat-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.04)"/><circle cx="90" cy="90" r="1.5" fill="rgba(255,255,255,0.06)"/></svg>');
  background-size: 200px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-search {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 6px;
  display: flex;
  gap: 6px;
  box-shadow: var(--shadow-lg);
}

.hero-search select,
.hero-search input {
  padding: 12px 14px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  background: var(--light);
  border-radius: var(--radius);
}

.hero-search select {
  min-width: 140px;
  cursor: pointer;
}

.hero-search input {
  flex: 1;
}

.hero-search button {
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.hero-search button:hover {
  background: var(--primary-dark);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Popular tags */
.hero-tags {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-tag {
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}

.hero-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 0;
}

.section-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--gray);
  margin-top: 4px;
}

.view-all {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== GIG CARDS ===== */
.gigs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gig-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.gig-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gig-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.gig-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gig-card:hover .gig-image img {
  transform: scale(1.05);
}

.gig-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.gig-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gig-fav:hover {
  background: var(--secondary);
  color: var(--white);
}

.gig-body {
  padding: 16px;
}

.gig-seller {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.gig-seller img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.gig-seller-info {
  flex: 1;
}

.gig-seller-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.gig-seller-level {
  font-size: 0.7rem;
  color: var(--gray);
}

.gig-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gig-title:hover {
  color: var(--primary);
}

.gig-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.gig-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--gray);
}

.gig-rating .star {
  color: #ffc107;
}

.gig-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.gig-price {
  font-size: 0.8rem;
  color: var(--gray);
}

.gig-price strong {
  font-size: 1.1rem;
  color: var(--dark);
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.category-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29,191,115,0.1);
  border-radius: var(--radius);
  font-size: 1.4rem;
}

.category-card:hover .icon {
  background: var(--primary);
  color: var(--white);
}

.category-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--gray-light);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-light);
}

/* ===== SEARCH PAGE ===== */
.search-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}

.search-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: 80px;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--gray-dark);
  cursor: pointer;
}

.filter-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.price-range {
  display: flex;
  gap: 8px;
  align-items: center;
}

.price-range input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.search-results-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.search-results-header span {
  color: var(--gray);
  font-size: 0.9rem;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--white);
  cursor: pointer;
}

/* ===== GIG DETAIL ===== */
.gig-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}

.gig-main h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.gig-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.gig-gallery img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.gig-description {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.gig-description h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.gig-description p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

/* Sidebar package */
.gig-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.package-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.package-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.package-header p {
  font-size: 0.85rem;
  color: var(--gray);
}

.package-price {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.package-price .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.package-price .delivery {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

.package-features {
  padding: 20px 24px;
  list-style: none;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--gray-dark);
}

.package-features li .check {
  color: var(--primary);
}

.package-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.package-footer .btn {
  width: 100%;
}

/* ===== SELLER CARD ===== */
.seller-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.seller-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.seller-card-header img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.seller-card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.seller-card-header .level {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.seller-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.seller-stat {
  text-align: center;
  padding: 10px;
  background: var(--light);
  border-radius: var(--radius);
}

.seller-stat .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.seller-stat .label {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
}

/* ===== PROFILE PAGE ===== */
.profile-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.profile-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.profile-header-info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.profile-header-info .level {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.profile-header-info p {
  color: var(--gray);
  margin-top: 8px;
}

.profile-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

/* ===== DASHBOARD ===== */
.dashboard {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.dashboard-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: 80px;
}

.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: var(--transition);
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.active {
  background: rgba(29,191,115,0.1);
  color: var(--primary);
}

.dashboard-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.dashboard-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-box .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-box .label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,191,115,0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, #34495e 100%);
  padding: 40px 20px;
}

.auth-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-box .logo {
  justify-content: center;
  margin-bottom: 24px;
}

.auth-box h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-light);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.pagination a {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--border);
}

.pagination a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination span.current {
  background: var(--primary);
  color: var(--white);
}

/* ===== MESSAGES ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(29,191,115,0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(29,191,115,0.2);
}

.alert-error {
  background: rgba(255,107,107,0.1);
  color: #c0392b;
  border: 1px solid rgba(255,107,107,0.2);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 0.85rem;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--dark);
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    margin: 0 auto 32px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  
  .search-page {
    grid-template-columns: 1fr;
  }
  
  .search-sidebar {
    position: static;
  }
  
  .gig-detail {
    grid-template-columns: 1fr;
  }
  
  .gig-sidebar {
    position: static;
  }
  
  .profile-body {
    grid-template-columns: 1fr;
  }
  
  .dashboard {
    grid-template-columns: 1fr;
  }
  
  .dashboard-sidebar {
    position: static;
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }
  
  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  
  .main-nav {
    display: none;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none; }
.loading { opacity: 0.6; pointer-events: none; }


/* ===== BLOG ===== */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--dark);
  font-weight: 700;
  margin: 32px 0 16px;
}

.entry-content h2 { font-size: 1.5rem; }
.entry-content h3 { font-size: 1.3rem; }
.entry-content h4 { font-size: 1.1rem; }

.entry-content p {
  margin-bottom: 16px;
  color: var(--gray-dark);
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content img {
  border-radius: var(--radius);
  margin: 16px 0;
}

.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  background: var(--light);
  margin: 24px 0;
  font-style: italic;
  color: var(--gray-dark);
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
}

.entry-content pre {
  background: var(--dark);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 24px 0;
}

.entry-content code {
  background: var(--light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.entry-content th {
  background: var(--light);
  font-weight: 700;
  color: var(--dark);
}

/* ===== WIDGETS ===== */
.widget {
  margin-bottom: 20px;
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.widget a:hover {
  color: var(--primary);
}

.widget select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ===== COMMENTS ===== */
.comment-list {
  list-style: none;
}

.comment-form {
  margin-top: 32px;
}

.comment-form .form-group {
  margin-bottom: 16px;
}

.comment-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  outline: none;
}

.comment-form textarea:focus,
.comment-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,191,115,0.15);
}

/* ===== WORDPRESS CORE ===== */
.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 20px;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  margin-top: 8px;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.gallery-item img {
  border-radius: var(--radius);
}

.bypostauthor {
  background: rgba(29,191,115,0.05);
}

.sticky {
  border: 2px solid var(--primary);
}

/* ===== RESPONSIVE BLOG ===== */
@media (max-width: 1024px) {
  .site-main > div[style*="grid-template-columns: 1fr 320px"] {
    grid-template-columns: 1fr !important;
  }
  .widget-area {
    position: static;
  }
}

@media (max-width: 768px) {
  .entry-content img {
    width: 100%;
  }
  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin: 16px auto;
  }
}
