/* Sparkwave - B2B Sourcing Platform Styles */

:root {
  --primary: #000000;
  --primary-dark: #1a1a1a;
  --secondary: #000000;
  --accent: #333333;
  --success: #333333;
  --warning: #666666;
  --danger: #333333;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease-out forwards;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; opacity: 0; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; }
.stagger-4 { animation-delay: 0.4s; opacity: 0; }
.stagger-5 { animation-delay: 0.5s; opacity: 0; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #000000;
  color: white;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.btn-primary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

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

.btn-secondary:hover {
  background: var(--gray-700);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #000000;
  color: #000000;
}

.btn-outline:hover {
  background: #000000;
  color: white;
  transform: translateY(-2px);
}

.btn-danger {
  background: #333333;
  color: white;
}

.btn-danger:hover {
  background: #1a1a1a;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Header */
.header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  overflow: visible;
}

.header .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  overflow: visible;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(-5deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #000000;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #000000;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: slideInRight 20s linear infinite;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out;
  position: relative;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
  position: relative;
}

.hero-buttons .btn-primary {
  background: #ffffff;
  color: #000000;
}

.hero-buttons .btn-primary:hover {
  background: #f5f5f5;
  transform: translateY(-3px);
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #000000;
}

.section-title p {
  color: var(--gray-500);
  font-size: 1.125rem;
  margin-top: 16px;
}

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

.step {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: #fafafa;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: #000000;
  background: #ffffff;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #000000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
}

.step h3 {
  color: #000000;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.step p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Trust Badge */
.trust-badge {
  background: #f5f5f5;
  padding: 60px 0;
  text-align: center;
}

.trust-badge h3 {
  color: #000000;
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.trust-badge p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.certifications {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.certification {
  background: #ffffff;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  color: #000000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.certification:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: #000000;
}

/* Categories */
.categories {
  padding: 100px 0;
  background: #ffffff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.category-card {
  background: #fafafa;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  border-color: #000000;
  background: #ffffff;
}

.category-card .icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  transition: transform 0.3s ease;
}

.category-card:hover .icon {
  transform: scale(1.2);
}

.category-card h4 {
  color: #000000;
  font-size: 1.1rem;
}

/* CTA Section */
.cta {
  background: #000000;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.cta p {
  margin-bottom: 32px;
  opacity: 0.9;
  font-size: 1.125rem;
  position: relative;
}

.cta .btn {
  background: white;
  color: #000000;
  font-weight: 700;
  position: relative;
}

.cta .btn:hover {
  background: #f5f5f5;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background: #000000;
  color: #a3a3a3;
  padding: 60px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #333333;
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #000000;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000000;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

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

/* Quote Form Page */
.page-header {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease-out;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.form-container {
  max-width: 700px;
  margin: -50px auto 80px;
  background: white;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

/* Drag and Drop */
.dropzone {
  border: 2px dashed #d4d4d4;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: #000000;
  background: rgba(0, 0, 0, 0.02);
  transform: scale(1.01);
}

.dropzone-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.dropzone p {
  color: var(--gray-500);
  margin-bottom: 10px;
  font-weight: 500;
}

.dropzone small {
  color: var(--gray-400);
}

.preview-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.preview-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Partners Page */
.filter-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid #e5e5e5;
  background: white;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  border-color: #000000;
  transform: translateY(-2px);
}

.filter-btn.active {
  border-color: #000000;
  background: #000000;
  color: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  padding: 20px 0 80px;
}

.partner-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: #000000;
}

.partner-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f5f5f5;
  transition: transform 0.4s ease;
}

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

.partner-content {
  padding: 24px;
}

.partner-content h3 {
  color: #000000;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.partner-category {
  display: inline-block;
  background: #f5f5f5;
  color: #525252;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.partner-content p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.partner-certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.partner-certs span {
  background: #000000;
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Success Message */
.success-message {
  background: #000000;
  color: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  display: none;
}

.success-message.show {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

/* Alert */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.alert-error {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: var(--success);
  border: 1px solid #bbf7d0;
}

/* Admin Styles */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: #000000;
  color: white;
  padding: 28px 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar .logo {
  color: white;
  padding: 0 24px;
  margin-bottom: 40px;
}

.admin-nav {
  list-style: none;
}

.admin-nav a {
  display: block;
  padding: 14px 28px;
  color: #a3a3a3;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255,255,255,0.08);
  color: white;
  border-left-color: white;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  padding: 40px;
  background: #fafafa;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.admin-header h1 {
  color: #000000;
  font-size: 1.75rem;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: #000000;
}

.stat-card h3 {
  color: #737373;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.stat-card .number {
  font-size: 2.75rem;
  font-weight: 700;
  color: #000000;
}

.stat-card.pending .number { color: #525252; }
.stat-card.success .number { color: #000000; }

/* Tables */
.table-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid #e5e5e5;
}

.table-header h2 {
  font-size: 1.25rem;
  color: #000000;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 18px 28px;
  text-align: left;
  border-bottom: 1px solid #f5f5f5;
}

th {
  background: #fafafa;
  font-weight: 600;
  color: #525252;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

td {
  color: #404040;
}

tr {
  transition: background 0.2s ease;
}

tr:hover {
  background: #fafafa;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-pending { background: #f5f5f5; color: #525252; }
.status-contacted { background: #e5e5e5; color: #262626; }
.status-quote-sent { background: #d4d4d4; color: #171717; }
.status-closed { background: #000000; color: #ffffff; }
.status-rejected { background: #404040; color: #ffffff; }

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.modal {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeInUp 0.4s ease-out;
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: #000000;
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #a3a3a3;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #000000;
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Admin Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
}

.login-card {
  background: #ffffff;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 420px;
  animation: fadeInUp 0.6s ease-out;
}

.login-card h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
  font-size: 1.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem;
    gap: 8px;
  }

  .logo img {
    height: 50px;
  }

  .logo span {
    display: none;
  }

  .nav {
    gap: 16px;
    position: static;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-top: 1px solid var(--gray-200);
    z-index: 1000;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav .btn-primary {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    padding: 0;
    z-index: 1001;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    line-height: 1;
    color: #333;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:focus {
    background: #eee;
    outline: none;
  }

  .mobile-menu-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .form-container {
    margin: -20px 16px 40px;
    padding: 24px;
  }
  
  .admin-sidebar {
    display: none;
  }
  
  .admin-main {
    margin-left: 0;
    padding: 20px;
  }
  
  .table-container {
    overflow-x: auto;
  }
  
  table {
    min-width: 600px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .header .container {
    padding: 12px 16px;
  }

  .logo {
    font-size: 1rem;
    gap: 6px;
  }

  .logo img {
    height: 40px;
  }

  .nav .btn-primary {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .filter-buttons {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-card .number {
    font-size: 2rem;
  }
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
