/* ===== RESET & BASE STYLES ===== */
:root {
  --primary-color: #4dabf7;
  --primary-dark: #339af0;
  --secondary-color: #ff6b6b;
  --accent-color: #51cf66;
  --dark-color: #1a1a1a;
  --dark-gray: #333;
  --medium-gray: #666;
  --light-gray: #999;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 5px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --border-radius: 10px;
  --border-radius-lg: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-success {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-success:hover {
  background-color: #40c057;
  color: var(--white);
}

.btn-danger {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-danger:hover {
  background-color: #ff5252;
  color: var(--white);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* ===== HEADER ===== */
.header {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 700;
}

.logo a {
  color: var(--white);
  text-decoration: none;
}

.logo i {
  color: var(--primary-color);
  font-size: 2rem;
}

.logo-highlight {
  color: var(--primary-color);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-dropdown-toggle:hover {
  color: var(--primary-color);
}

.nav-dropdown-toggle i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  margin-top: 12px;
  overflow: hidden;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--white);
  background-color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  font-weight: 500;
  position: relative;
}

.nav-dropdown-menu a:first-child {
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: 600;
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  padding-left: 28px;
  transform: scale(1.02);
}

.nav-dropdown-menu a:hover::before {
  content: '→';
  position: absolute;
  left: 12px;
  color: var(--white);
}

/* User Menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

.auth-links {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-links a {
  color: #f0f0f0;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.85rem;
}

.auth-links a:hover {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.auth-links span {
  color: #e8e8e8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), 
              url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 100px 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1s ease 0.4s both;
}

/* ===== SEARCH FOR YOUR BIKE SECTION ===== */
.search-bike-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
}

.search-bike-card {
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border-top: 5px solid var(--primary-color);
}

.search-bike-content h2 {
  font-size: 2.2rem;
  color: var(--text-color);
  margin-bottom: 10px;
  text-align: center;
}

.search-bike-content > p {
  text-align: center;
  color: var(--medium-gray);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.bike-search-form {
  margin-bottom: 30px;
}

.search-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.search-field {
  display: flex;
  flex-direction: column;
}

.search-field label {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.search-field select {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white);
  color: var(--text-color);
  cursor: pointer;
}

.search-field select:hover {
  border-color: var(--primary-color);
}

.search-field select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(71, 123, 255, 0.1);
}

.search-btn {
  width: 100%;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(71, 123, 255, 0.3);
}

.search-hint {
  text-align: center;
  color: var(--medium-gray);
  font-size: 0.9rem;
  background: var(--light-color);
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.search-hint i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .search-bike-card {
    padding: 30px 20px;
  }
  
  .search-bike-content h2 {
    font-size: 1.8rem;
  }
  
  .search-row {
    grid-template-columns: 1fr;
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 0;
  background-color: var(--white);
}

.features h2 {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.features h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background-color: var(--light-color);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.feature-icon i {
  font-size: 2.2rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
  padding: 100px 0;
  background-color: var(--light-color);
}

.categories h2 {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.categories h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.category-image {
  height: 200px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-content {
  padding: 25px;
  text-align: center;
}

.category-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.footer-logo i {
  color: var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.newsletter {
  margin-top: 20px;
}

.newsletter input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  margin-bottom: 10px;
}

.newsletter input::placeholder {
  color: #bbb;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.9rem;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

.bg-dark { background-color: var(--dark-color); }
.bg-light { background-color: var(--light-color); }
.bg-white { background-color: var(--white); }

.hidden { display: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }
  
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
  
  .user-menu {
    flex-direction: column;
    gap: 15px;
  }
  
  .auth-links a {
    margin-left: 0;
    margin-right: 15px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .features,
  .categories {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  
  .container {
    padding: 0 15px;
  }
}

/* ===== Floating WhatsApp Button & Add-Product styles ===== */
@keyframes whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  padding: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.floating-whatsapp:hover,
.floating-whatsapp:active {
  background: linear-gradient(135deg, #25D366 0%, #1EAD56 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  animation: whatsapp-pulse 0.6s ease-in-out;
}

.floating-whatsapp i {
  font-size: 4rem;
  color: #25D366 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  line-height: 1;
}

.floating-whatsapp:hover i,
.floating-whatsapp:active i {
  color: #fff !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.floating-whatsapp svg { 
  width: 56px; 
  height: 56px; 
  display: block; 
  fill: #25D366; 
}

.floating-whatsapp:hover svg,
.floating-whatsapp:active svg { 
  fill: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.floating-whatsapp:focus { outline: none; }

/* Footer / inline site Whatsapp icon */
.site-social-whatsapp { display:inline-flex; align-items:center; justify-content:center; padding:4px; border-radius:4px; background: transparent; }
.site-social-whatsapp svg { width: 16px; height: 16px; display:block; fill:#25D366; }
.site-social-whatsapp:hover svg { opacity:0.95; }


/* Product tags and badges */
.product-tag {
  display: inline-block;
  background: rgba(0,0,0,0.06);
  color: var(--dark-gray);
  padding: 6px 10px;
  border-radius: 6px;
  margin-right: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-color);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Add Product Form */
.add-product-form {
  max-width: 800px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.add-product-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.add-product-form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.add-product-form input[type="text"],
.add-product-form input[type="number"],
.add-product-form select,
.add-product-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.add-product-form .file-preview {
  max-width: 200px;
  max-height: 140px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.file-switches {
  display: flex;
  gap: 10px;
  align-items: center;
}

.file-switches label { font-weight: 600; }

/* Dashboard / Tutorials / Modal styles */
.card { background: var(--white); padding: 16px; border-radius: 10px; border: 1px solid var(--border-color); }
.tutorial-card img { border-radius:8px; }
.modal { position:fixed; left:0; top:0; right:0; bottom:0; background: rgba(0,0,0,0.6); display:flex; align-items:center; justify-content:center; z-index:9999; }
.modal-content{ background:var(--white); padding:20px; border-radius:10px; max-width:1000px; width:92%; }

@media (max-width: 768px) {
  .add-product-form .form-row { grid-template-columns: 1fr; }
  .modal-content{ padding:12px; }
}

/* Support page */
.support-card { background: var(--white); border:1px solid var(--border-color); padding:18px; border-radius:10px; }
.support-card label { display:block; margin-top:10px; font-weight:600; }
.support-card input, .support-card textarea, .support-card select { width:100%; padding:10px; border:1px solid var(--border-color); border-radius:6px; }
.support-msg { display:none; margin-top:10px; }

/* Admin Message Cards */
.admin-message-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.admin-message-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.admin-message-card.new {
  background: linear-gradient(135deg, #fffbf0 0%, white 100%);
  border-left: 4px solid var(--primary-color);
}

.admin-message-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.admin-message-sender {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-message-sender-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--dark-gray);
}

.admin-message-sender-info p {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: var(--medium-gray);
}

.admin-message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #4dabbf);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.admin-message-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.admin-message-status.new {
  background: var(--primary-color);
  color: white;
}

.admin-message-status.read {
  background: #e8f5e9;
  color: #2e7d32;
}

.admin-message-subject {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.admin-message-body {
  color: var(--dark-gray);
  line-height: 1.5;
  margin-bottom: 12px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
  font-size: 0.95rem;
}

.admin-message-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.admin-message-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--medium-gray);
  flex: 1;
}

.admin-message-actions {
  display: flex;
  gap: 6px;
}

.admin-message-actions button {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-message-actions .btn-reply {
  background: linear-gradient(135deg, var(--primary-color), #4dabbf);
  color: white;
}

.admin-message-actions .btn-reply:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 171, 191, 0.3);
}

.admin-message-actions .btn-mark {
  background: #f0f0f0;
  color: var(--medium-gray);
}

.admin-message-actions .btn-mark:hover {
  background: #e0e0e0;
}

.admin-message-actions .btn-delete {
  background: #ffebee;
  color: #c62828;
}

.admin-message-actions .btn-delete:hover {
  background: #ef5350;
  color: white;
}

.admin-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--medium-gray);
}

.admin-empty-state-icon {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 15px;
}

.admin-empty-state-text {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Footer */
.site-footer { background: #0f1723; color: #d0d7e0; padding:24px 0; margin-top:40px; }
.site-footer .footer-links { display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.site-footer a { color: #d0d7e0; text-decoration:none; font-weight:600; }
.site-footer .footer-copy { margin-top:8px; opacity:0.8; font-size:0.9rem; }

