/* home.css */
/* Verified Artisan Marketplace - Premium, Modern, Mobile-First Design */
/* Unique prefix "home-" to avoid conflicts */

:root {
  --home-primary-dark: #0A1927;
  --home-primary-deep: #0B2B26;
  --home-accent-gold: #D4AF37;
  --home-accent-gold-light: #F5E7B2;
  --home-text-light: #F8F9FA;
  --home-text-muted: #B8C2C8;
  --home-card-bg: #FFFFFF;
  --home-gray-bg: #F4F6F9;
  --home-shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --home-shadow-md: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
  --home-shadow-lg: 0 25px 40px -12px rgba(0, 0, 0, 0.2);
  --home-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--home-gray-bg);
  color: #1F2937;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ========== STICKY NAVBAR (Mobile-first) ========== */
.home-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 25, 39, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.9rem 1.5rem;
}

.home-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.home-logo {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--home-accent-gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.home-menu-toggle {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--home-accent-gold);
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--home-transition);
}

.home-menu-toggle:hover {
  background: rgba(212, 175, 55, 0.1);
}

.home-nav-links {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.home-nav-links.active {
  max-height: 380px;
}

.home-nav-menu {
  list-style: none;
  padding: 1.2rem 0 0.5rem 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-nav-menu li a {
  color: var(--home-text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--home-transition);
  display: inline-block;
}

.home-nav-menu li a:hover {
  color: var(--home-accent-gold);
  transform: translateX(5px);
}

.home-btn-outline, .home-btn-primary {
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-weight: 600;
  text-align: center;
}

.home-btn-outline {
  border: 1.5px solid var(--home-accent-gold);
  background: transparent;
  color: var(--home-accent-gold);
}

.home-btn-primary {
  background: var(--home-accent-gold);
  color: #0A1927;
  border: none;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Tablet and up */
@media (min-width: 768px) {
  .home-menu-toggle {
    display: none;
  }
  .home-nav-links {
    max-height: none !important;
    width: auto;
  }
  .home-nav-menu {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
  }
  .home-navbar {
    padding: 1rem 2rem;
  }
}

/* ========== HERO SECTION ========== */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, #0A1927 0%, #0F2C28 100%);
  padding: 3rem 1.5rem 5rem;
  overflow: hidden;
  text-align: center;
}

.home-hero-bg-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.home-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.home-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.home-accent {
  color: var(--home-accent-gold);
  border-bottom: 2px dotted rgba(212, 175, 55, 0.5);
}

.home-hero-subtext {
  font-size: 1.1rem;
  color: var(--home-text-muted);
  margin-bottom: 2rem;
}

.home-search-bar {
  background: white;
  border-radius: 80px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--home-shadow-lg);
  margin-bottom: 2rem;
}

.home-search-field {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  border-radius: 60px;
  padding: 0.8rem 1.2rem;
  gap: 12px;
}

.home-search-field i {
  color: var(--home-accent-gold);
  font-size: 1.2rem;
}

.home-search-field input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  outline: none;
  font-weight: 500;
}

.home-search-btn {
  background: var(--home-accent-gold);
  border: none;
  padding: 0.9rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1rem;
  color: #0A1927;
  transition: var(--home-transition);
  cursor: pointer;
  height: 35px;
}

.home-search-btn:hover {
  background: #c4a12b;
  transform: scale(0.98);
}

.home-hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  border-radius: 60px;
  color: #E2E8F0;
  font-size: 0.85rem;
}

@media (min-width: 640px) {
  .home-hero-title { font-size: 3.5rem; }
  .home-search-bar { flex-direction: row; align-items: center; background: white; border-radius: 80px; padding: 0.3rem; }
  .home-search-field { flex: 1; background: #F8FAFE; margin: 0.2rem; }
  .home-search-btn { width: auto; padding: 0 2rem; }
}

/* ========== SECTIONS HEADER ========== */
.home-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.home-section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0A1927;
}

.home-section-header p {
  color: #4B5563;
  margin-top: 0.5rem;
}

/* ========== SERVICE CATEGORIES ========== */
.home-categories {
  padding: 4rem 1rem;
  background: white;
}

.home-cat-card {
  background: white;
  border-radius: 28px;
  padding: 1.6rem 0.8rem;
  text-align: center;
  transition: var(--home-transition);
  box-shadow: var(--home-shadow-sm);
  border: 1px solid #EDF2F7;
  cursor: pointer;
}

.home-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--home-shadow-md);
  border-color: var(--home-accent-gold);
}

.home-cat-icon {
  background: linear-gradient(145deg, #FFF6E5, #FFFAF0);
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  color: var(--home-accent-gold);
}

.home-cat-card h4 {
  font-weight: 700;
  margin: 0.5rem 0 0.2rem;
}

/* ========== FEATURED ARTISANS CARDS ========== */
.home-featured {
  padding: 4rem 1rem;
  background: var(--home-gray-bg);
}

.home-artisan-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  transition: var(--home-transition);
  box-shadow: var(--home-shadow-sm);
}

.home-artisan-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--home-shadow-lg);
}

.home-artisan-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.home-artisan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.home-artisan-card:hover .home-artisan-img img {
  transform: scale(1.05);
}

.home-verified-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--home-accent-gold);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A1927;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.home-artisan-info {
  padding: 1.2rem;
}

.home-artisan-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.home-artisan-service, .home-artisan-location {
  font-size: 0.85rem;
  color: #5B6B79;
  margin-bottom: 0.3rem;
}

.home-rating {
  color: #FBBF24;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.home-rating span {
  color: #4B5563;
  margin-left: 6px;
}

.home-view-all {
  text-align: center;
  margin-top: 3rem;
}

.home-link-more {
  color: var(--home-accent-gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid;
}

/* ========== HOW IT WORKS ========== */
.home-how-it-works {
  padding: 5rem 1rem;
  background: white;
}

.home-step {
  text-align: center;
  position: relative;
}

.home-step-icon {
  font-size: 3rem;
  color: var(--home-accent-gold);
  background: #FFF9EF;
  width: 90px;
  height: 90px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.home-step-num {
  position: absolute;
  top: -10px;
  right: 25%;
  background: #0A1927;
  color: var(--home-accent-gold);
  width: 32px;
  height: 32px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ========== CTA SECTION ========== */
.home-cta {
  background: linear-gradient(120deg, #0A1927, #10312B);
  margin: 0 1rem 3rem;
  border-radius: 48px;
  padding: 2rem;
}

.home-cta-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.home-cta-content h2 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
}

.home-cta-content p {
  color: #CBD5E1;
  margin: 0.5rem 0 1.5rem;
}

.home-cta-btn {
  background: var(--home-accent-gold);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  font-weight: 700;
  transition: var(--home-transition);
  cursor: pointer;
}

.home-cta-illustration i {
  font-size: 5rem;
  color: rgba(212, 175, 55, 0.3);
}

/* ========== FOOTER ========== */
.home-footer {
  background: #0A121E;
  color: #CBD5E1;
  padding: 3rem 1rem 1rem;
}

.home-footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFF, var(--home-accent-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.home-social-icons a {
  background: #1E2A3A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--home-accent-gold);
  margin-right: 0.8rem;
  transition: var(--home-transition);
}

.home-footer-links, .home-footer-contact {
  list-style: none;
  padding: 0;
}

.home-footer-links li a, .home-footer-contact li {
  text-decoration: none;
  color: #94A3B8;
  margin-bottom: 0.6rem;
  display: block;
  transition: 0.2s;
}

.home-footer-links li a:hover {
  color: var(--home-accent-gold);
  padding-left: 5px;
}

.home-copyright {
  text-align: center;
  border-top: 1px solid #1E2A3A;
  padding-top: 2rem;
  margin-top: 2rem;
  font-size: 0.8rem;
}

/* ========== SCROLL ANIMATIONS (fade-in) ========== */
.home-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MOBILE SEARCH BAR FIX ========== */
@media (max-width: 767px) {
    .home-search-bar {
        background: transparent !important;
        padding: 0 !important;
        gap: 10px !important;
        box-shadow: none !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
    
    .home-search-field {
        background: white !important;
        border-radius: 50px !important;
        padding: 10px 14px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .home-search-field i {
        font-size: 0.9rem !important;
        color: #D4AF37 !important;
    }
    
    .home-search-field input {
        font-size: 0.85rem !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .home-search-btn {
        width: 100% !important;
        padding: 10px 14px !important;
        border-radius: 50px !important;
        background: #D4AF37 !important;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 0.85rem !important;
        height: auto !important;
        min-height: 44px !important;
    }
    
    .home-search-btn i {
        margin: 0 !important;
        font-size: 0.85rem !important;
    }
    
    /* Space above trust badge */
    .home-hero-trust-badge {
        margin-top: 20px !important;
    }
}

/* artisans.css */
/* ArtisanConnect - Artisans Page Specific Styles */
/* Prefix: artisans- */
/* All styles assume merging with main.css (no :root redefinition) */

/* ========== NAVBAR (Overrides for consistency) ========== */
.artisans-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 39, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.9rem 1.5rem;
}

.artisans-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.artisans-logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 30%, #D4AF37 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.artisans-menu-toggle {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.artisans-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.artisans-nav-links {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.artisans-nav-links.active {
    max-height: 380px;
}

.artisans-nav-menu {
    list-style: none;
    padding: 1.2rem 0 0.5rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.artisans-nav-menu li a {
    color: #F8F9FA;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.artisans-nav-menu li a:hover,
.artisans-nav-menu li a.active {
    color: #D4AF37;
    transform: translateX(5px);
}

.artisans-btn-outline,
.artisans-btn-primary {
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
}

.artisans-btn-outline {
    border: 1.5px solid #D4AF37;
    background: transparent;
    color: #D4AF37;
}

.artisans-btn-primary {
    background: #D4AF37;
    color: #0A1927;
    border: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

@media (min-width: 768px) {
    .artisans-menu-toggle {
        display: none;
    }
    .artisans-nav-links {
        max-height: none !important;
        width: auto;
    }
    .artisans-nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    .artisans-navbar {
        padding: 1rem 2rem;
    }
}

/* ========== PAGE HEADER ========== */
.artisans-page-header {
    background: linear-gradient(135deg, #0A1927 0%, #0F2C28 100%);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.artisans-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.artisans-page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.artisans-accent {
    color: #D4AF37;
}

.artisans-page-header p {
    font-size: 1.1rem;
    color: #B8C2C8;
}

@media (min-width: 768px) {
    .artisans-page-header h1 {
        font-size: 3rem;
    }
}

/* ========== SEARCH & FILTER SECTION ========== */
.artisans-search-section {
    padding: 2rem 1rem;
    background: #F4F6F9;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.artisans-filter-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.artisans-filter-label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #4B5563;
}

.artisans-input-group {
    display: flex;
    align-items: center;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 0.7rem 1rem;
    transition: all 0.2s;
}

.artisans-input-group:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.artisans-input-group i {
    color: #D4AF37;
    margin-right: 10px;
    font-size: 1rem;
}

.artisans-input-group input,
.artisans-input-group select {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.artisans-filter-btn {
    width: 100%;
    background: #D4AF37;
    border: none;
    padding: 0.85rem;
    border-radius: 16px;
    font-weight: 700;
    color: #0A1927;
    transition: all 0.3s;
    cursor: pointer;
    margin-top: 0.5rem;
}

.artisans-filter-btn:hover {
    background: #c4a12b;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .artisans-filter-btn {
        margin-top: 0;
    }
}

/* ========== ARTISAN LISTING GRID ========== */
.artisans-listing-section {
    padding: 3rem 1rem 5rem;
    background: white;
}

.artisans-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.artisans-results-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1F2937;
}

.artisans-view-toggle i {
    font-size: 1.2rem;
    padding: 8px;
    color: #9CA3AF;
    cursor: pointer;
    transition: 0.2s;
}

.artisans-view-toggle i.active {
    color: #D4AF37;
}

/* Artisan Card */
.artisans-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #EDF2F7;
    height: 100%;
}

.artisans-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.artisans-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #F3F4F6;
}

.artisans-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.artisans-card:hover .artisans-card-img img {
    transform: scale(1.05);
}

.artisans-verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #D4AF37;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A1927;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.artisans-card-info {
    padding: 1.2rem;
}

.artisans-card-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #111827;
}

.artisans-card-service {
    font-size: 0.85rem;
    color: #D4AF37;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.artisans-card-location {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.artisans-rating {
    color: #FBBF24;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.artisans-rating span {
    color: #4B5563;
    margin-left: 6px;
}

.artisans-view-profile-btn {
    width: 100%;
    background: transparent;
    border: 1.5px solid #D4AF37;
    padding: 0.6rem;
    border-radius: 40px;
    font-weight: 600;
    color: #D4AF37;
    transition: all 0.2s;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
}

.artisans-view-profile-btn:hover {
    background: #D4AF37;
    color: #0A1927;
    transform: translateY(-2px);
}

/* Empty State */
.artisans-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #F9FAFB;
    border-radius: 32px;
    margin: 2rem 0;
}

.artisans-empty-state i {
    font-size: 4rem;
    color: #D4AF37;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.artisans-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ========== FOOTER ========== */
.artisans-footer {
    background: #0A121E;
    color: #CBD5E1;
    padding: 3rem 1rem 1rem;
    margin-top: 2rem;
}

.artisans-footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.artisans-social-icons a {
    background: #1E2A3A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #D4AF37;
    margin-right: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
}

.artisans-social-icons a:hover {
    transform: translateY(-3px);
    background: #D4AF37;
    color: #0A121E;
}

.artisans-footer-links,
.artisans-footer-contact {
    list-style: none;
    padding: 0;
}

.artisans-footer-links li a,
.artisans-footer-contact li {
    text-decoration: none;
    color: #94A3B8;
    margin-bottom: 0.6rem;
    display: block;
    transition: 0.2s;
}

.artisans-footer-links li a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.artisans-copyright {
    text-align: center;
    border-top: 1px solid #1E2A3A;
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* Responsive grid refinements */
@media (max-width: 576px) {
    .artisans-filter-card {
        padding: 1.2rem;
    }
    .artisans-card-img {
        height: 180px;
    }
}

/* artisan-detail.css */
/* ArtisanConnect - Artisan Detail Page */
/* Prefix: detail- */
/* Assumes merging with main.css (no :root redefinition) */

/* ========== NAVBAR ========== */
.detail-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 39, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.9rem 1.5rem;
}

.detail-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.detail-logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 30%, #D4AF37 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.detail-menu-toggle {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.detail-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.detail-nav-links {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.detail-nav-links.active {
    max-height: 380px;
}

.detail-nav-menu {
    list-style: none;
    padding: 1.2rem 0 0.5rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-nav-menu li a {
    color: #F8F9FA;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.detail-nav-menu li a:hover {
    color: #D4AF37;
    transform: translateX(5px);
}

.detail-btn-outline,
.detail-btn-primary {
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
}

.detail-btn-outline {
    border: 1.5px solid #D4AF37;
    background: transparent;
    color: #D4AF37;
}

.detail-btn-primary {
    background: #D4AF37;
    color: #0A1927;
    border: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

@media (min-width: 768px) {
    .detail-menu-toggle {
        display: none;
    }
    .detail-nav-links {
        max-height: none !important;
        width: auto;
    }
    .detail-nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    .detail-navbar {
        padding: 1rem 2rem;
    }
}

/* ========== ARTISAN PROFILE SECTION ========== */
.detail-profile-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
}

.detail-profile-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .detail-profile-grid {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}

.detail-profile-image {
    flex: 1;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.15);
}

.detail-profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-verified-large {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #D4AF37;
    color: #0A1927;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.detail-profile-info {
    flex: 1.5;
}

.detail-profile-info h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.detail-artisan-service {
    font-size: 1rem;
    color: #D4AF37;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-artisan-location {
    color: #6B7280;
    margin-bottom: 1rem;
}

.detail-artisan-address {
    color: #6B7280;
    margin-bottom: 1rem;
}

/* Keep address icon color consistent with location icon */
.detail-artisan-address i {
    color: #6B7280;
}

.detail-rating-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-stars {
    color: #FBBF24;
    font-size: 1rem;
}

.detail-artisan-bio {
    color: #4B5563;
    line-height: 1.6;
    font-size: 1rem;
}

/* ========== CONTACT SECTION ========== */
.detail-contact-section {
    padding: 2rem 1rem;
    background: white;
}

.detail-contact-card {
    max-width: 700px;
    margin: 0 auto;
    background: #F9FAFB;
    border-radius: 32px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.detail-contact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.detail-contact-details {
    margin-bottom: 1.5rem;
}

.detail-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0.8rem;
    background: white;
    border-radius: 16px;
    margin-bottom: 0.8rem;
}

.detail-contact-item i {
    color: #D4AF37;
    width: 24px;
}

.detail-contact-note {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.detail-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
}

.detail-whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: white;
}

/* ========== REVIEWS SECTION ========== */
.detail-reviews-section {
    padding: 3rem 1rem;
    background: #F4F6F9;
}

.detail-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.detail-reviews-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.detail-add-review-btn {
    background: #D4AF37;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.detail-add-review-btn:hover {
    background: #c4a12b;
    transform: translateY(-2px);
}

.detail-reviews-list {
    max-width: 800px;
    margin: 0 auto;
}

.detail-review-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.2s;
}

.detail-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.detail-reviewer-name {
    font-weight: 700;
    color: #111827;
}

.detail-review-stars {
    color: #FBBF24;
    font-size: 0.85rem;
}

.detail-review-date {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.detail-review-comment {
    color: #4B5563;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* ========== COMPLAINT BUTTON ========== */
.detail-complaint-section {
    padding: 2rem 1rem 4rem;
    text-align: center;
}

.detail-report-btn {
    background: transparent;
    border: 2px solid #EF4444;
    color: #EF4444;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.detail-report-btn:hover {
    background: #EF4444;
    color: white;
    transform: translateY(-2px);
}

/* ========== MODAL STYLES ========== */
.detail-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.detail-modal-content {
    background: white;
    margin: 1rem;
    border-radius: 32px;
    max-width: 500px;
    width: 90%;
    animation: detailModalSlideIn 0.3s ease;
}

@keyframes detailModalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.detail-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.detail-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.detail-modal-close {
    font-size: 1.8rem;
    cursor: pointer;
    color: #9CA3AF;
    transition: 0.2s;
}

.detail-modal-close:hover {
    color: #EF4444;
}

.detail-modal-body {
    padding: 1.5rem;
}

.detail-form-group {
    margin-bottom: 1.2rem;
}

.detail-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.detail-form-group input,
.detail-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}

.detail-form-group input:focus,
.detail-form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.detail-modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.detail-modal-cancel,
.detail-modal-submit {
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.detail-modal-cancel {
    background: #F3F4F6;
    border: none;
    color: #4B5563;
}

.detail-modal-submit {
    background: #EF4444;
    border: none;
    color: white;
}

.detail-modal-submit:hover {
    background: #DC2626;
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.detail-footer {
    background: #0A121E;
    color: #CBD5E1;
    padding: 3rem 1rem 1rem;
}

.detail-footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.detail-social-icons a {
    background: #1E2A3A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #D4AF37;
    margin-right: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
}

.detail-social-icons a:hover {
    transform: translateY(-3px);
    background: #D4AF37;
    color: #0A121E;
}

.detail-footer-links,
.detail-footer-contact {
    list-style: none;
    padding: 0;
}

.detail-footer-links li a,
.detail-footer-contact li {
    text-decoration: none;
    color: #94A3B8;
    margin-bottom: 0.6rem;
    display: block;
    transition: 0.2s;
}

.detail-footer-links li a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.detail-copyright {
    text-align: center;
    border-top: 1px solid #1E2A3A;
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 576px) {
    .detail-profile-info h1 {
        font-size: 1.5rem;
    }
    .detail-contact-card {
        padding: 1.5rem;
    }
}

/* login.css */
/* ArtisanConnect - Login Page */
/* Prefix: login- */

/* ========== NAVBAR ========== */
.login-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 39, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.9rem 1.5rem;
}

.login-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.login-logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 30%, #D4AF37 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.login-menu-toggle {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.login-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.login-nav-links {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.login-nav-links.active {
    max-height: 280px;
}

.login-nav-menu {
    list-style: none;
    padding: 1.2rem 0 0.5rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-nav-menu li a {
    color: #F8F9FA;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.login-nav-menu li a:hover {
    color: #D4AF37;
    transform: translateX(5px);
}

@media (min-width: 768px) {
    .login-menu-toggle {
        display: none;
    }
    .login-nav-links {
        max-height: none !important;
        width: auto;
    }
    .login-nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    .login-navbar {
        padding: 1rem 2rem;
    }
}

/* ========== MAIN LOGIN CONTAINER ========== */
.login-main {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #F4F6F9 0%, #FFFFFF 100%);
}

.login-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.login-card {
    background: white;
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.login-card:hover {
    transform: translateY(-4px);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #6B7280;
    font-size: 0.95rem;
}

/* ========== FORM STYLES ========== */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-input-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.login-input-icon {
    display: flex;
    align-items: center;
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    background: #F9FAFB;
}

.login-input-icon:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: white;
}

.login-input-icon i {
    color: #9CA3AF;
    margin-right: 12px;
    font-size: 1rem;
    transition: color 0.2s;
}

.login-input-icon:focus-within i {
    color: #D4AF37;
}

.login-input-icon input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.login-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4B5563;
    cursor: pointer;
}

.login-forgot {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.login-forgot:hover {
    color: #c4a12b;
    text-decoration: underline;
}

.login-btn {
    background: #D4AF37;
    color: #0A1927;
    border: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.login-btn:hover {
    background: #c4a12b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.3);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.login-footer p {
    color: #6B7280;
    font-size: 0.9rem;
}

.login-footer a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* ========== FOOTER ========== */
.login-footer-section {
    background: #0A121E;
    color: #CBD5E1;
    padding: 3rem 1rem 1rem;
}

.login-footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.login-footer-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

.login-social-icons a {
    background: #1E2A3A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #D4AF37;
    margin-right: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
}

.login-social-icons a:hover {
    transform: translateY(-3px);
    background: #D4AF37;
    color: #0A121E;
}

.login-footer-links,
.login-footer-contact {
    list-style: none;
    padding: 0;
}

.login-footer-links li a,
.login-footer-contact li {
    text-decoration: none;
    color: #94A3B8;
    margin-bottom: 0.6rem;
    display: block;
    transition: 0.2s;
}

.login-footer-links li a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.login-copyright {
    text-align: center;
    border-top: 1px solid #1E2A3A;
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 576px) {
    .login-card {
        padding: 1.5rem;
    }
    .login-header h1 {
        font-size: 1.5rem;
    }
}

/* register.css */
/* ArtisanConnect - Register Page */
/* Prefix: register- */

/* ========== NAVBAR ========== */
.register-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 39, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.9rem 1.5rem;
}

.register-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.register-logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 30%, #D4AF37 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.register-menu-toggle {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.register-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.register-nav-links {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.register-nav-links.active {
    max-height: 280px;
}

.register-nav-menu {
    list-style: none;
    padding: 1.2rem 0 0.5rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.register-nav-menu li a {
    color: #F8F9FA;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.register-nav-menu li a:hover {
    color: #D4AF37;
    transform: translateX(5px);
}

@media (min-width: 768px) {
    .register-menu-toggle {
        display: none;
    }
    .register-nav-links {
        max-height: none !important;
        width: auto;
    }
    .register-nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    .register-navbar {
        padding: 1rem 2rem;
    }
}

/* ========== MAIN REGISTER CONTAINER ========== */
.register-main {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #F4F6F9 0%, #FFFFFF 100%);
}

.register-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.register-card {
    background: white;
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.register-card:hover {
    transform: translateY(-4px);
}

.register-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.register-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.register-header p {
    color: #6B7280;
    font-size: 0.95rem;
}

/* ========== USER TYPE TOGGLE ========== */
.register-user-type {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: #F3F4F6;
    padding: 0.5rem;
    border-radius: 60px;
}

.register-type-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: transparent;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #6B7280;
}

.register-type-btn.active {
    background: #D4AF37;
    color: #0A1927;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* ========== FORM STYLES ========== */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.register-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.register-input-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.register-input-icon {
    display: flex;
    align-items: center;
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    background: #F9FAFB;
}

.register-input-icon:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: white;
}

.register-input-icon i {
    color: #9CA3AF;
    margin-right: 12px;
    font-size: 1rem;
    transition: color 0.2s;
}

.register-input-icon:focus-within i {
    color: #D4AF37;
}

.register-input-icon input,
.register-input-icon select {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.register-input-icon select {
    cursor: pointer;
}

.register-btn {
    background: #D4AF37;
    color: #0A1927;
    border: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.register-btn:hover {
    background: #c4a12b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.3);
}

.register-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.register-footer p {
    color: #6B7280;
    font-size: 0.9rem;
}

.register-footer a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.register-footer a:hover {
    text-decoration: underline;
}

/* Error styling */
.register-error {
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* ========== FOOTER ========== */
.register-footer-section {
    background: #0A121E;
    color: #CBD5E1;
    padding: 3rem 1rem 1rem;
}

.register-footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.register-footer-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

.register-social-icons a {
    background: #1E2A3A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #D4AF37;
    margin-right: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
}

.register-social-icons a:hover {
    transform: translateY(-3px);
    background: #D4AF37;
    color: #0A121E;
}

.register-footer-links,
.register-footer-contact {
    list-style: none;
    padding: 0;
}

.register-footer-links li a,
.register-footer-contact li {
    text-decoration: none;
    color: #94A3B8;
    margin-bottom: 0.6rem;
    display: block;
    transition: 0.2s;
}

.register-footer-links li a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.register-copyright {
    text-align: center;
    border-top: 1px solid #1E2A3A;
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 576px) {
    .register-card {
        padding: 1.5rem;
    }
    .register-header h1 {
        font-size: 1.5rem;
    }
}

/* about.css */
/* ArtisanConnect - About Page */
/* Prefix: about- */

/* ========== NAVBAR ========== */
.about-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 39, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.9rem 1.5rem;
}

.about-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 30%, #D4AF37 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.about-menu-toggle {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.about-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.about-nav-links {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.about-nav-links.active {
    max-height: 380px;
}

.about-nav-menu {
    list-style: none;
    padding: 1.2rem 0 0.5rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-nav-menu li a {
    color: #F8F9FA;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.about-nav-menu li a:hover,
.about-nav-menu li a.active {
    color: #D4AF37;
    transform: translateX(5px);
}

.about-btn-outline,
.about-btn-primary {
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
}

.about-btn-outline {
    border: 1.5px solid #D4AF37;
    background: transparent;
    color: #D4AF37;
}

.about-btn-primary {
    background: #D4AF37;
    color: #0A1927;
    border: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

@media (min-width: 768px) {
    .about-menu-toggle {
        display: none;
    }
    .about-nav-links {
        max-height: none !important;
        width: auto;
    }
    .about-nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    .about-navbar {
        padding: 1rem 2rem;
    }
}

/* ========== PAGE HEADER ========== */
.about-header {
    background: linear-gradient(135deg, #0A1927 0%, #0F2C28 100%);
    padding: 4rem 1.5rem;
    text-align: center;
}

.about-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.about-accent {
    color: #D4AF37;
}

.about-header p {
    font-size: 1.1rem;
    color: #B8C2C8;
}

@media (min-width: 768px) {
    .about-header h1 {
        font-size: 3rem;
    }
}

/* ========== PROBLEM SECTION ========== */
.about-problem {
    padding: 4rem 1rem;
    background: white;
}

.about-grid-2col {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.about-text-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.about-text-content p {
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-icon-visual i {
    font-size: 6rem;
    color: #D4AF37;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .about-grid-2col {
        flex-direction: row;
        justify-content: space-between;
    }
    .about-text-content {
        flex: 1.5;
    }
    .about-icon-visual {
        flex: 0.5;
        text-align: center;
    }
}

/* ========== SOLUTION SECTION ========== */
.about-solution {
    padding: 4rem 1rem;
    background: #F4F6F9;
}

.about-solution-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-solution-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.about-solution-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.about-solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
}

.about-solution-card i {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.about-solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.about-solution-card p {
    color: #6B7280;
}

/* ========== TRUST SECTION ========== */
.about-trust {
    padding: 4rem 1rem;
    background: white;
}

.about-trust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-trust-header h2 {
    font-size: 2rem;
    font-weight: 800;
}

.about-trust-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 20px;
    background: #F9FAFB;
    transition: all 0.3s;
    height: 100%;
}

.about-trust-card:hover {
    background: white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.about-trust-icon i {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

/* ========== STATS SECTION ========== */
.about-stats {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #0A1927 0%, #0F2C28 100%);
    color: white;
}

.about-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.about-stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========== FOOTER ========== */
.about-footer {
    background: #0A121E;
    color: #CBD5E1;
    padding: 3rem 1rem 1rem;
}

.about-footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.about-social-icons a {
    background: #1E2A3A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #D4AF37;
    margin-right: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
}

.about-social-icons a:hover {
    transform: translateY(-3px);
    background: #D4AF37;
    color: #0A121E;
}

.about-footer-links,
.about-footer-contact {
    list-style: none;
    padding: 0;
}

.about-footer-links li a,
.about-footer-contact li {
    text-decoration: none;
    color: #94A3B8;
    margin-bottom: 0.6rem;
    display: block;
    transition: 0.2s;
}

.about-footer-links li a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.about-copyright {
    text-align: center;
    border-top: 1px solid #1E2A3A;
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

@media (max-width: 576px) {
    .about-stat h3 {
        font-size: 1.8rem;
    }
}

/* contact.css */
/* ArtisanConnect - Contact Page */
/* Prefix: contact- */

/* ========== NAVBAR ========== */
.contact-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 39, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.9rem 1.5rem;
}

.contact-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 30%, #D4AF37 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.contact-menu-toggle {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.contact-nav-links {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.contact-nav-links.active {
    max-height: 380px;
}

.contact-nav-menu {
    list-style: none;
    padding: 1.2rem 0 0.5rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-nav-menu li a {
    color: #F8F9FA;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.contact-nav-menu li a:hover,
.contact-nav-menu li a.active {
    color: #D4AF37;
    transform: translateX(5px);
}

.contact-btn-outline,
.contact-btn-primary {
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
}

.contact-btn-outline {
    border: 1.5px solid #D4AF37;
    background: transparent;
    color: #D4AF37;
}

.contact-btn-primary {
    background: #D4AF37;
    color: #0A1927;
    border: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

@media (min-width: 768px) {
    .contact-menu-toggle {
        display: none;
    }
    .contact-nav-links {
        max-height: none !important;
        width: auto;
    }
    .contact-nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    .contact-navbar {
        padding: 1rem 2rem;
    }
}

/* ========== PAGE HEADER ========== */
.contact-header {
    background: linear-gradient(135deg, #0A1927 0%, #0F2C28 100%);
    padding: 4rem 1.5rem;
    text-align: center;
}

.contact-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.contact-accent {
    color: #D4AF37;
}

.contact-header p {
    font-size: 1.1rem;
    color: #B8C2C8;
}

@media (min-width: 768px) {
    .contact-header h1 {
        font-size: 3rem;
    }
}

/* ========== FAQ SECTION ========== */
.contact-faq {
    padding: 4rem 1rem;
    background: white;
}

.contact-faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-faq-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-faq-item {
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 24px;
    transition: all 0.3s;
    height: 100%;
}

.contact-faq-item:hover {
    background: white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.contact-faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #111827;
}

.contact-faq-item h3 i {
    color: #D4AF37;
    margin-right: 10px;
}

.contact-faq-item p {
    color: #6B7280;
    line-height: 1.5;
}

/* ========== CONTACT FORM SECTION ========== */
.contact-form-section {
    padding: 4rem 1rem;
    background: #F4F6F9;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-grid {
        flex-direction: row;
        gap: 3rem;
    }
    .contact-form-container,
    .contact-map-container {
        flex: 1;
    }
}

.contact-form-container h2,
.contact-map-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.contact-input-group {
    margin-bottom: 1.2rem;
}

.contact-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-input-icon {
    display: flex;
    align-items: flex-start;
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    background: #F9FAFB;
}

.contact-input-icon:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: white;
}

.contact-input-icon i {
    color: #9CA3AF;
    margin-right: 12px;
    margin-top: 4px;
}

.contact-input-icon input,
.contact-input-icon textarea {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.contact-input-icon textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-submit-btn {
    background: #D4AF37;
    color: #0A1927;
    border: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.contact-submit-btn:hover {
    background: #c4a12b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.3);
}

/* Map Container */
.contact-map-placeholder {
    background: white;
    padding: 1.5rem;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.contact-map-placeholder > i {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.contact-static-map {
    margin: 1rem 0;
    border-radius: 16px;
    overflow: hidden;
}

.contact-map-note {
    margin-top: 1rem;
    padding: 0.8rem;
    background: #F3F4F6;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #4B5563;
}

/* ========== FOOTER ========== */
.contact-footer {
    background: #0A121E;
    color: #CBD5E1;
    padding: 3rem 1rem 1rem;
}

.contact-footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.contact-social-icons a {
    background: #1E2A3A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #D4AF37;
    margin-right: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
}

.contact-social-icons a:hover {
    transform: translateY(-3px);
    background: #D4AF37;
    color: #0A121E;
}

.contact-footer-links,
.contact-footer-contact {
    list-style: none;
    padding: 0;
}

.contact-footer-links li a,
.contact-footer-contact li {
    text-decoration: none;
    color: #94A3B8;
    margin-bottom: 0.6rem;
    display: block;
    transition: 0.2s;
}

.contact-footer-links li a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.contact-copyright {
    text-align: center;
    border-top: 1px solid #1E2A3A;
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* Error styling */
.contact-error {
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

/* admin-dashboard.css */
/* ArtisanConnect - Admin Dashboard Premium */
/* Prefix: admin- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F0F2F5;
    overflow-x: hidden;
}

/* ========== SIDEBAR ========== */
.admin-app {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100%;
    background: #0A121F;
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
}

.admin-sidebar.active {
    left: 0;
}

.admin-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.admin-sidebar-close {
    background: transparent;
    border: none;
    color: #D4AF37;
    font-size: 1.2rem;
    cursor: pointer;
    display: block;
}

@media (min-width: 1024px) {
    .admin-sidebar {
        left: 0;
        position: sticky;
        top: 0;
    }
    .admin-sidebar-close {
        display: none;
    }
}

.admin-sidebar-nav ul {
    list-style: none;
    padding: 1rem 0;
}

.admin-sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 1.5rem;
    color: #A0AEC0;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.admin-sidebar-nav li a i {
    width: 24px;
    font-size: 1.1rem;
}

.admin-sidebar-nav li a:hover,
.admin-sidebar-nav li a.admin-nav-active {
    background: rgba(212, 175, 55, 0.12);
    color: #D4AF37;
    border-left: 3px solid #D4AF37;
}

/* ========== TOP NAVBAR (GRADIENT) ========== */
.admin-main {
    flex: 1;
    width: 100%;
}

.admin-topbar {
    background: linear-gradient(135deg, #0A1927 0%, #0F2C28 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 99;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-menu-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 1.3rem;
    color: #D4AF37;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    transition: all 0.2s;
}

.admin-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.3);
}

.admin-page-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

@media (min-width: 1024px) {
    .admin-menu-toggle {
        display: none;
    }
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.admin-notification {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: #D4AF37;
}

.admin-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #EF4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 20px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    object-fit: cover;
}

.admin-user-info {
    display: flex;
    flex-direction: column;
}

.admin-user-name {
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.admin-user-role {
    font-size: 0.7rem;
    color: #B8C2C8;
}

/* ========== DASHBOARD CONTENT ========== */
.admin-content {
    padding: 2rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.admin-stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-stat-icon i {
    font-size: 2rem;
    color: #D4AF37;
}

.admin-stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #111827;
}

.admin-stat-info p {
    color: #6B7280;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== TABLES ========== */
.admin-table-container {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.admin-table-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1F2937;
}

.admin-search-input {
    padding: 0.6rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 40px;
    width: 260px;
    outline: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.admin-search-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.admin-table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #F0F2F5;
}

.admin-table th {
    font-weight: 700;
    color: #4B5563;
    background: #F9FAFB;
    font-size: 0.85rem;
}

.admin-table tr:hover {
    background: #F9FAFB;
}

/* Badges */
.admin-badge-verified {
    background: #10B981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

.admin-badge-pending {
    background: #F59E0B;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 40px;
    font-size: 0.7rem;
}

.admin-badge-resolved {
    background: #10B981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 40px;
    font-size: 0.7rem;
}

.admin-stars {
    color: #FBBF24;
    font-size: 0.8rem;
}

/* Action Buttons */
.admin-btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 5px;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.2s;
}

.admin-btn-approve {
    color: #10B981;
}
.admin-btn-approve:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: scale(1.05);
}
.admin-btn-reject {
    color: #EF4444;
}
.admin-btn-reject:hover {
    background: rgba(239, 68, 68, 0.1);
}
.admin-btn-view {
    color: #3B82F6;
}
.admin-btn-view:hover {
    background: rgba(59, 130, 246, 0.1);
}
.admin-btn-resolve {
    color: #10B981;
}
.admin-btn-pending {
    color: #F59E0B;
}

/* Overlay */
.admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.admin-overlay.active {
    display: block;
}

@media (min-width: 1024px) {
    .admin-overlay {
        display: none !important;
    }
}

/* ========== MODALS ========== */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.admin-modal-content {
    background: white;
    border-radius: 32px;
    max-width: 600px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

.admin-modal-small {
    max-width: 450px;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.admin-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
}

.admin-modal-close {
    font-size: 1.8rem;
    cursor: pointer;
    color: #9CA3AF;
    transition: 0.2s;
    line-height: 1;
}

.admin-modal-close:hover {
    color: #EF4444;
}

.admin-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.admin-modal-footer {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.admin-modal-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.admin-modal-close-btn,
.admin-modal-cancel {
    background: #F3F4F6;
    color: #4B5563;
}

.admin-modal-confirm {
    background: #D4AF37;
    color: #0A1927;
}

.admin-modal-confirm:hover {
    background: #c4a12b;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .admin-content {
        padding: 1rem;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    .admin-table-header {
        flex-direction: column;
        align-items: stretch;
    }
    .admin-search-input {
        width: 100%;
    }
    .admin-topbar {
        padding: 0.8rem 1rem;
    }
    .admin-user-info {
        display: none;
    }
}

/* admin-dashboard.css - Fixed spacing and sidebar height */
/* ArtisanConnect - Admin Dashboard Premium */
/* Prefix: admin- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F0F2F5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== SIDEBAR - FULL HEIGHT FIX ========== */
.admin-app {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #0A121F;
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-sidebar.active {
    left: 0;
}

.admin-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.admin-sidebar-close {
    background: transparent;
    border: none;
    color: #D4AF37;
    font-size: 1.2rem;
    cursor: pointer;
    display: block;
}

@media (min-width: 1024px) {
    .admin-sidebar {
        left: 0;
        position: sticky;
        top: 0;
        height: 100vh;
    }
    .admin-sidebar-close {
        display: none;
    }
}

.admin-sidebar-nav ul {
    list-style: none;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.admin-sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 1.5rem;
    color: #A0AEC0;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.admin-sidebar-nav li a i {
    width: 24px;
    font-size: 1.1rem;
}

.admin-sidebar-nav li a:hover,
.admin-sidebar-nav li a.admin-nav-active {
    background: rgba(212, 175, 55, 0.12);
    color: #D4AF37;
    border-left: 3px solid #D4AF37;
}

/* ========== TOP NAVBAR ========== */
.admin-main {
    flex: 1;
    width: 100%;
    min-height: 100vh;
}

.admin-topbar {
    background: linear-gradient(135deg, #0A1927 0%, #0F2C28 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 99;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-menu-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 1.3rem;
    color: #D4AF37;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    transition: all 0.2s;
}

.admin-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.3);
}

.admin-page-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

@media (min-width: 1024px) {
    .admin-menu-toggle {
        display: none;
    }
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.admin-notification {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: #D4AF37;
}

.admin-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #EF4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 20px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    object-fit: cover;
}

.admin-user-info {
    display: flex;
    flex-direction: column;
}

.admin-user-name {
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.admin-user-role {
    font-size: 0.7rem;
    color: #B8C2C8;
}

/* ========== DASHBOARD CONTENT - IMPROVED CARD SPACING ========== */
.admin-content {
    padding: 2rem;
}

/* Stats Grid - Enhanced spacing */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

/* Individual Cards - Standalone with breathing space */
.admin-stat-card {
    background: white;
    padding: 24px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.admin-stat-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-stat-icon i {
    font-size: 28px;
    color: #D4AF37;
}

.admin-stat-info {
    flex: 1;
}

.admin-stat-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #111827;
    line-height: 1.2;
}

.admin-stat-info p {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin: 0;
}

/* ========== TABLES ========== */
.admin-table-container {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
    gap: 16px;
}

.admin-table-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1F2937;
}

.admin-search-input {
    padding: 0.6rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 40px;
    width: 260px;
    outline: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.admin-search-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.admin-table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #F0F2F5;
}

.admin-table th {
    font-weight: 700;
    color: #4B5563;
    background: #F9FAFB;
    font-size: 0.85rem;
}

.admin-table tr:hover {
    background: #F9FAFB;
}

/* Badges */
.admin-badge-verified {
    background: #10B981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

.admin-badge-pending {
    background: #F59E0B;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 40px;
    font-size: 0.7rem;
}

.admin-badge-resolved {
    background: #10B981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 40px;
    font-size: 0.7rem;
}

.admin-stars {
    color: #FBBF24;
    font-size: 0.8rem;
}

/* Action Buttons */
.admin-btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 5px;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.2s;
}

.admin-btn-approve {
    color: #10B981;
}
.admin-btn-approve:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: scale(1.05);
}
.admin-btn-reject {
    color: #EF4444;
}
.admin-btn-reject:hover {
    background: rgba(239, 68, 68, 0.1);
}
.admin-btn-view {
    color: #3B82F6;
}
.admin-btn-view:hover {
    background: rgba(59, 130, 246, 0.1);
}
.admin-btn-resolve {
    color: #10B981;
}
.admin-btn-pending {
    color: #F59E0B;
}

/* Overlay */
.admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.admin-overlay.active {
    display: block;
}

@media (min-width: 1024px) {
    .admin-overlay {
        display: none !important;
    }
}

/* ========== MODALS ========== */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.admin-modal-content {
    background: white;
    border-radius: 32px;
    max-width: 600px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

.admin-modal-small {
    max-width: 450px;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.admin-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
}

.admin-modal-close {
    font-size: 1.8rem;
    cursor: pointer;
    color: #9CA3AF;
    transition: 0.2s;
    line-height: 1;
}

.admin-modal-close:hover {
    color: #EF4444;
}

.admin-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.admin-detail-row {
    padding: 8px 0;
    border-bottom: 1px solid #F0F2F5;
}

.admin-detail-row:last-child {
    border-bottom: none;
}

.admin-modal-footer {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.admin-modal-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.admin-modal-close-btn,
.admin-modal-cancel {
    background: #F3F4F6;
    color: #4B5563;
}

.admin-modal-confirm {
    background: #D4AF37;
    color: #0A1927;
}

.admin-modal-confirm:hover {
    background: #c4a12b;
    transform: translateY(-2px);
}

/* Sections */
.admin-section {
    margin-top: 0;
}

/* ========== RESPONSIVE FIXES ========== */
@media (max-width: 768px) {
    .admin-content {
        padding: 1rem;
    }
    
    .admin-stats-grid {
        gap: 20px;
        margin-bottom: 32px;
    }
    
    .admin-stat-card {
        padding: 18px 16px;
        gap: 14px;
    }
    
    .admin-stat-icon {
        width: 52px;
        height: 52px;
    }
    
    .admin-stat-icon i {
        font-size: 22px;
    }
    
    .admin-stat-info h3 {
        font-size: 22px;
        margin-bottom: 4px;
    }
    
    .admin-stat-info p {
        font-size: 12px;
    }
    
    .admin-table-container {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .admin-table-header {
        margin-bottom: 16px;
    }
    
    .admin-search-input {
        width: 100%;
    }
    
    .admin-topbar {
        padding: 0.8rem 1rem;
    }
    
    .admin-user-info {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .admin-stats-grid {
        gap: 24px;
    }
    
    .admin-stat-card {
        padding: 20px;
    }
    
    .admin-stat-icon {
        width: 58px;
        height: 58px;
    }
    
    .admin-stat-info h3 {
        font-size: 24px;
    }
}

/* Fix for card spacing only */
/* Add these styles to your existing admin-dashboard.css */

/* Increase spacing between cards */
.admin-stats-grid {
    gap: 32px !important;
    margin-bottom: 48px !important;
}

/* For mobile - vertical spacing between stacked cards */
@media (max-width: 768px) {
    .admin-stats-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
    }
}

/* Increase internal padding for breathing room */
.admin-stat-card {
    padding: 28px 24px !important;
    gap: 20px !important;
}

/* Larger icon and numbers for better visual balance */
.admin-stat-icon {
    width: 70px !important;
    height: 70px !important;
}

.admin-stat-icon i {
    font-size: 32px !important;
}

.admin-stat-info h3 {
    font-size: 32px !important;
    margin-bottom: 8px !important;
}

.admin-stat-info p {
    font-size: 14px !important;
}

/* Force card spacing on ALL screen sizes - Add to your admin-dashboard.css */

/* Override any existing grid gaps */
.admin-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 32px !important;
    margin-bottom: 48px !important;
}

/* Force spacing on each individual card wrapper */
.admin-stats-grid > * {
    margin-bottom: 0 !important;
}

/* Internal card spacing */
.admin-stat-card {
    padding: 28px 24px !important;
    gap: 20px !important;
    margin: 0 !important;
}

/* Larger visual elements */
.admin-stat-icon {
    width: 70px !important;
    height: 70px !important;
}

.admin-stat-icon i {
    font-size: 32px !important;
}

.admin-stat-info h3 {
    font-size: 32px !important;
    margin-bottom: 8px !important;
}

/* Ensure desktop gets the spacing */
@media (min-width: 769px) {
    .admin-stats-grid {
        gap: 32px !important;
    }
}

/* Add to admin-dashboard.css - Hide stats on non-dashboard pages */
.admin-section:not(#adminStatsGrid) .admin-stats-grid,
#adminArtisansSection .admin-stats-grid,
#adminClientsSection .admin-stats-grid,
#adminComplaintsSection .admin-stats-grid {
    display: none !important;
}

/* Force hide stats cards on artisans, clients, complaints pages */
body:has(#adminArtisansSection[style*="block"]) .admin-stats-grid,
body:has(#adminClientsSection[style*="block"]) .admin-stats-grid,
body:has(#adminComplaintsSection[style*="block"]) .admin-stats-grid {
    display: none !important;
}

/* Make stat cards one per row with longer width */
.admin-stats-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    margin-bottom: 48px !important;
    width: 100% !important;
}

/* Make each card stretch full width */
.admin-stat-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 32px 28px !important;
    gap: 24px !important;
    box-sizing: border-box !important;
}

/* Expand the content area */
.admin-stat-info {
    flex: 1 !important;
}

.admin-stat-info h3 {
    font-size: 36px !important;
    margin-bottom: 8px !important;
}

.admin-stat-info p {
    font-size: 16px !important;
}

/* Icon size adjustment */
.admin-stat-icon {
    width: 80px !important;
    height: 80px !important;
}

.admin-stat-icon i {
    font-size: 38px !important;
}

/* Remove any max-width restrictions */
.admin-content {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* Improve complaint table action buttons */
.admin-table td:last-child {
    white-space: nowrap !important;
}

.admin-btn-resolve,
.admin-btn-pending {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.admin-btn-resolve {
    color: #10B981 !important;
}

.admin-btn-resolve:hover {
    background: rgba(16, 185, 129, 0.15) !important;
    transform: scale(1.05) !important;
}

.admin-btn-pending {
    color: #F59E0B !important;
}

.admin-btn-pending:hover {
    background: rgba(245, 158, 11, 0.15) !important;
    transform: scale(1.05) !important;
}

/* Add tooltip-like labels on hover */
.admin-btn-resolve::after {
    content: "Mark Resolved";
    position: absolute;
    background: #1F2937;
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    transform: translateY(-25px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.admin-btn-pending::after {
    content: "Mark Pending";
    position: absolute;
    background: #1F2937;
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    transform: translateY(-25px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.admin-btn-resolve:hover::after,
.admin-btn-pending:hover::after {
    opacity: 1;
}

/* Make action buttons position relative for tooltip */
.admin-table td:last-child button {
    position: relative;
}

#artisans-reg {
    text-decoration: none;
    color: #0A1927;
}

/* Hide the default two icons and show a single action icon */
.admin-table td:last-child {
    white-space: nowrap !important;
}

/* Hide the individual buttons and show a combined dropdown style */
.admin-btn-resolve, 
.admin-btn-pending {
    display: inline-block !important;
}

/* Replace with a single settings/actions icon */
.admin-btn-resolve i, 
.admin-btn-pending i {
    display: none !important;
}

.admin-btn-resolve::before,
.admin-btn-pending::before {
    font-family: "Font Awesome 6 Free";
    content: "\f141";
    font-weight: 900;
    margin-right: 0;
}

/* Style the single action button */
.admin-btn-resolve,
.admin-btn-pending {
    background: #F3F4F6 !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    color: #4B5563 !important;
    transition: all 0.2s ease !important;
}

.admin-btn-resolve:hover,
.admin-btn-pending:hover {
    background: #E5E7EB !important;
    color: #D4AF37 !important;
    transform: scale(1.05) !important;
}

/* Add tooltip on hover */
.admin-btn-resolve:hover::after,
.admin-btn-pending:hover::after {
    content: "Actions";
    position: absolute;
    background: #1F2937;
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    transform: translateY(-30px);
    margin-left: -20px;
}

.admin-btn-resolve,
.admin-btn-pending {
    position: relative;
}

/* ========== NOTIFICATION DROPDOWN ========== */
.admin-notification {
    position: relative;
    cursor: pointer;
}

.admin-notification-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.admin-notification-dropdown.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.admin-notification-header h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.admin-mark-all-read {
    background: transparent;
    border: none;
    color: #D4AF37;
    font-size: 0.7rem;
    cursor: pointer;
    font-weight: 500;
}

.admin-mark-all-read:hover {
    text-decoration: underline;
}

.admin-notification-list {
    max-height: 350px;
    overflow-y: auto;
}

.admin-notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #F0F2F5;
    cursor: pointer;
    transition: background 0.2s;
}

.admin-notification-item:hover {
    background: #F9FAFB;
}

.admin-notification-item.unread {
    background: #FFF9EF;
}

.admin-notification-content {
    flex: 1;
}

.admin-notification-content p {
    font-size: 0.85rem;
    margin: 0 0 4px 0;
    color: #1F2937;
}

.admin-notification-time {
    font-size: 0.7rem;
    color: #9CA3AF;
}

.admin-notification-dot {
    width: 8px;
    height: 8px;
    background: #D4AF37;
    border-radius: 50%;
    margin-left: 10px;
}

/* ========== PROFILE DROPDOWN ========== */
.admin-user {
    position: relative;
    cursor: pointer;
}

.admin-profile-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.admin-profile-dropdown.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

.admin-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #0A1927 0%, #0F2C28 100%);
}

.admin-profile-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    object-fit: cover;
}

.admin-profile-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: white;
}

.admin-profile-info p {
    font-size: 0.7rem;
    margin: 0 0 2px 0;
    color: #B8C2C8;
}

.admin-profile-role {
    font-size: 0.65rem;
    color: #D4AF37;
}

.admin-profile-menu {
    padding: 8px 0;
}

.admin-profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    color: #4B5563;
    transition: background 0.2s;
    text-align: left;
}

.admin-profile-item:hover {
    background: #F9FAFB;
    color: #D4AF37;
}

.admin-profile-item i {
    width: 20px;
    font-size: 1rem;
}

.admin-profile-menu hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #E5E7EB;
}

/* ========== PROFILE MODAL STYLES ========== */
.admin-profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.admin-profile-avatar-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #D4AF37;
}

.admin-change-avatar-btn {
    position: absolute;
    bottom: 0;
    right: calc(50% - 50px);
    background: #D4AF37;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    color: #0A1927;
}

.admin-change-avatar-btn:hover {
    transform: scale(1.05);
    background: #c4a12b;
}

.admin-profile-detail {
    margin-bottom: 16px;
}

.admin-profile-detail label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.admin-profile-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.admin-profile-input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.admin-profile-disabled {
    background: #F3F4F6;
    color: #9CA3AF;
    cursor: not-allowed;
}

.admin-modal-save {
    background: #D4AF37;
    color: #0A1927;
}

.admin-modal-save:hover {
    background: #c4a12b;
    transform: translateY(-2px);
}

/* ========== TOAST NOTIFICATION ========== */
.admin-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1F2937;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: toastSlideIn 0.3s ease;
    max-width: 350px;
}

.admin-toast.success {
    background: #10B981;
}

.admin-toast.error {
    background: #EF4444;
}

.admin-toast.info {
    background: #3B82F6;
}

.admin-toast.warning {
    background: #F59E0B;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ========== SETTINGS TOGGLE SWITCH ========== */
.admin-settings-group {
    margin-bottom: 20px;
}

.admin-settings-group h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #D4AF37;
    color: #1F2937;
}

.admin-settings-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.admin-settings-toggle label:first-child {
    font-weight: 500;
    color: #374151;
}

.admin-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.admin-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.admin-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.admin-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .admin-slider {
    background-color: #D4AF37;
}

input:checked + .admin-slider:before {
    transform: translateX(26px);
}

/* ========== DARK MODE STYLES (Dashboard Only) ========== */
body.admin-dark-mode {
    background: #0F172A;
}

body.admin-dark-mode .admin-main {
    background: #0F172A;
}

body.admin-dark-mode .admin-topbar {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

body.admin-dark-mode .admin-content {
    background: #0F172A;
}

body.admin-dark-mode .admin-stat-card {
    background: #1E293B;
    border-color: #334155;
}

body.admin-dark-mode .admin-stat-info h3 {
    color: #F1F5F9;
}

body.admin-dark-mode .admin-stat-info p {
    color: #94A3B8;
}

body.admin-dark-mode .admin-table-container {
    background: #1E293B;
}

body.admin-dark-mode .admin-table-header h2 {
    color: #F1F5F9;
}

body.admin-dark-mode .admin-table th {
    background: #0F172A;
    color: #CBD5E1;
}

body.admin-dark-mode .admin-table td {
    color: #CBD5E1;
    border-bottom-color: #334155;
}

body.admin-dark-mode .admin-table tr:hover {
    background: #334155;
}

body.admin-dark-mode .admin-search-input {
    background: #0F172A;
    border-color: #334155;
    color: #F1F5F9;
}

body.admin-dark-mode .admin-search-input:focus {
    border-color: #D4AF37;
}

body.admin-dark-mode .admin-btn-icon {
    color: #94A3B8;
}

body.admin-dark-mode .admin-btn-icon:hover {
    color: #D4AF37;
}

body.admin-dark-mode .admin-badge-verified {
    background: #059669;
}

body.admin-dark-mode .admin-badge-pending {
    background: #D97706;
}

body.admin-dark-mode .admin-modal-content {
    background: #1E293B;
}

body.admin-dark-mode .admin-modal-header {
    background: #0F172A;
    border-bottom-color: #334155;
}

body.admin-dark-mode .admin-modal-header h3 {
    color: #F1F5F9;
}

body.admin-dark-mode .admin-modal-body {
    color: #CBD5E1;
}

body.admin-dark-mode .admin-profile-detail label {
    color: #CBD5E1;
}

body.admin-dark-mode .admin-profile-input {
    background: #0F172A;
    border-color: #334155;
    color: #F1F5F9;
}

body.admin-dark-mode .admin-profile-input:focus {
    border-color: #D4AF37;
}

body.admin-dark-mode .admin-modal-footer {
    background: #0F172A;
    border-top-color: #334155;
}

body.admin-dark-mode .admin-modal-cancel {
    background: #334155;
    color: #CBD5E1;
}

body.admin-dark-mode .admin-notification-dropdown,
body.admin-dark-mode .admin-profile-dropdown {
    background: #1E293B;
}

body.admin-dark-mode .admin-notification-header {
    background: #0F172A;
    border-bottom-color: #334155;
}

body.admin-dark-mode .admin-notification-header h4 {
    color: #F1F5F9;
}

body.admin-dark-mode .admin-notification-item {
    border-bottom-color: #334155;
}

body.admin-dark-mode .admin-notification-item:hover {
    background: #334155;
}

body.admin-dark-mode .admin-notification-content p {
    color: #CBD5E1;
}

body.admin-dark-mode .admin-profile-header {
    background: #0F172A;
}

body.admin-dark-mode .admin-profile-info h4 {
    color: #F1F5F9;
}

body.admin-dark-mode .admin-profile-item {
    color: #CBD5E1;
}

body.admin-dark-mode .admin-profile-item:hover {
    background: #334155;
    color: #D4AF37;
}

body.admin-dark-mode .admin-settings-group h4 {
    color: #F1F5F9;
    border-bottom-color: #D4AF37;
}

body.admin-dark-mode .admin-settings-toggle {
    border-bottom-color: #334155;
}

body.admin-dark-mode .admin-settings-toggle label:first-child {
    color: #CBD5E1;
}

/* ========== REGISTER BUTTON HOVER FIX ========== */
.home-btn-primary:hover {
    color: #0A1927 !important;
}

/* ========== MOVE REGISTER BUTTON CLOSER TO LOGIN ========== */
.home-nav-menu li:last-child {
    margin-right: 24px !important;
}

.home-nav-menu li:nth-last-child(2) {
    margin-right: -14px !important;
}

/* ========== PAGINATION STYLES ========== */
.artisans-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    border: 1px solid #E5E7EB;
    padding: 10px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    color: #4B5563;
}

.pagination-btn:hover:not(.disabled) {
    background: #D4AF37;
    color: #0A1927;
    border-color: #D4AF37;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-num {
    background: white;
    border: 1px solid #E5E7EB;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #4B5563;
}

.pagination-num:hover {
    background: #F3F4F6;
    border-color: #D4AF37;
}

.pagination-num.active {
    background: #D4AF37;
    color: #0A1927;
    border-color: #D4AF37;
}

.pagination-dots {
    color: #9CA3AF;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .pagination-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .pagination-num {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    
    .artisans-pagination {
        gap: 8px;
    }
}

/* ========== LIST VIEW STYLES ========== */
.artisans-grid-container.list-view .row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.artisans-grid-container.list-view .col-12 {
    width: 100%;
}

.artisans-card {
    transition: all 0.3s ease;
}

.list-view .artisans-card {
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 16px !important;
}

.list-view .artisans-card-img {
    width: 120px !important;
    height: 120px !important;
    flex-shrink: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.list-view .artisans-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.list-view .artisans-card-info {
    flex: 1 !important;
}

.list-view .artisans-verified-badge {
    top: 8px;
    right: 8px;
}

/* Mobile list view */
@media (max-width: 768px) {
    .list-view .artisans-card {
        flex-direction: column !important;
        text-align: center;
    }
    
    .list-view .artisans-card-img {
        width: 100% !important;
        height: 180px !important;
    }
}

/* ========== GRID VIEW STYLES ========== */
.grid-view-active .grid-card {
    display: block;
}

/* ========== LIST VIEW STYLES ========== */
.list-view-active {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.list-view-active .list-card {
    width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
}

.list-view-active .artisans-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 16px !important;
    height: 100% !important;
}

.list-view-active .artisans-card-img {
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.list-view-active .artisans-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.list-view-active .artisans-card-info {
    flex: 1 !important;
}

.list-view-active .artisans-rating {
    margin-bottom: 0 !important;
}

.list-view-active .artisans-view-profile-btn {
    width: auto !important;
    padding: 6px 16px !important;
    display: inline-block !important;
}

/* Mobile: Single column for list view */
@media (max-width: 768px) {
    .list-view-active .list-card {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .list-view-active .artisans-card {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .list-view-active .artisans-card-img {
        width: 100% !important;
        height: 160px !important;
    }
    
    .list-view-active .artisans-view-profile-btn {
        width: 100% !important;
    }
}

/* ========== REVIEW MODAL STYLES ========== */
.detail-review-modal {
    max-width: 500px !important;
    width: 90% !important;
}

.detail-review-form {
    padding: 0;
}

.detail-review-input,
.detail-review-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.detail-review-input:focus,
.detail-review-textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.detail-rating-input {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
    cursor: pointer;
}

.detail-rating-input i {
    transition: all 0.2s;
    cursor: pointer;
}

.detail-rating-input i:hover {
    transform: scale(1.1);
}

/* Toast message */
.detail-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1F2937;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    animation: toastSlideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.detail-toast-success {
    background: #10B981;
}

.detail-toast-error {
    background: #EF4444;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .detail-toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
        justify-content: center;
    }
}

/* ========== FIX SHAKING ON SUBMIT BUTTON ========== */
.review-submit-btn,
.detail-modal-submit,
.review-submit-btn *,
.detail-modal-submit * {
    animation: none !important;
    /* ========== FIX SHAKING ON SUBMIT BUTTON ========== */
.review-submit-btn,
.detail-modal-submit,
.review-submit-btn *,
.detail-modal-submit * {
    animation: none !important;
    transform: none !important;
}

.review-submit-btn:hover,
.detail-modal-submit:hover {
    transform: none !important;
    animation: none !important;
}
    transform: none !important;
}

.review-submit-btn:hover,
.detail-modal-submit:hover {
    transform: none !important;
    animation: none !important;
}

/* Add to the end of your artisan-detail.css file */

/* ========== EDIT PROFILE BUTTON ========== */
.detail-edit-profile-btn {
    background: #D4AF37;
    color: #0A1927;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: all 0.2s;
}

.detail-edit-profile-btn:hover {
    background: #c4a12b;
    transform: translateY(-2px);
}

/* ========== EDIT PROFILE MODAL ========== */
.detail-edit-modal {
    max-width: 700px !important;
    width: 90% !important;
}

.detail-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-form-row .detail-form-group {
    flex: 1;
    min-width: 150px;
}

.detail-edit-input,
.detail-edit-select,
.detail-edit-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.detail-edit-input:focus,
.detail-edit-select:focus,
.detail-edit-textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Avatar Preview */
.detail-avatar-preview {
    text-align: center;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 16px;
}

.detail-avatar-preview img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #D4AF37;
    margin-bottom: 12px;
}

.detail-upload-btn {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.detail-upload-btn:hover {
    background: #E5E7EB;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .detail-edit-modal {
        max-width: 95% !important;
    }
}

/* ========== FIX EDIT MODAL HEIGHT AND SCROLL ========== */
.detail-edit-modal {
    max-width: 700px !important;
    width: 90% !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
}

.detail-edit-modal .detail-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    max-height: calc(90vh - 120px) !important;
    padding: 20px !important;
}

.detail-edit-modal .detail-modal-header {
    flex-shrink: 0 !important;
}

.detail-edit-modal .detail-modal-footer {
    flex-shrink: 0 !important;
}

/* Make form groups compact */
.detail-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.detail-form-group {
    margin-bottom: 12px;
}

.detail-edit-input,
.detail-edit-select,
.detail-edit-textarea {
    padding: 10px 14px;
    font-size: 0.85rem;
}

.detail-edit-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Avatar preview smaller */
.detail-avatar-preview {
    padding: 12px;
}

.detail-avatar-preview img {
    width: 80px;
    height: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-edit-modal {
        width: 95% !important;
        max-height: 95vh !important;
    }
    
    .detail-edit-modal .detail-modal-body {
        max-height: calc(95vh - 100px) !important;
        padding: 15px !important;
    }
    
    .detail-form-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========== FIX NOTIFICATION POPUP ON MOBILE ========== */
@media (max-width: 768px) {
    .admin-notification-dropdown {
        position: fixed !important;
        top: 60px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 320px !important;
        z-index: 1001 !important;
    }
    
    .admin-profile-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 10px !important;
        left: auto !important;
        width: 280px !important;
        z-index: 1001 !important;
    }
}

/* ========== UNIVERSAL IMAGE FIX FOR ALL PAGES ========== */
/* Artisan cards - Home & Artisans page */
.home-artisan-img,
.artisans-card-img,
.detail-profile-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #F3F4F6;
}

.home-artisan-img {
    height: 220px;
}

.artisans-card-img {
    height: 220px;
}

.detail-profile-image {
    height: auto;
    max-height: 400px;
    border-radius: 24px;
}

.home-artisan-img img,
.artisans-card-img img,
.detail-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fix for detail page image */
.detail-profile-image img {
    max-height: 400px;
    object-fit: cover;
}

/* Edit profile modal image preview */
.detail-avatar-preview img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

/* List view images */
.list-view-active .artisans-card-img {
    width: 100px !important;
    height: 100px !important;
}

.list-view-active .artisans-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .home-artisan-img,
    .artisans-card-img {
        height: 180px;
    }
    
    .detail-profile-image {
        max-height: 300px;
    }
    
    .list-view-active .artisans-card-img {
        width: 100% !important;
        height: 160px !important;
    }
}

/* Ensure images don't stretch */
img {
    max-width: 100%;
    height: auto;
}

/* ========== FIX ALL ARTISAN IMAGES ========== */
.home-artisan-img,
.artisans-card-img,
.detail-profile-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-artisan-img img,
.artisans-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* For detail page */
.detail-profile-image {
    height: auto;
    min-height: 250px;
    max-height: 400px;
}

.detail-profile-image img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

/* Edit profile preview */
.detail-avatar-preview img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

/* List view */
.list-view-active .artisans-card-img {
    width: 100px !important;
    height: 100px !important;
}

.list-view-active .artisans-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Mobile */
@media (max-width: 768px) {
    .home-artisan-img,
    .artisans-card-img {
        height: 180px;
    }
    
    .detail-profile-image {
        min-height: 200px;
        max-height: 300px;
    }
    
    .list-view-active .artisans-card-img {
        width: 100% !important;
        height: 160px !important;
    }
}