@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap");

.product-grid-4x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 15px;
  margin-bottom: 30px;
}

.product-card-compact {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card-image-compact {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.product-card-image-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #6c757d;
  font-size: 0.9rem;
}

.no-image-placeholder i {
  font-size: 2rem;
  margin-bottom: 8px;
}

.product-badge-compact {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #dc3545;
  color: #fff;
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
}

.product-card-content-compact {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-compact {
  color: #6c757d;
  font-size: 0.8rem;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-weight: 500;
}

.product-title-compact {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-title-compact a {
  text-decoration: none;
  color: inherit;
}

.product-title-compact a:hover {
  color: #f77f00;
}

.product-price-compact {
  margin-bottom: 15px;
}

.product-price-compact .current-price {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.product-price-compact .original-price {
  color: #aaa;
  text-decoration: line-through;
  margin-left: 8px;
  font-size: 0.9rem;
}

.product-actions-compact {
  margin-top: auto;
}

.btn-primary-compact {
  background: linear-gradient(135deg, #f77f00 0%, #ff9500 100%);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-primary-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 127, 0, 0.3);
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

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

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e9ecef;
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background: #f77f00;
  color: white;
  border-color: #f77f00;
}

.pagination-btn.active {
  background: #f77f00;
  color: white;
  border-color: #f77f00;
}

.view-all-container {
  text-align: center;
  margin-top: 30px;
}

.btn-view-all {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.btn-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
  color: white;
}

.header-center {
  text-align: center;
  margin-bottom: 40px;
}

.header-center h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
}

.header-center p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .product-grid-4x2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 12px;
  }

  .product-card-image-compact {
    height: 100px;
  }

  .product-card-content-compact {
    padding: 10px;
  }

  .product-title-compact {
    font-size: 0.85rem;
  }

  .product-price-compact .current-price {
    font-size: 0.9rem;
  }

  .btn-primary-compact {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .product-grid-4x2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 10px;
  }

  .product-card-image-compact {
    height: 90px;
  }

  .product-card-content-compact {
    padding: 8px;
  }

  .product-title-compact {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .product-price-compact .current-price {
    font-size: 0.85rem;
  }
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: #212529;
}

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

header {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo .logo-icon {
  background-color: #f77f00;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-right: 15px;
}

.footer-logo-image {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.logo-image img {
  max-height: 50px;
  max-width: 150px;
  object-fit: contain;
  border-radius: 4px;
}

.logo-text h1 {
  font-size: 1.5rem;
  color: #0d3d6b;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.8rem;
  color: #666;
}

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

body > header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0056b3;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}
.dropdown-content.show {
  display: block;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
}

.cart-link {
  position: relative;
  font-size: 24px;
  color: #333;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: #ff4d4f;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.btn-login {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px 25px;
}

.btn-register {
  background: #f77f00;
  color: #fff;
  border: none;
  padding: 11px 25px;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

.hero {
  background-color: #0d2c4a;
  padding-top: 100px;
  padding-bottom: 80px;
  color: #fff;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.hero-content .promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(247, 127, 0, 0.1);
  color: #f77f00;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 span {
  color: #f77f00;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 30px;
  max-width: 500px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn {
  padding: 15px 35px;
  font-size: 1rem;
}

.hero-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #495057;
}

.item-disabled {
  opacity: 0.6;
  filter: grayscale(1);
  background: #f8f9fa;
}
.qty-control .btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
/* Optimasi rendering gambar */
img {
  content-visibility: auto;
}
.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  right: -30px;
  background: #fff;
  color: #333;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-badge .fa-check-circle {
  color: #34c759;
  font-size: 24px;
}

.hero-badge-text h4 {
  margin: 0;
  font-weight: 600;
}

.hero-badge-text p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* .btn {
    background: #161616;
    color: #fff;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
} */

/* .btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
} */

@media (max-width: 768px) {
  header {
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  header .container {
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f77f00, #ff8c00);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
  }

  .logo-image {
    margin-right: 8px;
    display: flex;
    align-items: center;
  }

  .logo-image img {
    max-height: 36px;
    max-width: 100px;
    object-fit: contain;
    border-radius: 4px;
  }

  .logo-text {
    display: none !important;
  }

  .search-bar {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 10px;
  }

  .search-form {
    width: 100%;
    max-width: 300px;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .search-form input {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.9rem;
    border: none;
    background: #f8fafc;
    text-align: left;
  }

  .search-form input::placeholder {
    text-align: left;
    color: #64748b;
  }

  .search-form button {
    padding: 10px 14px;
    background: #f77f00;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .user-actions {
    flex-shrink: 0;
    margin-right: 5px;
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 998 !important;
    position: relative !important;
    min-width: 50px !important;
    width: auto !important;
    overflow: visible !important;
  }

  .cart-link {
    padding: 10px;
    font-size: 1.4rem;
    color: #1e293b !important;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    background: rgba(247, 127, 0, 0.1);
    border: 1px solid rgba(247, 127, 0, 0.2);
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999 !important;
  }

  .cart-badge {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
    background: #f77f00 !important;
    color: white !important;
    border-radius: 50%;
    position: absolute;
    top: -2px;
    right: -2px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1000 !important;
    border: 2px solid white;
  }

  nav {
    display: none;
  }

  .user-actions {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 998 !important;
  }

  .mobile-menu-btn {
    display: none;
  }

  body {
    padding-top: 70px;
  }

  .hero {
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  nav ul.active {
    left: 0;
  }

  nav ul li {
    margin: 15px 0;
  }

  nav ul li a {
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
  }

  .mobile-menu-btn.active i:before {
    content: "\f00d";
  }

  .cart-count {
    font-size: 0.8rem;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
  }

  .product-grid {
    grid-auto-columns: calc(50% - 10px) !important;
    gap: 15px !important;
    padding-bottom: 15px;
    grid-template-rows: auto !important;
  }

  .product-card {
    min-width: 0 !important;
    max-width: none !important;
  }

  .product-card-image {
    height: 150px !important;
  }

  .product-card-content {
    padding: 15px !important;
  }

  .product-card-content h3 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .product-card-content .description {
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .product-price .current-price {
    font-size: 1.2rem !important;
  }

  .product-price .original-price {
    font-size: 0.9rem !important;
  }

  .product-actions {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .product-actions .btn {
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
  }

  .product-card-info {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
  }

  .product-badge {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
    top: 10px !important;
    left: 10px !important;
  }

  .container {
    padding: 0 15px !important;
    max-width: 100% !important;
  }

  .products {
    padding: 50px 0;
  }

  .products h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    text-align: center;
    padding: 0 20px;
  }

  .products .nav-buttons {
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .products .nav-buttons button {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px !important;
  }

  .product-grid {
    grid-auto-columns: calc(100% - 10px) !important;
    gap: 10px !important;
  }

  .product-card-content {
    padding: 12px;
  }

  .product-card-content h3 {
    font-size: 0.95rem;
  }

  .product-card-content .description {
    font-size: 0.8rem;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .product-price .current-price {
    font-size: 1.1rem;
  }

  .product-actions .btn {
    padding: 10px;
    font-size: 0.8rem;
  }

  .products {
    padding: 40px 0;
  }

  .products h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .section-subtitle {
    margin-bottom: 30px;
  }
}

.notification i {
  font-size: 1rem;
  flex-shrink: 0;
}

.notification.success i {
  color: #10b981;
}

.notification.error i {
  color: #ef4444;
}

@media (max-width: 768px) {
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

.metrics {
  padding: 50px 0;
  background: #f8f9fa;
}

.metrics .container {
  display: flex;
  justify-content: space-around;
}

.metric h3 {
  font-size: 2rem;
  color: #1a237e;
}

.categories {
  padding: 50px 0;
}

.categories h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.categories .section-subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-content: center;
}

.category-card {
  background: #fff;
  padding: 30px 20px;
  border: 1px solid #e9ecef;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.category-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card .icon img {
  width: 32px;
  height: 32px;
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.icon-unit-baru {
  background-color: #e6f0ff;
}
.icon-sparepart {
  background-color: #e3f9e9;
}
.icon-oli-compressor {
  background-color: #fff8e1;
}
.icon-service {
  background-color: #f3e8ff;
}
.icon-overhaul {
  background-color: #ffebee;
}
.icon-pipe-installation {
  background-color: #e8eaf6;
}

.products {
  padding: 50px 0;
  background: #f8f9fa;
}

.products h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

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

.products .header p {
  color: #666;
}

.products .nav-buttons button {
  background: #fff;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.products .nav-buttons button:hover {
  background: #f0f0f0;
}

.product-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 15px);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-grid::-webkit-scrollbar {
  display: none;
}

.product-grid-all {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-card-image {
  position: relative;
  height: 200px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #dc3545;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-badge.stock {
  background-color: #28a745;
}

.product-badge.best-seller {
  background-color: #007bff;
}

.product-badge.service {
  background-color: #6f42c1;
}

.product-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-rating .fa-star {
  color: #ffc107;
}

.product-card-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-card-content .description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-price {
  margin-bottom: 20px;
}

.product-price .current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.product-price .original-price {
  color: #aaa;
  text-decoration: line-through;
  margin-left: 10px;
}

.product-actions {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.product-actions .btn {
  padding: 10px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.product-actions .btn-primary {
  background-color: #f77f00;
}

.product-actions .btn-outline {
  background: transparent;
  border: 1px solid #ddd;
  color: #333;
}

.reseller {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.reseller h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.reseller .section-subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
}

.reseller-card {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.reseller-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f77f00, #ff9500);
}

.reseller-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
  position: relative;
}

.feature-icon.commission {
  background: linear-gradient(135deg, #e6f9f1, #d4edda);
  color: #28a745;
}

.feature-icon.support {
  background: linear-gradient(135deg, #e7f3ff, #cce7ff);
  color: #007bff;
}

.feature-icon.analytics {
  background: linear-gradient(135deg, #f3e8ff, #e6ccff);
  color: #6f42c1;
}

.feature-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.feature-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.reseller-actions {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.reseller-actions .btn {
  margin: 0 10px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
}

.reseller-actions .btn-secondary {
  background: transparent;
  color: #666;
  border: 2px solid #ddd;
}

.reseller-actions .btn-secondary:hover {
  background: #f77f00;
  color: #fff;
  border-color: #f77f00;
}

.sidebar-old h2 {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 20px;
  text-align: center;
  color: #fff;
  border-bottom: 1px solid #334155;
}

.sidebar nav {
  flex-grow: 1;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sidebar nav li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  color: #cbd5e1;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  border-radius: 6px;
  margin: 4px 10px;
}

.sidebar nav li a i {
  width: 20px;
  text-align: center;
}

.sidebar nav li a:hover {
  background: #334155;
  color: #fff;
}

.sidebar nav li a.active {
  background: #3b82f6;
  color: #fff;
  font-weight: 600;
}

.main-content {
  flex-grow: 1;
  padding: 30px;
  background-color: #f1f5f9;
}

.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  flex: 1;
  text-align: center;
  border-radius: 8px;
}

.stat-card h3 {
  color: #28a745;
  font-size: 2rem;
}

.chart-container {
  max-width: 800px;
}

.admin-layout form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}

.admin-layout input,
.admin-layout select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.admin-layout table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
}

.admin-layout th,
.admin-layout td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.admin-layout th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.admin-layout tr:hover {
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
  }
  .stats {
    flex-direction: column;
  }
}

.reseller {
  padding: 80px 0;
  background-color: #f8f9fa;
}
.reseller-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.promo-tag {
  display: inline-block;
  background-color: #f77f00;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.reseller-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.reseller-text > p {
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-item:nth-child(1) .feature-icon {
  background-color: #e6f9f1;
  color: #28a745;
}
.feature-item:nth-child(2) .feature-icon {
  background-color: #e7f3ff;
  color: #007bff;
}
.feature-item:nth-child(3) .feature-icon {
  background-color: #f3e8ff;
  color: #6f42c1;
}
.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.feature-item p {
  color: #666;
  font-size: 0.95rem;
}
.reseller-image {
  position: relative;
}
.reseller-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.image-badge {
  position: absolute;
  background: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.image-badge span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f77f00;
}
.image-badge p {
  margin: 0;
  color: #666;
}
.badge-1 {
  top: 20px;
  right: -30px;
}
.badge-2 {
  bottom: 20px;
  left: -30px;
}

footer {
  background-color: #0d2c4a;
  color: #fff;
  padding: 60px 0 20px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid #f77f00;
  padding-bottom: 10px;
  display: inline-block;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #adb5bd;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #f77f00;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  background-color: #f77f00;
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 700;
  margin-right: 15px;
}

.footer-logo .logo-text h1 {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  margin: 0;
}

.footer-logo-image {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.footer-logo-image img {
  max-height: 50px;
  max-width: 150px;
  object-fit: contain;
  border-radius: 4px;
  filter: brightness(0) invert(1);
}

.footer-column p {
  color: #adb5bd;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  color: #adb5bd;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  footer {
    padding: 40px 0 20px 0;
  }

  .reseller-card {
    padding: 30px 20px;
    margin: 0 20px;
  }

  .reseller-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .feature-item h3 {
    font-size: 1.2rem;
  }

  .reseller-actions .btn {
    display: block;
    margin: 10px 0;
    width: 100%;
  }

  .reseller h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .reseller-card {
    padding: 25px 15px;
    margin: 0 15px;
  }

  .feature-item {
    padding: 15px;
  }

  .reseller h2 {
    font-size: 1.8rem;
  }

  .reseller .section-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }
}

.checkout-container {
  max-width: 1000px;
  margin: 0 auto;
}

.checkout-header {
  text-align: center;
  margin-bottom: 40px;
}

.checkout-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.checkout-header p {
  color: #666;
  font-size: 1.1rem;
}

.checkout-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.order-summary {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  height: fit-content;
}

.order-summary h3 {
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f77f00;
}

.order-items {
  margin-bottom: 20px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.order-item:last-child {
  border-bottom: none;
}

.item-info h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  color: #333;
}

.item-qty {
  color: #666;
  font-size: 0.9rem;
}

.item-price {
  font-weight: 600;
  color: #333;
}

.order-total {
  padding-top: 15px;
  border-top: 2px solid #f77f00;
  text-align: right;
  font-size: 1.2rem;
  color: #333;
}

.checkout-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.checkout-form h3 {
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f77f00;
}

.form-checkout .form-group {
  margin-bottom: 20px;
}

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

.form-checkout input,
.form-checkout select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-checkout input:focus,
.form-checkout select:focus {
  outline: none;
  border-color: #f77f00;
  box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.1);
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.form-actions .btn {
  flex: 1;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
}

.checkout-success {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 30px;
}

.success-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 20px;
}

.checkout-success h2 {
  color: #333;
  margin-bottom: 15px;
}

.checkout-success p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.success-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.success-actions .btn {
  padding: 15px 30px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .checkout-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .order-summary,
  .checkout-form {
    padding: 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .success-actions {
    flex-direction: column;
    align-items: center;
  }

  .success-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.header-left h1 {
  margin: 0 0 5px 0;
  color: #333;
}

.header-left p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.order-detail-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.order-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.order-summary-card,
.status-update-card,
.order-items-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.order-summary-card h3,
.status-update-card h3,
.order-items-card h3 {
  margin: 0 0 20px 0;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #f77f00;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  font-weight: 600;
  color: #555;
}

.info-row .value {
  color: #333;
}

.total-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f77f00;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-processing {
  background-color: #cce7ff;
  color: #004085;
}

.status-shipped {
  background-color: #e2e3e5;
  color: #383d41;
}

.status-delivered {
  background-color: #d1ecf1;
  color: #0c5460;
}

.status-completed {
  background-color: #d4edda;
  color: #155724;
}

.status-cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

.status-form .form-group {
  margin-bottom: 20px;
}

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

.status-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.status-form select:focus {
  outline: none;
  border-color: #f77f00;
  box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.1);
}

.items-table {
  overflow-x: auto;
}

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

.items-table th,
.items-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.items-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-cart-item .item-image img,
.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.category-icon-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s ease;
}

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

.product-card-compact-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s ease;
}

.product-card-compact:hover .product-card-compact-img {
  transform: scale(1.02);
}

.product-name {
  font-weight: 500;
  color: #333;
}

.total-row {
  background-color: #f8f9fa;
  font-weight: 600;
}

.total-row td {
  border-bottom: none;
  border-top: 2px solid #f77f00;
}

@media (max-width: 768px) {
  .order-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .order-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .order-summary-card,
  .status-update-card,
  .order-items-card {
    padding: 20px;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .items-table {
    font-size: 0.9rem;
  }

  .product-info {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

.cart-header {
  text-align: center;
  margin-bottom: 40px;
}

.cart-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.cart-header p {
  color: #666;
  font-size: 1.1rem;
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.empty-cart-icon {
  font-size: 5rem;
  color: #ddd;
  margin-bottom: 30px;
}

.empty-cart h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.empty-cart p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.empty-cart-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.empty-cart-actions .btn {
  padding: 15px 30px;
  font-size: 1rem;
}

.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
}

.item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #adb5bd;
  font-size: 2rem;
}

.item-details {
  flex: 1;
}

.item-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.item-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 0.9rem;
  color: #666;
}

.price-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f77f00;
}

.item-quantity {
  text-align: center;
}

.item-quantity label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  background: #f8f9fa;
  border: none;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: #e9ecef;
  color: #333;
}

.qty-input {
  border: none;
  width: 60px;
  height: 35px;
  text-align: center;
  font-weight: 600;
  background: #fff;
}

.qty-input:focus {
  outline: none;
  background: #f8f9fa;
}

.item-total {
  text-align: right;
}

.total-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 4px;
}

.total-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.item-actions {
  text-align: center;
}

.remove-btn {
  color: #dc3545;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.remove-btn:hover {
  background: #f8d7da;
  color: #721c24;
}

.summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  position: sticky;
  top: 140px;
}

.summary-card h3 {
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f77f00;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.total-row {
  border-top: 2px solid #f77f00;
  margin-top: 15px;
  padding-top: 15px;
  font-weight: 600;
  font-size: 1.1rem;
}

.total-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f77f00;
}

.cart-actions {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-actions .btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  justify-content: center;
}

.continue-shopping {
  margin-top: 20px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.continue-shopping a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.continue-shopping a:hover {
  color: #f77f00;
}

@media (max-width: 768px) {
  .cart-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 15px;
    padding: 20px;
  }

  .item-image {
    width: 80px;
    height: 80px;
    grid-row: 1 / 3;
  }

  .item-details {
    grid-column: 2;
  }

  .item-quantity,
  .item-total,
  .item-actions {
    grid-column: 1 / -1;
    text-align: left;
  }

  .quantity-controls {
    justify-content: flex-start;
    width: fit-content;
  }

  .summary-card {
    position: static;
  }

  .empty-cart-actions {
    flex-direction: column;
    align-items: center;
  }

  .empty-cart-actions .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
  margin: 0;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-container {
  display: none;
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  max-width: 100%;
  width: 100%;
  padding: 0;
}

.form-container.show {
  display: block;
}

.form-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 0;
  border: 1px solid #e2e8f0;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.1) 0%,
    rgba(249, 115, 22, 0.05) 100%
  );
  pointer-events: none;
}

.form-card h2 {
  color: #1e293b;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
  text-shadow: none;
}

.admin-form {
  display: grid;
  gap: 25px;
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-weight: 600;
  color: #1e293b;
  font-size: 15px;
  margin-bottom: 8px;
  text-shadow: none;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px 24px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: #1e293b;
  font-weight: 500;
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 50px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
  background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-group input[type="file"] {
  padding: 12px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.form-group input[type="file"]::-webkit-file-upload-button {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  margin-right: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.form-card .btn {
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.form-card .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;
}

.form-card .btn:hover::before {
  left: 100%;
}

.form-card .btn[type="submit"],
.form-card .btn.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.form-card .btn[type="submit"]:hover,
.form-card .btn.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.form-card .btn.btn-secondary,
.form-card .btn[type="button"] {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(107, 114, 128, 0.3);
}

.form-card .btn.btn-secondary:hover,
.form-card .btn[type="button"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(107, 114, 128, 0.4);
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.form-card .btn.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.form-card .btn.btn-danger:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.dashboard-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.header-text h1 {
  margin: 0 0 10px 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.header-text p {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.date-time {
  font-size: 0.9rem;
  opacity: 0.8;
}

.revenue-highlight {
  text-align: right;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.revenue-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

.revenue-amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.modern-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.stat-card-modern {
  background: white;
  border-radius: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--card-color),
    var(--card-color-light)
  );
}

.stat-card-modern.green {
  --card-color: #10b981;
  --card-color-light: #34d399;
}

.stat-card-modern.blue {
  --card-color: #3b82f6;
  --card-color-light: #60a5fa;
}

.stat-card-modern.purple {
  --card-color: #8b5cf6;
  --card-color-light: #a78bfa;
}

.stat-card-modern.orange {
  --card-color: #f97316;
  --card-color-light: #fb923c;
}

.stat-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    var(--card-color),
    var(--card-color-light)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.stat-content h3 {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

.stat-number {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
}

.stat-change {
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 500;
}

.stat-change.positive {
  background: #dcfce7;
  color: #16a34a;
}

.stat-change.negative {
  background: #fef2f2;
  color: #dc2626;
}

.stat-change.neutral {
  background: #f1f5f9;
  color: #64748b;
}

.service-register-container,
.service-track-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.service-register-header,
.service-track-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #1e293b;
  padding: 140px 0 60px;
  text-align: center;
}

.service-register-header h1,
.service-track-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-register-header p,
.service-track-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.service-register-content,
.service-track-content {
  padding: 60px 0;
}

.service-form-card,
.service-details-card,
.service-history-card,
.approval-requests-card,
.service-invoice-card,
.service-search-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
}

.service-form {
  padding: 40px;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section h3 {
  color: #1e293b;
  margin-bottom: 25px;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section h3 i {
  color: #f77f00;
  font-size: 1.1rem;
}

.service-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #f77f00;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.5rem;
}

.info-card h4 {
  color: #1e293b;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 600;
}

.info-card p {
  color: #64748b;
  line-height: 1.6;
}

.service-details-card {
  padding: 40px;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e2e8f0;
}

.service-id h2 {
  color: #1e293b;
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-badge,
.priority-badge,
.approval-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.status-pending {
  background: #fef3c7;
  color: #d97706;
}
.status-badge.status-waiting {
  background: #dbeafe;
  color: #2563eb;
}
.status-badge.status-progress {
  background: #dcfce7;
  color: #16a34a;
}
.status-badge.status-approval {
  background: #fef3c7;
  color: #d97706;
}
.status-badge.status-qc {
  background: #e0e7ff;
  color: #6366f1;
}
.status-badge.status-ready {
  background: #dcfce7;
  color: #16a34a;
}
.status-badge.status-completed {
  background: #dcfce7;
  color: #16a34a;
}
.status-badge.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
}

.priority-badge.normal {
  background: #f1f5f9;
  color: #64748b;
}
.priority-badge.urgent {
  background: #fef3c7;
  color: #d97706;
}
.priority-badge.emergency {
  background: #fee2e2;
  color: #dc2626;
}

.approval-badge.pending {
  background: #fef3c7;
  color: #d97706;
}
.approval-badge.approved {
  background: #dcfce7;
  color: #16a34a;
}
.approval-badge.rejected {
  background: #fee2e2;
  color: #dc2626;
}

.service-dates {
  text-align: right;
  color: #64748b;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  justify-content: flex-end;
}

.date-item i {
  color: #f77f00;
}

.service-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.info-section {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border-left: 4px solid #f77f00;
}

.info-section h4 {
  color: #1e293b;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-section h4 i {
  color: #f77f00;
}

.info-details p {
  margin-bottom: 10px;
  color: #475569;
  line-height: 1.6;
}

.info-details strong {
  color: #1e293b;
  font-weight: 600;
}

.problem-description {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border-left: 4px solid #f77f00;
}

.problem-description h4 {
  color: #1e293b;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.problem-description h4 i {
  color: #f77f00;
}

.problem-description p {
  color: #475569;
  line-height: 1.7;
  white-space: pre-line;
}

.service-search-card {
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.service-search-form .search-group {
  margin-bottom: 30px;
}

.service-search-form label {
  display: block;
  margin-bottom: 15px;
  color: #1e293b;
  font-weight: 600;
  font-size: 1.1rem;
}

.search-input-group {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.search-input-group input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input-group input:focus {
  border-color: #f77f00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.1);
}

.help-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
}

.help-section h3 {
  color: #1e293b;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.help-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  text-decoration: none;
  transition: all 0.3s ease;
}

.help-link:hover {
  background: #f77f00;
  border-color: #f77f00;
  color: white;
  transform: translateY(-2px);
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 40px;
}

.timeline-item.current .timeline-marker {
  background: #f77f00;
  color: white;
  box-shadow: 0 0 0 4px rgba(247, 127, 0, 0.2);
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 5px;
  width: 30px;
  height: 30px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.8rem;
}

.timeline-content {
  background: #f8fafc;
  border-radius: 15px;
  padding: 20px;
  border-left: 4px solid #e2e8f0;
}

.timeline-item.current .timeline-content {
  border-left-color: #f77f00;
  background: #fff7ed;
}

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

.timeline-header h4,
.timeline-header h5 {
  color: #1e293b;
  font-weight: 600;
  margin: 0;
}

.technician {
  color: #64748b;
  font-size: 0.9rem;
}

.status-change {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-weight: 600;
}

.status-from {
  color: #64748b;
}

.status-to {
  color: #f77f00;
}

.status-change i {
  color: #94a3b8;
}

.timeline-notes,
.timeline-admin-notes {
  color: #475569;
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}

.timeline-admin-notes {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.approval-requests-card {
  padding: 40px;
}

.approval-requests-card h3 {
  color: #1e293b;
  margin-bottom: 30px;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.approval-requests-card h3 i {
  color: #f77f00;
}

.approval-item {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  border-left: 4px solid #e2e8f0;
  transition: all 0.3s ease;
}

.approval-item.pending {
  border-left-color: #d97706;
  background: #fffbeb;
}

.approval-item.approved {
  border-left-color: #16a34a;
  background: #f0fdf4;
}

.approval-item.rejected {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.approval-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.part-info h4,
.part-info h5 {
  color: #1e293b;
  margin-bottom: 8px;
  font-weight: 600;
}

.part-details {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.approval-status {
  text-align: right;
}

.approval-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 8px;
}

.approval-details p {
  margin-bottom: 10px;
  color: #475569;
  line-height: 1.6;
}

.approval-details strong {
  color: #1e293b;
}

.approval-media {
  margin: 20px 0;
}

.approval-photo {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.approval-actions {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.approval-form .form-group {
  margin-bottom: 20px;
}

.approval-form label {
  display: block;
  margin-bottom: 8px;
  color: #1e293b;
  font-weight: 600;
}

.approval-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.approval-form textarea:focus {
  border-color: #f77f00;
  outline: none;
}

.approval-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.approval-result {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.service-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.service-invoice-card {
  padding: 40px;
}

.service-invoice-card h3 {
  color: #1e293b;
  margin-bottom: 30px;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-invoice-card h3 i {
  color: #f77f00;
}

.invoice-details {
  background: #f8fafc;
  border-radius: 15px;
  padding: 30px;
  border: 2px solid #e2e8f0;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.invoice-header h4,
.invoice-header h5 {
  color: #1e293b;
  font-weight: 600;
  margin: 0;
}

.payment-status {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.payment-status.unpaid {
  background: #fee2e2;
  color: #dc2626;
}
.payment-status.partial {
  background: #fef3c7;
  color: #d97706;
}
.payment-status.paid {
  background: #dcfce7;
  color: #16a34a;
}

.invoice-breakdown {
  margin-bottom: 20px;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.cost-item:last-child {
  border-bottom: none;
}

.cost-item.subtotal {
  font-weight: 600;
  color: #1e293b;
  border-top: 2px solid #e2e8f0;
  margin-top: 10px;
  padding-top: 15px;
}

.cost-item.total {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  background: #fff7ed;
  margin: 15px -15px -15px;
  padding: 20px 15px;
  border-radius: 10px;
  border: 2px solid #f77f00;
}

.invoice-due {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-weight: 600;
  margin-top: 20px;
}

.invoice-due i {
  color: #f77f00;
}

.service-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.service-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(247, 127, 0, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.service-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-left {
  padding-right: 20px;
}

.service-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
}

.service-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;
  line-height: 1.2;
}

.service-title .highlight {
  color: #f77f00;
  position: relative;
}

.service-title .highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  border-radius: 2px;
}

.service-description {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 40px;
}

.service-features {
  margin-bottom: 40px;
}

.service-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-features .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-features .feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-features .feature-text h4 {
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-features .feature-text p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.service-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.service-actions .btn {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.service-actions .btn-primary {
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  color: white;
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
}

.service-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.4);
}

.service-actions .btn-secondary {
  background: white;
  color: #f77f00;
  border: 2px solid #f77f00;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-actions .btn-secondary:hover {
  background: #f77f00;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.3);
}

.service-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-image-container {
  width: 100%;
  max-width: 400px;
}

.service-image {
  background: linear-gradient(135deg, #1e293b, #334155);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.service-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(247, 127, 0, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.service-image i {
  font-size: 4rem;
  color: #f77f00;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-image h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.service-image p {
  color: #cbd5e1;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
}

@media (max-width: 768px) {
  .service-register-header,
  .service-track-header {
    padding: 120px 0 40px;
  }

  .service-register-header h1,
  .service-track-header h1 {
    font-size: 2rem;
  }

  .service-register-header p,
  .service-track-header p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .service-section {
    padding: 60px 0;
  }

  .service-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .service-left {
    padding-right: 0;
  }

  .service-title {
    font-size: 2.2rem;
  }

  .service-actions {
    justify-content: center;
  }

  .service-actions .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .service-image {
    padding: 40px 30px;
  }

  .service-image i {
    font-size: 3rem;
  }

  .service-image h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .service-title {
    font-size: 1.8rem;
  }

  .service-actions {
    flex-direction: column;
    align-items: center;
  }

  .service-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .service-features .feature-item {
    padding: 15px;
  }

  .service-features .feature-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

.technician-info strong {
  color: #1e293b;
  font-weight: 600;
}

.technician-info small {
  color: #64748b;
  font-size: 0.85rem;
}

.contact-info {
  font-size: 0.9rem;
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: #64748b;
}

.contact-info i {
  color: #f77f00;
  width: 14px;
}

.specialization-badge {
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
}

.service-stats {
  text-align: center;
}

.active-services {
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 4px;
}

.total-services {
  color: #64748b;
  font-size: 0.85rem;
}

.status-badge.active {
  background: #dcfce7;
  color: #16a34a;
}

.status-badge.inactive {
  background: #fee2e2;
  color: #dc2626;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-radius: 15px 15px 0 0;
}

.modal-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-header .close {
  color: #64748b;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-header .close:hover {
  color: #dc2626;
}

.modal-body {
  padding: 30px;
}

.modal .admin-form {
  padding: 30px;
}

.form-help {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.4;
}

.no-data {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.no-data i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.no-data p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #475569;
}

.no-data small {
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-body,
  .modal .admin-form {
    padding: 20px;
  }

  .contact-info {
    font-size: 0.8rem;
  }

  .specialization-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  .service-stats {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    margin: 5% auto;
  }

  .technician-info,
  .contact-info,
  .service-stats {
    font-size: 0.8rem;
  }

  .action-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .action-buttons .btn {
    width: 100%;
    padding: 8px 12px;
  }
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}

.dashboard-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.dashboard-card.full-width {
  grid-column: 1 / -1;
}

.card-header {
  padding: 20px 25px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.message-count {
  background: #e2e8f0;
  color: #64748b;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.unread-indicator {
  background: #fef3c7;
  color: #d97706;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
}

.view-all {
  color: #f97316;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: #ea580c;
}

.card-content {
  padding: 25px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.order-item:hover {
  background: #f1f5f9;
  transform: translateX(5px);
}

.order-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.order-id {
  font-weight: 600;
  color: #f97316;
  font-size: 0.9rem;
}

.customer-name {
  font-weight: 500;
  color: #1e293b;
}

.reseller-tag {
  font-size: 0.8rem;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 10px;
  width: fit-content;
}

.order-details {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.order-amount {
  font-weight: 600;
  color: #10b981;
}

.order-date {
  font-size: 0.8rem;
  color: #64748b;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 15px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.quick-action:hover {
  background: #f97316;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.quick-action i {
  font-size: 1.5rem;
}

.quick-action span {
  font-weight: 500;
  font-size: 0.9rem;
}

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

.system-stat {
  text-align: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.system-stat:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 500;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-state p {
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .revenue-highlight {
    text-align: center;
  }

  .modern-stats {
    grid-template-columns: 1fr;
  }

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

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .system-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.products-header {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  color: white;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.2);
}

.products-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.products-header .header-text h1 {
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  font-weight: 700;
}

.products-header .header-text p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.header-actions .btn {
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.filters-section {
  margin-bottom: 30px;
}

.filters-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: end;
}

.filters-form .filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
  flex: 1;
}

.filter-group label {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
}

.filter-group select,
.filter-group input[type="date"] {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  cursor: pointer;
}

.filter-group select:focus,
.filter-group input[type="date"]:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.search-group {
  position: relative;
}

.search-input {
  position: relative;
}
.search-input i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.search-bar {
  padding: 20px;
}

.modal-content {
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

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

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #1e293b;
}

.products-container {
  position: relative;
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.product-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.product-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image-small {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
}

.product-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image-small {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #94a3b8;
  font-size: 1.5rem;
}

.product-badge-small {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-main-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-main-info .product-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.product-main-info .product-category {
  color: #64748b;
  font-size: 0.9rem;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-meta-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-meta-inline .stock-info,
.product-meta-inline .rating-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #64748b;
}

.product-meta-inline .rating-info {
  color: #f59e0b;
}

.product-meta-inline .product-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-meta-inline .product-status.aktif {
  background: #dcfce7;
  color: #16a34a;
}

.product-meta-inline .product-status.tidak-aktif {
  background: #fef2f2;
  color: #dc2626;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f8fafc;
}

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

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

.no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #94a3b8;
  font-size: 0.9rem;
}

.no-image i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-status.aktif {
  background: #dcfce7;
  color: #16a34a;
}

.product-status.tidak-aktif {
  background: #fef2f2;
  color: #dc2626;
}

.product-info {
  padding: 20px;
}

.product-name {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.product-category {
  margin: 0 0 15px 0;
  color: #64748b;
  font-size: 0.9rem;
}

.product-pricing {
  margin-bottom: 15px;
}

.current-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f97316;
}

.original-price {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 8px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
}

.stock-info,
.rating-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #64748b;
}

.stock-count.low-stock {
  color: #dc2626;
  font-weight: 600;
}

.rating-info {
  color: #f59e0b;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-edit {
  flex: 1;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-delete {
  flex: 1;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.products-container .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.products-container .empty-state i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.products-container .empty-state h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  color: #1e293b;
}

.products-container .empty-state p {
  margin: 0 0 25px 0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .page-header {
    padding: 20px;
    margin-bottom: 20px;
  }

  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .header-left {
    min-width: auto;
  }

  .header-left h1 {
    font-size: 1.5rem;
  }

  .header-left h1 i {
    font-size: 1.3rem;
  }

  .header-left p {
    font-size: 0.9rem;
  }

  .header-right {
    justify-content: flex-start;
  }

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

@media (max-width: 480px) {
  .page-header {
    padding: 16px;
  }

  .header-left h1 {
    font-size: 1.3rem;
  }

  .header-left p {
    font-size: 0.85rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .admin-layout {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease;
    width: 280px;
  }

  .sidebar.mobile-open {
    left: 0;
  }

  .main-content {
    margin-left: 0;
    padding: 15px;
    min-height: 100vh;
  }

  .mobile-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .mobile-overlay.active {
    display: block;
  }

  .products-header .header-content,
  .orders-header .header-content,
  .commissions-header .header-content,
  .categories-header .header-content,
  .commission-settings-header .header-content,
  .dashboard-header .header-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .header-text h1 {
    font-size: 1.8rem !important;
  }

  .header-text p {
    font-size: 0.9rem !important;
  }

  .revenue-highlight {
    text-align: center;
    width: 100%;
  }

  .modern-stats,
  .commission-stats,
  .commission-stats-overview {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card-modern,
  .stat-card-commission {
    padding: 15px;
  }

  .filters-row {
    flex-direction: column;
    gap: 15px;
  }

  .filter-group {
    min-width: 100%;
  }

  .filter-group select,
  .filter-group input[type="date"] {
    padding: 14px 16px;
    font-size: 16px;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .header-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .product-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 15px;
  }

  .product-image-small {
    align-self: center;
  }

  .product-details {
    align-items: center;
  }

  .product-meta-inline {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .product-actions .btn {
    width: 100%;
  }

  .order-item,
  .commission-item,
  .category-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 15px;
  }

  .order-customer,
  .commission-reseller,
  .category-info {
    align-items: center;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .dashboard-card {
    margin-bottom: 15px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-action {
    padding: 15px;
  }

  .system-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .modal-content {
    margin: 10px;
    max-height: 95vh;
    width: calc(100% - 20px);
  }

  .modal-header {
    padding: 15px;
  }

  .card-content {
    padding: 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-group {
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .form-actions .btn {
    width: 100%;
    padding: 14px;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    font-size: 0.85rem;
    min-width: 600px;
  }

  .data-table th,
  .data-table td {
    padding: 8px 4px;
    white-space: nowrap;
  }

  .data-table td:last-child {
    position: sticky;
    right: 0;
    background: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
  }

  .action-buttons {
    flex-direction: column;
    gap: 5px;
  }

  .action-buttons .btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .distribution-table {
    font-size: 0.8rem;
  }

  .reseller-names {
    max-width: 200px;
    font-size: 0.75rem;
  }

  .desktop-only {
    display: none !important;
  }
}

.categories-header {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  color: white;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.categories-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.categories-header .header-text h1 {
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  font-weight: 700;
}

.categories-header .header-text p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.categories-container {
  position: relative;
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.category-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.category-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-icon {
  color: #94a3b8;
  font-size: 1.5rem;
}

.category-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.category-meta {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.category-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .categories-header .header-content {
    flex-direction: column;
    text-align: center;
  }

  .category-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .category-info {
    align-items: center;
  }
}

.orders-header {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  color: white;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

.orders-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.orders-header .header-text h1 {
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  font-weight: 700;
}

.orders-header .header-text p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.orders-container {
  position: relative;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.order-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.order-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.order-id-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.order-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #3b82f6;
  font-size: 0.9rem;
}

.order-date {
  font-size: 0.8rem;
  color: #64748b;
}

.order-customer {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.customer-name,
.reseller-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.customer-name {
  font-weight: 600;
  color: #1e293b;
}

.reseller-info {
  color: #64748b;
  font-size: 0.8rem;
}

.order-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 120px;
}

.amount-label {
  font-size: 0.8rem;
  color: #64748b;
}

.amount-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #10b981;
}

.order-status {
  min-width: 100px;
  display: flex;
  justify-content: center;
}

.order-actions {
  min-width: 100px;
  display: flex;
  justify-content: center;
}

.btn-detail {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.commissions-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  color: white;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.commissions-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.commissions-header .header-text h1 {
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  font-weight: 700;
}

.commissions-header .header-text p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.commission-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card-commission {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card-commission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color);
}

.stat-card-commission.pending {
  --card-color: #f59e0b;
}

.stat-card-commission.paid {
  --card-color: #10b981;
}

.stat-card-commission.total {
  --card-color: #6366f1;
}

.stat-card-commission:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card-commission .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--card-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.stat-card-commission .stat-content h3 {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

.stat-card-commission .stat-number {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

.commissions-container {
  position: relative;
}

.commissions-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.commission-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.commission-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.commission-id-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.commission-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #10b981;
  font-size: 0.9rem;
}

.commission-date {
  font-size: 0.8rem;
  color: #64748b;
}

.commission-reseller {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reseller-name,
.order-reference {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.reseller-name {
  font-weight: 600;
  color: #1e293b;
}

.order-reference {
  color: #64748b;
  font-size: 0.8rem;
}

.commission-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 120px;
}

.commission-status {
  min-width: 100px;
  display: flex;
  justify-content: center;
}

.commission-actions {
  min-width: 120px;
  display: flex;
  justify-content: center;
}

.btn-pay {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.payment-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #10b981;
  font-size: 0.8rem;
}

.payment-info i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.payment-info small {
  color: #64748b;
  font-size: 0.7rem;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending {
  background: #fef3c7;
  color: #d97706;
}

.status-processing {
  background: #dbeafe;
  color: #2563eb;
}

.status-shipped {
  background: #e0e7ff;
  color: #6366f1;
}

.status-delivered {
  background: #dcfce7;
  color: #16a34a;
}

.status-completed {
  background: #dcfce7;
  color: #16a34a;
}

.status-cancelled {
  background: #fef2f2;
  color: #dc2626;
}

.status-paid {
  background: #dcfce7;
  color: #16a34a;
}

@media (max-width: 768px) {
  .orders-header .header-content,
  .commissions-header .header-content {
    flex-direction: column;
    text-align: center;
  }

  .order-item,
  .commission-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .order-customer,
  .commission-reseller {
    align-items: center;
  }

  .commission-stats {
    grid-template-columns: 1fr;
  }
}

.commission-settings-header {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  color: white;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

.commission-settings-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.commission-settings-header .header-text h1 {
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  font-weight: 700;
}

.commission-settings-header .header-text p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.commission-stats-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card-commission.overview {
  --card-color: #6366f1;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}

.settings-card,
.distribution-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.settings-card:hover,
.distribution-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.distribution-card {
  grid-column: 1 / -1;
}

.card-header {
  padding: 20px 25px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
}

.card-content {
  padding: 25px;
}

.form-help {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
}

.commission-rate {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.distribution-table {
  overflow-x: auto;
}

.reseller-names {
  max-width: 300px;
  word-wrap: break-word;
  font-size: 0.9rem;
  color: #64748b;
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

@media (max-width: 768px) {
  .commission-settings-header .header-content {
    flex-direction: column;
    text-align: center;
  }

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

  .commission-stats-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-actions .btn {
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
}

.table-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

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

.data-table th,
.data-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.data-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.data-table tbody tr:hover {
  background-color: #f8f9fa;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.user-info strong {
  color: #333;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.no-data {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.no-data i {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 15px;
  display: block;
}

.no-data p {
  margin: 0;
  font-size: 1.1rem;
}

.status-badge,
.role-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-aktif,
.status-active {
  background-color: #d4edda;
  color: #155724;
}

.status-nonaktif,
.status-inactive {
  background-color: #f8d7da;
  color: #721c24;
}

.role-administrator {
  background-color: #e7f3ff;
  color: #004085;
}

.role-akunting {
  background-color: #fff3cd;
  color: #856404;
}

.role-reseller {
  background-color: #f0f9ff;
  color: #0369a1;
}

.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.btn-danger {
  background-color: #dc3545;
  color: #fff;
  border: 1px solid #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .admin-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .action-buttons {
    flex-direction: column;
  }

  .data-table {
    font-size: 0.9rem;
  }

  .data-table th,
  .data-table td {
    padding: 10px;
  }
}

.login-body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #0d2c4a 0%, #1e3a5f 50%, #2a4d6b 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-container {
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 50;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  gap: 15px;
}

.login-logo .logo-icon {
  background: linear-gradient(135deg, #f77f00, #ff9500);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(247, 127, 0, 0.3);
}

.login-logo .logo-text h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d2c4a;
  margin: 0;
  line-height: 1.2;
}

.login-logo .logo-text span {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.login-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.login-header p {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

.login-alert {
  background: #f8d7da;
  color: #721c24;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #f5c6cb;
  font-weight: 500;
}

.login-form {
  margin-bottom: 25px;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.login-form input {
  width: 100% !important;
  padding: 15px 20px !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: #fff !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.login-form input:focus {
  outline: none !important;
  border-color: #f77f00 !important;
  box-shadow: 0 0 0 4px rgba(247, 127, 0, 0.1) !important;
  transform: translateY(-1px) !important;
  background: #fff !important;
  z-index: 200 !important;
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: #f77f00;
}

.login-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #f77f00, #ff9500) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 8px 20px rgba(247, 127, 0, 0.3) !important;
  position: relative !important;
  z-index: 1000 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  pointer-events: auto !important;
}

.login-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 25px rgba(247, 127, 0, 0.4) !important;
  background: linear-gradient(135deg, #ff9500, #f77f00) !important;
}

.login-btn:active {
  transform: translateY(0) !important;
}

.login-btn:focus {
  outline: 2px solid #f77f00 !important;
  outline-offset: 2px !important;
}

.login-form .login-btn,
button.login-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #f77f00, #ff9500) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 8px 20px rgba(247, 127, 0, 0.3) !important;
  position: relative !important;
  z-index: 1000 !important;
  outline: none !important;
  pointer-events: auto !important;
  text-decoration: none !important;
}

.login-form .login-btn:hover,
button.login-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 25px rgba(247, 127, 0, 0.4) !important;
  background: linear-gradient(135deg, #ff9500, #f77f00) !important;
  color: #fff !important;
}

.login-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
  text-align: center;
}

.login-info {
  margin-bottom: 15px;
}

.login-info p {
  margin: 0 0 5px 0;
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.login-info small {
  color: #888;
  font-size: 0.85rem;
}

.login-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.login-links a:hover {
  color: #f77f00;
}

.login-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@media (max-width: 768px) {
  .login-container {
    padding: 15px;
  }

  .login-card {
    padding: 30px 25px;
    border-radius: 15px;
  }

  .login-logo {
    flex-direction: column;
    gap: 10px;
  }

  .login-logo .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .login-logo .logo-text h1 {
    font-size: 1.5rem;
  }

  .login-header h2 {
    font-size: 1.5rem;
  }

  .bg-shape {
    display: none;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 50px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-content .promo-tag {
    justify-content: center;
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .hero-content h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-badge {
    position: static;
    margin-top: 20px;
    justify-content: center;
    padding: 15px 20px;
  }

  .hero-badge-text h4 {
    font-size: 0.9rem;
  }

  .hero-badge-text p {
    font-size: 0.8rem;
  }

  .products {
    padding: 40px 0;
  }

  .products .container {
    padding: 0 15px;
  }

  .products h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .product-card {
    margin: 0 auto;
    max-width: 320px;
  }

  .product-card h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .product-card .price {
    font-size: 1.1rem;
  }

  .product-card .btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .categories-new {
    padding: 50px 0;
  }

  .categories-header {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .categories-header h2 {
    font-size: 2rem;
  }

  .categories-grid-new {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 20px;
  }

  .category-card-new {
    padding: 15px 10px;
  }

  .category-icon-container {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .category-icon-container i {
    font-size: 1.2rem;
  }

  .category-content h3 {
    font-size: 0.9rem;
  }

  .category-content p {
    font-size: 0.7rem;
  }

  .reseller {
    padding: 50px 0;
  }

  .reseller .container {
    padding: 0 20px;
  }

  .reseller-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .reseller-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .reseller-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .reseller-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .feature-item {
    text-align: center;
    padding: 20px 15px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px auto;
  }

  .feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .feature-item p {
    font-size: 0.9rem;
  }

  .reseller-actions {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .reseller-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 25px;
  }
}

.page-header {
  background: white;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.header-left {
  flex: 1;
  min-width: 300px;
}

.header-left h1 {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-left h1 i {
  color: #f97316;
  font-size: 1.8rem;
}

.header-left p {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
  max-width: 600px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn i {
  font-size: 0.9rem;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
  padding: 20px 20px 20px 20px;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.1);
}

.sidebar nav ul {
  list-style: none;
}

.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  font-size: 14px;
}

.sidebar nav a i {
  width: 16px;
  text-align: center;
  font-size: 14px;
  color: inherit;
}

.main-content {
  margin-left: 280px !important;
  padding: 30px;
  background-color: #f8fafc;
  min-height: 100vh;
  width: calc(100% - 280px) !important;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.page-header {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.stat-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card p {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
}

.form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #f97316;
}

.table-container {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

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

.data-table th {
  background: #f8fafc;
  padding: 20px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e2e8f0;
}

.data-table td {
  padding: 20px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.data-table tbody tr {
  transition: all 0.2s ease;
}

.data-table tbody tr:hover {
  background: #f8fafc;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #f87171);
  color: #fff;
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.profile-gallery {
  padding: 60px 0;
  background: #f8fafc;
}

.profile-gallery .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.profile-gallery h2 {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.gallery-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 12px 16px;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #64748b;
  font-size: 0.9rem;
}

.stat-item i {
  color: #f97316;
}

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

.gallery-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.gallery-image img,
.gallery-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img,
.gallery-item:hover .gallery-image video {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
}

.gallery-info {
  padding: 20px;
}

.gallery-info h4 {
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.gallery-info p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.gallery-footer {
  text-align: center;
  margin-top: 40px;
}

.btn-outline {
  background: transparent;
  color: #f97316;
  border: 2px solid #f97316;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: #f97316;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #64748b;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-close:hover {
  color: #f97316;
  transform: scale(1.1);
}

.gallery-modal-header {
  padding: 20px 20px 0 20px;
}

.gallery-modal-header h3 {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  padding-right: 60px;
}

.gallery-modal-body {
  padding: 20px;
}

.gallery-modal-image,
.gallery-modal-video {
  width: 100%;
  max-width: 800px;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 16px;
}

.gallery-modal-body p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.profile-nav .nav-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.profile-nav .nav-link:hover {
  color: #f97316;
}

@media (max-width: 768px) {
  .profile-gallery .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gallery-stats {
    width: 100%;
    justify-content: space-between;
  }

  .stat-item {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.8rem;
  }

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

  .gallery-image {
    height: 180px;
  }

  .gallery-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .gallery-modal-header h3 {
    font-size: 1.2rem;
  }

  .gallery-modal-image,
  .gallery-modal-video {
    max-height: 50vh;
  }
}

@media (max-width: 480px) {
  .gallery-stats {
    flex-direction: column;
    gap: 8px;
  }

  .stat-item {
    justify-content: flex-start;
  }

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

.profile-header {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.profile-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.profile-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.default-avatar {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.profile-details h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-username {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0 0 15px 0;
  font-weight: 500;
}

.profile-bio {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  opacity: 0.95;
  max-width: 500px;
}

.profile-contacts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.8);
}
.contact-btn.instagram:hover {
  background: rgba(225, 48, 108, 0.8);
}
.contact-btn.facebook:hover {
  background: rgba(24, 119, 242, 0.8);
}
.contact-btn.twitter:hover {
  background: rgba(29, 161, 242, 0.8);
}
.contact-btn.youtube:hover {
  background: rgba(255, 0, 0, 0.8);
}
.contact-btn.tiktok:hover {
  background: rgba(0, 0, 0, 0.8);
}
.contact-btn.linkedin:hover {
  background: rgba(0, 119, 181, 0.8);
}
.contact-btn.website:hover {
  background: rgba(108, 117, 125, 0.8);
}

.profile-stats {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.profile-nav {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.profile-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #f97316;
}

.nav-divider {
  color: #d1d5db;
}

.nav-current {
  color: #f97316;
  font-weight: 600;
}

.profile-products {
  padding: 40px 0;
  background: #f8fafc;
  min-height: 50vh;
}

.profile-products .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.profile-products h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.no-image {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
}

.no-image i {
  font-size: 3rem;
  margin-bottom: 8px;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc2626;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 20px;
}

.product-category {
  color: #f97316;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f97316;
}

.stock {
  font-size: 0.85rem;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 8px;
  border-radius: 12px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions .btn {
  flex: 1;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  padding: 10px 16px;
  background: white;
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
  background: #f97316;
  color: white;
  border-color: #f97316;
}

.no-products {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.no-products i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #d1d5db;
}

.no-products h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #374151;
}

.profile-footer {
  background: #1f2937;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.profile-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #f97316;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .profile-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .profile-stats {
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .stat-item {
    min-width: 120px;
    padding: 15px;
  }

  .profile-details h1 {
    font-size: 1.8rem;
  }

  .profile-username {
    font-size: 1rem;
  }

  .profile-bio {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .product-card {
    max-width: 100%;
  }

  .profile-footer .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .contact-btn {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .profile-contacts {
    justify-content: center;
    gap: 8px;
  }

  .profile-header {
    padding: 30px 0;
  }

  .container {
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .profile-header {
    padding: 20px 0;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-details h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .profile-username {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .profile-bio {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }

  .contact-btn {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

.profile-link-display {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.profile-link-display input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  font-family: monospace;
  font-size: 14px;
  color: #374151;
}

.profile-link-display input:focus {
  outline: none;
  border-color: #f97316;
  background: white;
}

.current-image {
  margin-top: 10px;
  padding: 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.current-image p {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-paid {
  background-color: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background-color: #fee2e2;
  color: #991b1b;
}

.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #1e293b;
  color: white !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: white !important;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-header h2 {
  color: white !important;
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .mobile-header {
    display: flex !important;
  }

  .sidebar {
    left: -280px !important;
    transition: left 0.3s ease !important;
    position: fixed !important;
    top: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    z-index: 1000 !important;
  }

  .sidebar.mobile-open {
    left: 0 !important;
  }

  .main-content {
    margin-left: 0 !important;
    padding-top: 80px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .admin-layout {
    position: relative !important;
    overflow-x: hidden !important;
  }
}

@media (min-width: 1025px) {
  .main-content {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
    max-width: calc(100% - 280px) !important;
    padding: 30px !important;
    box-sizing: border-box !important;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    z-index: 1000;
  }

  .mobile-header {
    display: none !important;
  }

  .form-container {
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
  }

  .form-container.show {
    display: block;
  }

  .sidebar h2 {
    color: white !important;
    padding: 0 20px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 20px !important;
  }

  .sidebar nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .sidebar nav li {
    margin: 0 !important;
  }

  .sidebar nav a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 20px !important;
    color: white !important;
    text-decoration: none !important;
    transition: background 0.3s ease !important;
    font-size: 14px !important;
  }

  .sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #f97316 !important;
  }

  .sidebar nav a.active {
    background: rgba(249, 115, 22, 0.2) !important;
    border-left: 4px solid #f97316 !important;
    color: #f97316 !important;
  }

  .sidebar nav a i {
    color: inherit !important;
    width: 16px !important;
    text-align: center !important;
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 20px 15px !important;
    padding-top: 20px !important;
  }

  .mobile-overlay {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

body {
  margin: 0;
  padding: 0;
}

.admin-layout {
  display: flex !important;
  min-height: 100vh !important;
  position: relative !important;
}

html body .admin-layout {
  display: flex !important;
  min-height: 100vh !important;
}

html body .admin-layout .sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 280px !important;
  height: 100vh !important;
  z-index: 1000 !important;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%) !important;
}

html body .admin-layout .main-content {
  margin-left: 280px !important;
  width: calc(100% - 280px) !important;
  min-height: 100vh !important;
  padding: 30px !important;
  background-color: #f8fafc !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

html body .admin-layout main.main-content {
  margin-left: 280px !important;
  width: calc(100% - 280px) !important;
  min-height: 100vh !important;
  padding: 30px !important;
  background-color: #f8fafc !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

html body .admin-layout .main-content > * {
  position: relative !important;
  z-index: 2 !important;
}

body .sidebar,
.admin-layout .sidebar,
div .sidebar {
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%) !important;
  color: white !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 280px !important;
  height: 100vh !important;
  z-index: 1000 !important;
}

body .main-content,
.admin-layout .main-content,
div .main-content {
  margin-left: 280px !important;
  width: calc(100% - 280px) !important;
  min-height: 100vh !important;
  padding: 30px !important;
  background-color: #f8fafc !important;
  box-sizing: border-box !important;
}

body .sidebar h2,
.admin-layout .sidebar h2,
div .sidebar h2 {
  color: white !important;
  background: rgba(0, 0, 0, 0.2) !important;
  padding: 20px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body .sidebar nav a,
.admin-layout .sidebar nav a,
div .sidebar nav a {
  color: white !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 20px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border-left: 4px solid transparent !important;
}

body .sidebar nav a:hover,
.admin-layout .sidebar nav a:hover,
div .sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f97316 !important;
  border-left-color: #f97316 !important;
}

body .sidebar nav a.active,
.admin-layout .sidebar nav a.active,
div .sidebar nav a.active {
  background: rgba(249, 115, 22, 0.2) !important;
  color: #f97316 !important;
  border-left-color: #f97316 !important;
}

body .sidebar nav a i,
.admin-layout .sidebar nav a i,
div .sidebar nav a i {
  color: inherit !important;
  width: 16px !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  body .sidebar,
  .admin-layout .sidebar,
  div .sidebar {
    left: -100% !important;
    width: 85vw !important;
    max-width: 300px !important;
    transition: left 0.3s ease !important;
  }

  body .sidebar.mobile-open,
  .admin-layout .sidebar.mobile-open,
  div .sidebar.mobile-open {
    left: 0 !important;
  }

  body .main-content,
  .admin-layout .main-content,
  div .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 20px 15px !important;
    min-height: 100vh !important;
  }

  .page-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
  }

  .page-header h1 {
    font-size: 1.5rem;
    margin: 0;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 20px;
  }

  .data-table {
    font-size: 0.85rem;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table th,
  .data-table td {
    padding: 8px 6px;
    white-space: nowrap;
  }

  .data-table .hide-mobile {
    display: none;
  }

  .admin-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-card {
    padding: 20px 15px;
    margin: 0 10px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .action-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .action-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .alert {
    margin: 10px;
    padding: 15px;
    font-size: 0.9rem;
  }

  .dashboard-header {
    padding: 20px 15px;
  }

  .dashboard-header .header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .modern-stats {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }

  .commission-settings-header {
    padding: 20px 15px;
  }

  .orders-header {
    padding: 20px 15px;
  }

  .orders-header .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .products-header {
    padding: 20px 15px;
  }

  .products-header .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .categories-header {
    padding: 20px 15px;
  }

  .categories-header .header-content {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 15px 10px;
  }

  .page-header {
    padding: 15px;
  }

  .page-header h1 {
    font-size: 1.3rem;
  }
  .data-table {
    font-size: 0.8rem;
  }

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

  .stat-card {
    padding: 15px;
  }

  .stat-card h3 {
    font-size: 1.5rem;
  }

  .mobile-info {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.8rem;
  }
}

@media (min-width: 769px) {
  .mobile-info {
    display: none;
  }
}

.form-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.form-section h4 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section h4 i {
  color: #f97316;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  box-sizing: border-box;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.admin-form label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-aktif,
.status-active {
  background: #dcfce7;
  color: #166534;
}

.status-nonaktif,
.status-inactive {
  background: #fef2f2;
  color: #991b1b;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.action-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-group .btn {
  white-space: nowrap;
  min-width: auto;
}

.delete-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
}

.delete-btn:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4) !important;
}

.delete-btn:active {
  transform: translateY(0) !important;
}

.unread-message {
  background: #fef7f0 !important;
  border-left: 4px solid #f97316 !important;
}

.unread-message:hover {
  background: #fed7aa !important;
}

@media (max-width: 768px) {
  .btn-group {
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .header-actions {
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }

  .message-count,
  .unread-indicator {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}

.bulk-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0;
}

.bulk-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bulk-select input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #f97316;
}

.bulk-select label {
  font-weight: 500;
  color: #64748b;
  margin: 0;
}

.bulk-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0.5;
  pointer-events: none;
  transition: all 0.3s ease;
}

.bulk-controls select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  font-size: 0.9rem;
  min-width: 180px;
}

.bulk-controls .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.message-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #f97316;
  cursor: pointer;
}

@media (max-width: 768px) {
  .bulk-actions {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .bulk-controls {
    flex-direction: column;
    gap: 10px;
  }

  .bulk-controls select,
  .bulk-controls .btn {
    width: 100%;
  }
}

.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  border: 1px solid;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.activity-section {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.activity-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px 0;
}

@media (max-width: 1024px) {
  .sidebar {
    width: 250px;
  }

  .main-content {
    margin-left: 250px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    position: relative;
    height: auto;
  }
}

.search-bar {
  position: relative;
  width: 350px;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-form input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 25px 0 0 25px;
  font-size: 0.9rem;
  border-right: none;
  transition: all 0.3s ease;
}

.search-form input:focus {
  outline: none;
  border-color: #f77f00;
  box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.1);
}

.search-btn {
  background: #f77f00;
  border: 2px solid #f77f00;
  border-radius: 0 25px 25px 0;
  padding: 12px 15px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: #e56f00;
  border-color: #e56f00;
}

.products-page-header {
  text-align: center;
  margin-bottom: 40px;
}

.products-page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
}

.search-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.search-info p {
  color: #666;
  font-size: 1.1rem;
}

.products-filters {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.search-section {
  margin-bottom: 30px;
}

.search-form-page {
  display: flex;
  justify-content: center;
}

.search-input-group {
  display: flex;
  max-width: 500px;
  width: 100%;
  gap: 10px;
}

.search-input-page {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 25px 0 0 25px;
  font-size: 16px;
  border-right: none;
}

.search-input-page:focus {
  outline: none;
  border-color: #f77f00;
}

.search-btn-page {
  background: linear-gradient(135deg, #f77f00 0%, #ff9500 100%);
  border: 2px solid #f77f00;
  border-radius: 0 25px 25px 0;
  padding: 15px 25px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-btn-page:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 127, 0, 0.3);
}

.category-filter h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-size: 1.3rem;
}

.category-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.category-btn {
  padding: 10px 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #f77f00;
  border-color: #f77f00;
  color: white;
  transform: translateY(-2px);
}

.category-btn.active {
  background: #f77f00;
  border-color: #f77f00;
  color: white;
}

.no-products-found {
  text-align: center;
  padding: 80px 20px;
}

.no-products-content {
  max-width: 500px;
  margin: 0 auto;
}

.no-products-content i {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 20px;
}

.no-products-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

.no-products-content p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.categories-new {
  padding: 80px 0;
  background: #f8fafc;
}

.categories-header {
  background: linear-gradient(353deg, #6b7280 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  color: white;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
  text-align: center;
}

.categories-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.categories-header .section-subtitle {
  font-size: 1.1rem;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
}

.categories-grid-new {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card-new {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 15px;
  padding: 20px 15px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 127, 0, 0.1);
}

.category-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.category-card-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f77f00, #ff9500);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card-new:hover::before {
  opacity: 1;
}

.category-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  transition: all 0.3s ease;
  background: rgba(247, 127, 0, 0.15) !important;
  border: 2px solid rgba(247, 127, 0, 0.3) !important;
}

.category-icon-container i {
  font-size: 1.5rem;
  transition: all 0.3s ease;
  color: #f77f00 !important;
}

.category-card-new:hover .category-icon-container {
  transform: scale(1.1);
}

.category-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
  transition: color 0.3s ease;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.category-content p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.category-card-new:hover .category-content h3 {
  color: #f77f00;
}

@media (max-width: 768px) {
  header {
    padding: 0px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .categories-header {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .categories-header h2 {
    font-size: 2rem;
  }

  .categories-grid-new {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 20px;
  }

  .category-card-new {
    padding: 15px 10px;
  }

  .category-icon-container {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .category-icon-container i {
    font-size: 1.2rem;
  }

  .category-content h3 {
    font-size: 0.9rem;
  }

  .category-content p {
    font-size: 0.7rem;
  }

  .search-bar {
    width: 250px;
    margin: 0 10px;
  }

  .products-filters {
    padding: 15px;
    margin: 0 10px 20px 10px;
    border-radius: 10px;
  }

  .search-section {
    margin-bottom: 20px;
  }

  .search-input-page {
    max-width: 100%;
    font-size: 16px;
    padding: 12px 15px;
  }

  .search-btn-page {
    padding: 12px 20px;
    font-size: 14px;
  }

  .category-filter h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .category-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .category-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .service-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .service-form .form-group input,
  .service-form .form-group select,
  .service-form .form-group textarea {
    font-size: 16px;
    padding: 12px 15px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .contact-form .form-group input,
  .contact-form .form-group textarea {
    font-size: 16px;
    padding: 12px 15px;
  }
}

@media (max-width: 412px) {
  header .container {
    padding: 0 8px !important;
    gap: 4px !important;
  }

  .logo {
    flex-shrink: 0 !important;
    margin-right: 5px !important;
  }

  .search-bar {
    flex: 1;
    margin: 0 4px !important;
    max-width: 180px !important;
  }

  .search-form {
    max-width: 180px !important;
  }

  .search-form input {
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
  }

  .search-form button {
    padding: 8px 10px !important;
  }

  .user-actions {
    margin-right: 0px !important;
    margin-left: 4px !important;
    min-width: 44px !important;
    flex-shrink: 0 !important;
  }

  .cart-link {
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 8px !important;
    font-size: 1.2rem !important;
    background: #f77f00 !important;
    color: white !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 8px rgba(247, 127, 0, 0.3) !important;
  }

  .cart-badge {
    width: 14px !important;
    height: 14px !important;
    font-size: 0.55rem !important;
    top: -4px !important;
    right: -4px !important;
    background: #ef4444 !important;
    border: 1px solid white !important;
  }
}

@media (max-width: 480px) {
  .products-filters {
    padding: 12px;
    margin: 0 5px 15px 5px;
  }

  .products-page-header h1 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .search-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .search-input-page {
    width: 100%;
    margin-bottom: 0;
  }

  .search-btn-page {
    width: 100%;
    justify-content: center;
  }

  .category-buttons {
    gap: 6px;
    padding-bottom: 15px;
  }

  .category-btn {
    padding: 8px 12px;
    font-size: 12px;
    min-width: auto;
  }

  .product-grid-all {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 5px;
  }

  .product-card {
    margin-bottom: 0;
  }

  .product-card-content {
    padding: 15px;
  }

  .product-actions {
    flex-direction: column;
    gap: 8px;
  }

  .product-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .service-form {
    padding: 20px 15px;
  }

  .service-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .service-form .form-group {
    width: 100% !important;
  }

  .service-form .form-group input,
  .service-form .form-group select,
  .service-form .form-group textarea {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
  }

  .service-form .form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
  }

  .service-form .form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .service-info-cards {
    grid-template-columns: 1fr !important;
    gap: 15px;
    margin-top: 25px;
  }

  .info-card {
    padding: 20px 15px;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .contact-form .form-group {
    width: 100% !important;
  }

  .contact-form .form-group input,
  .contact-form .form-group textarea {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
  }

  .contact-form .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
  }

  header .container {
    padding: 0 10px !important;
  }

  .user-actions {
    margin-right: 0px !important;
    min-width: 44px !important;
    flex-shrink: 0 !important;
  }

  .cart-link {
    background: #f77f00 !important;
    color: white !important;
    border: 2px solid white !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 8px !important;
  }

  main {
    padding-bottom: 100px !important;
  }

  .container {
    padding-bottom: 20px;
  }

  .logo-text h1 {
    font-size: 1.1rem !important;
  }

  .logo-text span {
    font-size: 0.6rem !important;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-actions .btn {
    max-width: 250px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .products h2 {
    font-size: 1.6rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .product-card {
    max-width: 100%;
  }

  .categories-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 15px;
  }

  .category-card-new {
    padding: 12px 8px;
  }

  .category-icon-container {
    width: 35px;
    height: 35px;
    margin-bottom: 8px;
  }

  .category-icon-container i {
    font-size: 1rem;
  }

  .category-content h3 {
    font-size: 0.8rem;
    margin-bottom: 3px;
  }

  .category-content p {
    font-size: 0.65rem;
  }

  .reseller-content h2 {
    font-size: 1.7rem;
  }

  .reseller-content p {
    font-size: 0.9rem;
  }

  .feature-item {
    padding: 15px 10px;
  }

  .feature-icon {
    width: 45px;
    height: 45px;
  }

  .feature-item h3 {
    font-size: 1rem;
  }

  .feature-item p {
    font-size: 0.85rem;
  }

  .reseller-actions .btn {
    max-width: 250px;
    padding: 10px 20px;
  }
}

.page-header-section {
  background: linear-gradient(135deg, #0d2c4a 0%, #1e293b 100%);
  padding: 120px 0 60px 0;
  color: white;
}

.page-header-content {
  text-align: center;
}

.page-header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.page-header-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #f77f00;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #adb5bd;
}

.about-content {
  padding: 80px 0;
}

.about-article {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.article-image {
  margin-bottom: 30px;
}

.article-image img {
  width: 100%;
  border-radius: 12px;
}

.article-meta {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.article-body {
  line-height: 1.8;
  color: #333;
}

.default-about {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-features {
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.1rem;
}

.feature-content p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
}

.company-stats {
  background: #f8fafc;
  padding: 80px 0;
}

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

.stat-item {
  text-align: center;
  background: white;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 80px;
  height: 80px;
  /* background: linear-gradient(135deg, #f77f00, #ff8c00); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  padding-left: 5%;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.stat-label {
  color: #666;
  font-size: 1rem;
}

.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 30px;
  color: #333;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 1.1rem;
}

.contact-details p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.contact-details a {
  color: #f77f00;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.social-media {
  margin-top: 40px;
}

.social-media h3 {
  margin-bottom: 15px;
  color: #333;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f77f00;
}

.map-section {
  margin-top: 60px;
}

.map-section h2 {
  margin-bottom: 30px;
  color: #333;
  text-align: center;
}

.services-content {
  padding: 80px 0;
}

.services-intro {
  text-align: center;
  margin-bottom: 60px;
}

.services-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.services-intro p {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}

.service-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-right: 12px;
}

.logo-image {
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.logo-image img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  border-radius: 4px;
}

.service-content h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.3rem;
}

.service-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-content li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 20px;
}

.service-content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f77f00;
  font-weight: bold;
}

.service-products {
  margin-top: 80px;
}

.service-products h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.service-cta {
  background: linear-gradient(135deg, #0d2c4a 0%, #1e293b 100%);
  padding: 80px 0;
  border-radius: 20px;
  text-align: center;
  color: white;
}

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

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e2e8f0;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-item {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border-top: 4px solid #f97316;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 24px;
  color: white;
}

.contact-details h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-details p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .page-header-content h1 {
    font-size: 2rem;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-item {
    padding: 25px;
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-icon i {
    font-size: 20px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .service-card {
    padding: 30px 20px;
  }

  .about-article,
  .default-about,
  .contact-form {
    padding: 30px 20px;
  }
}

.settings-container {
  max-width: 1200px;
  margin: 0 auto;
}

.settings-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.settings-left,
.settings-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  height: fit-content;
}

.form-section h2 {
  margin: 0 0 25px 0;
  color: #1e293b;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.form-section h2 i {
  color: #f97316;
  font-size: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: 0.85rem;
}

.logo-upload-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}

.current-logo-display label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #374151;
}

.current-logo {
  padding: 20px;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  text-align: center;
  background: #f9fafb;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.current-logo img {
  max-width: 180px;
  max-height: 80px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-logo {
  color: #9ca3af;
  text-align: center;
}

.no-logo i {
  font-size: 2.5rem;
  margin-bottom: 8px;
  display: block;
}

.no-logo p {
  margin: 0;
  font-size: 0.9rem;
}

.upload-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.upload-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  justify-content: center;
}

.upload-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.upload-label i {
  font-size: 1rem;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
  padding: 25px 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  grid-column: 1 / -1;
}

.form-actions .btn {
  padding: 12px 25px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-actions .btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border: none;
}

.form-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.form-actions .btn-secondary {
  background: #6b7280;
  color: white;
  border: none;
}

.form-actions .btn-secondary:hover {
  background: #4b5563;
  transform: translateY(-2px);
}

.data-management-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.management-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
}

.management-card:hover {
  border-color: #f97316;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.1);
}

.danger-card {
  border-color: #fecaca;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.danger-card:hover {
  border-color: #f87171;
}

.management-card h3 {
  margin: 0 0 10px 0;
  color: #374151;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.management-card p {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.management-actions .btn {
  padding: 10px 15px;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-info {
  background: #3b82f6;
  color: white;
  border: none;
}

.btn-info:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.btn-success {
  background: #10b981;
  color: white;
  border: none;
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-warning {
  background: #f59e0b;
  color: white;
  border: none;
}

.btn-warning:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.text-muted {
  color: #9ca3af !important;
  font-size: 0.85rem;
  margin-top: 15px;
  display: block;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 20px 25px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 25px;
}

.modal-body ul {
  margin: 10px 0;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 5px;
  color: #374151;
}

.confirmation-input {
  margin-top: 20px;
  padding: 15px;
  background: #f9fafb;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
}

.confirmation-input label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
}

.confirmation-input input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

.confirmation-input input:focus {
  outline: none;
  border-color: #dc2626;
}

.modal-footer {
  padding: 20px 25px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 768px) {
  .settings-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .settings-left,
  .settings-right {
    gap: 20px;
  }

  .form-section {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .form-section h2 {
    font-size: 1.1rem;
  }

  .logo-upload-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .data-management-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .management-actions {
    flex-direction: column;
  }

  .management-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
}

.product-detail-image {
  max-width: 400px;
  max-height: 300px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .product-detail-image {
    max-width: 100%;
    max-height: 250px;
  }
}

.image-upload-options {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}

.upload-tabs {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-btn:hover {
  background: #f1f5f9;
  color: #334155;
}

.tab-btn.active {
  background: #f97316;
  color: white;
  font-weight: 600;
}

.upload-option {
  padding: 20px;
  display: none;
}

.upload-option.active {
  display: block;
}

.upload-option input[type="file"],
.upload-option input[type="url"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  background: white;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.upload-option input[type="file"]:hover,
.upload-option input[type="url"]:focus {
  border-color: #f97316;
  outline: none;
}

.form-help {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
  font-style: italic;
}

.image-preview {
  padding: 15px 20px;
  border-top: 1px solid #e2e8f0;
  background: white;
  text-align: center;
}

.image-preview img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
  .upload-tabs {
    flex-direction: column;
  }

  .tab-btn {
    padding: 10px 15px;
    font-size: 13px;
  }

  .upload-option {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .hero-section {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .product-grid-4x2 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 15px;
  }

  .category-card h3 {
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .reseller-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
    max-width: 100%;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav-links a {
    padding: 12px 15px;
    text-align: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
  }

  .hero-section {
    padding: 60px 0 40px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .product-grid-4x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card {
    padding: 12px;
  }

  .product-card h3 {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .product-card .price {
    font-size: 1rem;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 15px;
  }

  .category-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .category-card h3 {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-card {
    padding: 20px 15px;
    text-align: center;
  }

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

  .reseller-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reseller-card {
    padding: 20px;
  }

  .footer-section h3 {
    margin-bottom: 15px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .btn-cta {
    padding: 15px 25px;
    font-size: 1rem;
  }
}

.floating-cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.floating-cart-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(247, 127, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.floating-cart-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(247, 127, 0, 0.4);
}

.floating-cart-toggle i {
  color: white;
  font-size: 1.5rem;
}

.floating-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  border: 2px solid white;
  min-width: 24px;
}

.floating-cart-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(20px) scale(0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
}

.floating-cart-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.floating-cart-header {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.floating-cart-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.floating-cart-header h3 i {
  margin-right: 8px;
  color: #f77f00;
}

.close-floating-cart {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.close-floating-cart:hover {
  background: rgba(255, 255, 255, 0.1);
}

.floating-cart-content {
  max-height: 400px;
  overflow-y: auto;
}

.floating-cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}

.floating-cart-empty i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.floating-cart-empty p {
  margin: 0 0 20px 0;
  font-size: 1rem;
}

.btn-browse-products {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-browse-products:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
  color: white;
  text-decoration: none;
}

.floating-cart-items {
  padding: 0;
}

.floating-cart-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
  gap: 12px;
}

.floating-cart-item:last-child {
  border-bottom: none;
}

.item-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image {
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.item-details {
  flex: 1;
  min-width: 0;
}

.item-details h4 {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-price {
  font-size: 0.85rem;
  color: #f77f00;
  font-weight: 600;
  margin-bottom: 8px;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.7rem;
}

.qty-btn:hover {
  background: #f1f5f9;
  border-color: #f77f00;
}

.qty-display {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  min-width: 20px;
  text-align: center;
}

.item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.item-subtotal {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}

.remove-item {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.remove-item:hover {
  background: #fef2f2;
  color: #dc2626;
}

.floating-cart-summary {
  background: #f8fafc;
  padding: 20px;
  border-top: 1px solid #e2e8f0;
}

.cart-total {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #1e293b;
}

.cart-actions {
  display: flex;
  gap: 10px;
}

.btn-view-cart,
.btn-checkout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-view-cart {
  background: white;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.btn-view-cart:hover {
  background: #f1f5f9;
  color: #1e293b;
  text-decoration: none;
}

.btn-checkout {
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  color: white;
}

.btn-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.floating-cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .floating-cart {
    bottom: 15px;
    right: 15px;
  }

  .floating-cart-toggle {
    width: 55px;
    height: 55px;
  }

  .floating-cart-toggle i {
    font-size: 1.3rem;
  }

  .floating-cart-panel {
    width: calc(100vw - 30px);
    max-width: 350px;
    bottom: 65px;
    right: -15px;
  }

  .floating-cart-item {
    padding: 12px 15px;
  }

  .item-details h4 {
    font-size: 0.85rem;
  }

  .cart-actions {
    flex-direction: column;
  }

  .btn-view-cart,
  .btn-checkout {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .floating-cart-panel {
    width: calc(100vw - 20px);
    right: -10px;
  }

  .floating-cart-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .item-image {
    width: 45px;
    height: 45px;
  }

  .item-details h4 {
    font-size: 0.8rem;
  }

  .item-price,
  .item-subtotal {
    font-size: 0.8rem;
  }
}

html body div.admin-layout {
  display: flex !important;
  min-height: 100vh !important;
  position: relative !important;
  overflow-x: hidden !important;
}

html body div.admin-layout .sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 280px !important;
  height: 100vh !important;
  z-index: 1000 !important;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%) !important;
  color: white !important;
  overflow-y: auto !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
}

html body div.admin-layout main.main-content,
html body div.admin-layout .main-content {
  margin-left: 280px !important;
  width: calc(100% - 280px) !important;
  min-height: 100vh !important;
  padding: 30px !important;
  background-color: #f8fafc !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

@media (min-width: 769px) {
  html body div.admin-layout main.main-content,
  html body div.admin-layout .main-content {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
  }

  html body div.admin-layout .sidebar {
    position: fixed !important;
    left: 0 !important;
    width: 280px !important;
  }
}

@media (max-width: 768px) {
  html body div.admin-layout .sidebar {
    left: -100% !important;
    width: 85vw !important;
    max-width: 300px !important;
    transition: left 0.3s ease !important;
  }

  html body div.admin-layout .sidebar.mobile-open {
    left: 0 !important;
  }

  html body div.admin-layout main.main-content,
  html body div.admin-layout .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 20px 15px !important;
  }
}

html body div.admin-layout div.sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 280px !important;
  height: 100vh !important;
  z-index: 1000 !important;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%) !important;
  color: white !important;
  overflow-y: auto !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
}

html body div.admin-layout main.main-content,
html body div.admin-layout div.main-content {
  margin-left: 280px !important;
  width: calc(100% - 280px) !important;
  min-height: 100vh !important;
  padding: 30px !important;
  background-color: #f8fafc !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
}

html body div.admin-layout main.main-content > *,
html body div.admin-layout div.main-content > * {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-image-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-thumb i {
  color: #94a3b8;
  font-size: 16px;
}

.product-details {
  flex: 1;
  min-width: 0;
}

.product-details strong {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.category-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-info strong {
  font-weight: 600;
  color: #1e293b;
}

.category-icon-small {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.price-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.current-price {
  font-weight: 600;
  color: #059669;
}

.original-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.875rem;
}

.stock-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  background: #dcfce7;
  color: #166534;
}

.stock-badge.low-stock {
  background: #fef2f2;
  color: #dc2626;
}

.status-badge.status-aktif {
  background: #dcfce7;
  color: #166534;
}

.status-badge.status-tidak-aktif {
  background: #fef2f2;
  color: #dc2626;
}

.current-icon,
.current-image {
  margin-top: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.current-icon label,
.current-image label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.form-section h4 {
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section h4 i {
  color: #f97316;
}

.mobile-info {
  display: none;
}

@media (max-width: 768px) {
  .mobile-info {
    display: block;
    margin-top: 4px;
  }

  .mobile-info small {
    color: #64748b;
    font-size: 0.875rem;
  }

  .product-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .product-image-thumb {
    width: 35px;
    height: 35px;
  }
}

.unread-message {
  background-color: #fef3c7 !important;
  font-weight: 600;
}

.message-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.message-info strong {
  font-weight: 600;
  color: #1e293b;
}

.status-badge.status-unread {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.status-read {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.status-replied {
  background: #dcfce7;
  color: #166534;
}

.no-data {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}

.no-data i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.no-data p {
  margin: 0;
  font-style: italic;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  border-radius: 12px 12px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-header .close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.modal-header .close:hover {
  opacity: 1;
}

.modal-body {
  padding: 24px;
}

.message-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-row strong {
  color: #374151;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-row span {
  color: #1f2937;
  font-size: 1rem;
}

.message-content {
  background: #f8fafc;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #f97316;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.6;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #f8fafc;
  border-radius: 0 0 12px 12px;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 16px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.program-reseller-new {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}

.reseller-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.reseller-left {
  max-width: 500px;
  text-align: left;
}

.reseller-badge {
  display: inline-block;
  margin-bottom: 24px;
}

.badge-text {
  background: #f97316;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reseller-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.1;
  margin-bottom: 16px;
}

.reseller-title .highlight {
  color: #f97316;
}

.reseller-description {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 32px;
}

.reseller-features {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: none;
}

.feature-item:hover {
  transform: none;
  box-shadow: none;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: #f97316;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon i {
  font-size: 18px;
  color: white;
}

.feature-text {
  flex: 1;
}

.feature-text h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.3;
}

.feature-text p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.reseller-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reseller-actions .btn {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #f97316;
  color: white;
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #64748b;
  border: 1px solid #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #374151;
}

.reseller-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reseller-image-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reseller-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.placeholder-image i {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.placeholder-image p {
  font-size: 0.875rem;
  margin: 0;
}

.stats-badges {
  position: absolute;
  top: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.stat-badge {
  background: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  min-width: 100px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.stat-2 {
  transform: translateX(-30px);
}

@media (max-width: 1024px) {
  .reseller-content-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: left;
  }

  .reseller-left {
    order: 2;
    max-width: none;
  }

  .reseller-right {
    order: 1;
  }

  .reseller-title {
    font-size: 2.25rem;
  }

  .reseller-image-container {
    height: 350px;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .program-reseller-new {
    padding: 60px 0;
  }

  .reseller-content-wrapper {
    gap: 40px;
    padding: 0 20px;
    text-align: left;
  }

  .reseller-title {
    font-size: 2rem;
  }

  .reseller-description {
    font-size: 0.95rem;
  }

  .feature-item {
    text-align: left;
  }

  .reseller-actions {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }

  .reseller-actions .btn {
    width: auto;
    min-width: 200px;
    justify-content: center;
  }

  .reseller-image-container {
    height: 300px;
    max-width: 350px;
  }

  .stats-badges {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
    gap: 12px;
  }

  .stat-2 {
    transform: none;
  }

  .stat-badge {
    min-width: 80px;
    padding: 12px 16px;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }
}

.data-table tbody tr {
  height: auto;
  min-height: 60px;
}

.data-table tbody td {
  padding: 12px 20px;
  vertical-align: middle;
}

.product-info {
  align-items: center;
  gap: 10px;
}

.product-details strong {
  font-size: 0.95rem;
  line-height: 1.3;
}

.mobile-info small {
  font-size: 0.8rem;
  line-height: 1.2;
}

.bottom-navbar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #1a1a1a !important;
  border-top: none !important;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.4) !important;
  z-index: 99999 !important;
  padding: 8px 0 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: 65px !important;
}

.bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  height: 100%;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #888;
  font-size: 10px;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  min-width: 50px;
  text-align: center;
}

.bottom-nav-item.active {
  color: #f97316;
  background: rgba(249, 115, 22, 0.15);
}

.bottom-nav-item .nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.bottom-nav-item.active .nav-icon {
  background: #f97316;
}

.bottom-nav-item .nav-icon i {
  font-size: 16px;
  color: #888;
  transition: all 0.3s ease;
}

.bottom-nav-item.active .nav-icon i {
  color: white;
}

.bottom-nav-item span {
  font-size: 10px;
  line-height: 1;
  transition: all 0.3s ease;
}

.bottom-nav-item.active span {
  color: #f97316;
  font-weight: 600;
}

.bottom-nav-badge {
  position: absolute;
  top: 2px;
  right: 8px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
  animation: pulse 2s infinite;
}

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

.bottom-navbar-spacer {
  height: 80px;
}

@media (min-width: 1024px) {
  .bottom-navbar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  .bottom-navbar-spacer {
    display: none !important;
    height: 0 !important;
  }
}

@media (max-width: 1023px) {
  .bottom-navbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 65px !important;
    pointer-events: auto !important;
  }

  .bottom-navbar-spacer {
    height: 80px !important;
    display: block !important;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .bottom-nav-item {
    padding: 10px 15px;
    min-width: 70px;
  }

  .bottom-nav-item i {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .bottom-nav-item span {
    font-size: 12px;
  }

  .bottom-navbar-spacer {
    height: 85px;
  }
}

@media (max-width: 480px) {
  .bottom-navbar {
    padding: 6px 0;
  }

  .bottom-nav-container {
    padding: 0 5px;
  }

  .bottom-nav-item {
    padding: 6px 8px;
    min-width: 50px;
  }

  .bottom-nav-item i {
    font-size: 18px;
    margin-bottom: 3px;
  }

  .bottom-nav-item span {
    font-size: 10px;
  }

  .bottom-navbar-spacer {
    height: 75px;
  }
}

@media (max-width: 1023px) {
  .floating-cart {
    bottom: 90px !important;
  }
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-buttons .login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.auth-buttons .login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.user-menu {
  position: relative;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.9rem;
}

.user-menu-btn:hover {
  border-color: #f97316;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  overflow: hidden;
}

.user-avatar .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-name {
  font-weight: 500;
  color: #1e293b;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-btn i.fa-chevron-down {
  font-size: 0.8rem;
  color: #64748b;
  transition: transform 0.3s ease;
}

.user-menu.active .user-menu-btn i.fa-chevron-down {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-menu.active .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-info {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.user-info strong {
  display: block;
  color: #1e293b;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.user-info small {
  color: #64748b;
  font-size: 0.8rem;
  text-transform: capitalize;
}

.dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.5rem 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: #f8fafc;
  color: #f97316;
}

.dropdown-item i {
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
}

.logout-item {
  color: #dc2626 !important;
  border-top: 1px solid #e2e8f0;
  margin-top: 0.5rem;
}

.logout-item:hover {
  background: #fef2f2;
  color: #dc2626 !important;
}

@media (max-width: 768px) {
  .user-actions {
    gap: 0.5rem;
  }

  .auth-buttons .login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .auth-buttons .login-btn .btn-text {
    display: none;
  }

  .user-menu-btn {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .user-name {
    display: none;
  }

  .user-dropdown {
    right: -1rem;
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .user-dropdown {
    right: -2rem;
    min-width: 180px;
  }

  .dropdown-item {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}

.tab-navigation {
  display: flex;
  background: white;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tab-btn {
  flex: 1;
  padding: 15px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: #64748b;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  background: #f8fafc;
  color: #f97316;
}

.tab-btn.active {
  background: #f97316;
  color: white;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ea580c;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.checkbox-group {
  margin-bottom: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #f97316;
}

.checkmark {
  margin-left: 5px;
}

.footer-links-manager {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.link-category-section {
  margin-bottom: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
}

.link-category-section h3 {
  color: #f97316;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f97316;
  font-size: 1.2rem;
}

.links-container {
  margin-bottom: 20px;
}

.link-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
}

.link-item .form-row {
  display: grid;
  grid-template-columns: 2fr 2fr 1.5fr 1fr auto;
  gap: 15px;
  align-items: end;
}

.link-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.social-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.social-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.social-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.social-header i {
  font-size: 1.5rem;
  margin-right: 10px;
}

.social-header h3 {
  flex: 1;
  margin: 0;
  color: #374151;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #f97316;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

input[type="color"] {
  width: 50px;
  height: 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}

.form-section h2 {
  color: #1e293b;
  border-bottom: 2px solid #f97316;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="url"] {
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="url"]:focus {
  border-color: #f97316;
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.btn-info {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: white;
  border: none;
}

.btn-info:hover {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link i {
  width: auto;
  text-align: center;
}

.google-maps-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.google-maps-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.maps-preview iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

.form-help {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 5px;
  line-height: 1.4;
}

.form-help a {
  color: #f97316;
  text-decoration: none;
}

.form-help a:hover {
  text-decoration: underline;
}

.form-help strong {
  color: #1e293b;
  font-weight: 600;
}

.map-section {
  margin-top: 40px;
  padding: 30px 0;
}

.map-section h2 {
  color: #1e293b;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
}

.section-toggle {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.section-toggle .btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
}

.form-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.form-card {
  padding: 30px;
  background: white;
  border-radius: 8px;
}

.card-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.card-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.4rem;
  font-weight: 600;
}

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

.btn-secondary {
  background: #6b7280;
  color: white;
  border: 1px solid #6b7280;
}

.btn-secondary:hover {
  background: #4b5563;
  border-color: #4b5563;
}

.btn-info {
  background: #0ea5e9;
  color: white;
  border: 1px solid #0ea5e9;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-info:hover {
  background: #0284c7;
  border-color: #0284c7;
  text-decoration: none;
  color: white;
}

.btn-success {
  background: #10b981;
  color: white;
  border: 1px solid #10b981;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background: #059669;
  border-color: #059669;
  text-decoration: none;
  color: white;
}

.admin-navigation {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .admin-navigation {
    flex-direction: column;
    align-items: center;
  }

  .admin-navigation .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 0 20px 0;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .link-item .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .social-media-grid {
    grid-template-columns: 1fr;
  }

  .tab-navigation {
    flex-direction: column;
  }

  .tab-btn {
    text-align: left;
    padding: 12px 15px;
  }
}

.gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.gallery-header .highlight {
  color: #f77f00;
}

.gallery-header .section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

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

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image,
.gallery-video {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.gallery-item:hover .gallery-image img {
  transform: scale(1.05);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(247, 127, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
}

.gallery-item:hover .video-play-button {
  background: rgba(247, 127, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.gallery-info {
  color: white;
}

.gallery-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
}

.gallery-actions {
  text-align: center;
  margin-top: 40px;
}

.gallery-empty {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
}

.gallery-empty i {
  font-size: 4rem;
  margin-bottom: 24px;
  opacity: 0.5;
}

.gallery-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #1e293b;
}

.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.gallery-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.gallery-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10001;
}

.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.gallery-modal-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.gallery-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.gallery-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.gallery-modal-body {
  padding: 0;
}

.gallery-modal-image,
.gallery-modal-video {
  width: 100%;
  max-width: 800px;
  max-height: 600px;
  object-fit: contain;
  display: block;
}

.gallery-modal-info {
  padding: 20px 24px;
  background: #f8fafc;
}

.gallery-modal-info p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.page-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #f77f00;
}

.breadcrumb-separator {
  margin: 0 12px;
  opacity: 0.6;
}

.breadcrumb-current {
  color: #f77f00;
  font-weight: 500;
}

.gallery-stats {
  padding: 40px 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  align-items: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #f77f00;
}

.stat-icon {
  width: 50px;
  height: 50px;
  /* background: linear-gradient(135deg, #f77f00, #ff8c42); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-right: 16px;
}

.stat-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.stat-content p {
  color: #64748b;
  margin: 0;
  font-size: 0.9rem;
}

.gallery-filter {
  padding: 30px 0;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #f1f5f9;
  color: #64748b;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.filter-tab.active {
  background: #f77f00;
  color: white;
}

.gallery-content {
  padding: 60px 0;
  background: #f8fafc;
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.gallery-item-full {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background: white;
}

.gallery-item-full:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image-full,
.gallery-video-full {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.gallery-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item-full:hover .gallery-image-full img {
  transform: scale(1.05);
}

.video-thumbnail-full {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-thumbnail-full video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-button-full {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(247, 127, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  transition: all 0.3s ease;
}

.gallery-item-full:hover .video-play-button-full {
  background: rgba(247, 127, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-overlay-full {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item-full:hover .gallery-overlay-full {
  opacity: 1;
}

.gallery-icon-full {
  align-self: flex-end;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.gallery-info-full {
  color: white;
}

.gallery-info-full h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-info-full p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
}

.gallery-empty-full {
  text-align: center;
  padding: 100px 20px;
  color: #64748b;
}

.gallery-empty-full i {
  font-size: 5rem;
  margin-bottom: 32px;
  opacity: 0.5;
}

.gallery-empty-full h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #1e293b;
}

.gallery-empty-full p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.gallery-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #f1f5f9;
  border-radius: 8px;
  color: #64748b;
}

.video-preview i {
  font-size: 20px;
  margin-bottom: 4px;
}

.video-preview span {
  font-size: 10px;
  font-weight: 500;
}

.badge-image {
  background: #10b981;
  color: white;
}

.badge-video {
  background: #3b82f6;
  color: white;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .gallery-header h2 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-item {
    height: 220px;
  }

  .gallery-image,
  .gallery-video {
    height: 220px;
  }

  .gallery-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    margin: 20px;
  }

  .gallery-modal-header {
    padding: 16px 20px;
  }

  .gallery-modal-header h3 {
    font-size: 1.1rem;
  }

  .gallery-modal-info {
    padding: 16px 20px;
  }

  .page-header {
    padding: 40px 0;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .filter-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter-tab {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .gallery-grid-full {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-image-full,
  .gallery-video-full {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .gallery-header {
    margin-bottom: 40px;
  }

  .gallery-header h2 {
    font-size: 1.8rem;
  }

  .gallery-header .section-subtitle {
    font-size: 1rem;
  }

  .gallery-item {
    height: 200px;
  }

  .gallery-image,
  .gallery-video {
    height: 200px;
  }

  .video-play-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .gallery-overlay {
    padding: 16px;
  }

  .gallery-info h4 {
    font-size: 1.1rem;
  }

  .gallery-info p {
    font-size: 0.85rem;
  }

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

  .breadcrumb {
    font-size: 0.8rem;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
    margin-right: 12px;
  }

  .stat-content h3 {
    font-size: 1.5rem;
  }

  .gallery-image-full,
  .gallery-video-full {
    height: 220px;
  }

  .video-play-button-full {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

/* Latest Articles Section */
.latest-articles-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.latest-articles-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.latest-articles-section .section-header h2 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.latest-articles-section .section-header p {
  color: #666;
  font-size: 1.1rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.article-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-card-image {
  height: 200px;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.article-card-image.placeholder {
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.article-card-content {
  padding: 25px;
}

.article-card-content h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-card-meta {
  font-size: 0.9rem;
  color: #999;
}

.article-card-meta i {
  margin-right: 5px;
}

.view-all-articles {
  text-align: center;
}

.view-all-articles .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.view-all-articles .btn:hover {
  transform: translateY(-2px);
}

/* Responsive untuk artikel */
@media (max-width: 768px) {
  .latest-articles-section {
    padding: 60px 0;
  }

  .latest-articles-section .section-header h2 {
    font-size: 2rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-card-content {
    padding: 20px;
  }

  .article-card-content h3 {
    font-size: 1.2rem;
  }
}

/* Articles Page */
.articles-page {
  padding-top: 0;
}

.articles-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.articles-grid-full {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article-full-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-full-image {
  height: 300px;
  overflow: hidden;
}

.article-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-full-content {
  padding: 40px;
}

.article-full-meta {
  margin-bottom: 15px;
}

.article-full-meta span {
  color: #999;
  font-size: 0.9rem;
}

.article-full-meta i {
  margin-right: 5px;
}

.article-full-content h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-excerpt {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
}

.article-full-body {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}

.article-full-body h3,
.article-full-body h4,
.article-full-body h5 {
  color: #333;
  margin: 30px 0 15px 0;
}

.article-full-body p {
  margin-bottom: 20px;
}

.article-full-body ul,
.article-full-body ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.article-full-body li {
  margin-bottom: 10px;
}

.no-articles {
  text-align: center;
  padding: 80px 20px;
}

.no-articles-content {
  max-width: 400px;
  margin: 0 auto;
}

.no-articles-content i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.no-articles-content h3 {
  color: #666;
  margin-bottom: 10px;
}

.no-articles-content p {
  color: #999;
}

/* Responsive untuk articles page */
@media (max-width: 768px) {
  .articles-content {
    padding: 60px 0;
  }

  .article-full-content {
    padding: 25px;
  }

  .article-full-content h2 {
    font-size: 1.5rem;
  }

  .article-full-image {
    height: 200px;
  }
}

/* Article Detail Page */
.article-detail-page {
  padding-top: 0;
}

.article-detail-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.article-detail-main {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-detail-image {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.article-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.article-detail-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.article-detail-meta span {
  color: #666;
  font-size: 0.9rem;
}

.article-detail-meta i {
  margin-right: 5px;
}

.article-excerpt {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  border-left: 4px solid #f77f00;
}

.article-excerpt p {
  color: #555;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.article-content {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: #333;
  margin: 40px 0 20px 0;
  font-weight: 600;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content blockquote {
  border-left: 4px solid #f77f00;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #666;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.related-articles {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.related-articles h3 {
  color: #333;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

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

.related-article-card {
  display: flex;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.related-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.related-article-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.related-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-article-image.placeholder {
  background: linear-gradient(135deg, #f77f00, #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.related-article-content {
  padding: 15px;
  flex: 1;
}

.related-article-content h4 {
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 5px;
  line-height: 1.4;
}

.related-article-content span {
  color: #666;
  font-size: 0.8rem;
}

/* Responsive untuk article detail */
@media (max-width: 768px) {
  .article-detail-content {
    padding: 60px 0;
  }

  .article-detail-main {
    padding: 25px;
    margin-bottom: 40px;
  }

  .article-detail-image img {
    height: 250px;
  }

  .article-detail-meta {
    flex-direction: column;
    gap: 10px;
  }

  .related-articles {
    padding: 25px;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
  }

  .related-article-card {
    flex-direction: column;
  }

  .related-article-image {
    width: 100%;
    height: 120px;
  }
}

/* Article Card Link */
.article-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.article-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.article-card-link:hover .article-card {
  transform: translateY(-8px);
}

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: #0d6efd;
  --bg-body: #f8fafc;
  --text-dark: #1e293b;
  --border-color: #e2e8f0;
  /* SESUAIKAN: Tinggi navbar Anda agar sticky gambar presisi */
  --nav-height: 85px;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-dark);
  overflow-x: hidden;
  /* padding-bottom: 90px; */
  /* Ruang agar tidak tertutup Bottom Nav PWA */
}

/* --- 1. FIX LAYER NAVBAR (PENTING) --- */
/* Pastikan header/navbar Anda memiliki z-index tertinggi */
header,
.navbar,
.fixed-top {
  z-index: 1050 !important;
}

/* --- 2. MODERN BREADCRUMB (ANTI-CACAT) --- */
.breadcrumb-wrapper {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 5px 0 15px 0;
}

.breadcrumb-wrapper::-webkit-scrollbar {
  display: none;
  /* Sembunyikan scrollbar agar rapi */
}

ol.custom-breadcrumb {
  display: inline-flex;
  /* Cegah lebar 100% agar tidak cacat di mobile */
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.custom-breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}

.custom-breadcrumb .breadcrumb-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* Icon Pemisah Manual (Cegah icon standar bootstrap yang suka hilang) */
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  padding: 0 12px;
  color: #cbd5e1;
  font-size: 11px;
  float: none !important;
  /* Reset float bootstrap */
}

/* --- 3. PRODUCT IMAGE STICKY (ANTI-NABRAK NAVBAR) --- */
.image-sticky-container {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  /* Beri jarak dari bawah navbar */
  z-index: 10;
  /* Angka kecil agar gambar lewat DI BELAKANG navbar */
  transition: all 0.3s ease;
}

.image-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.main-product-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

/* --- 4. PRICE & CONTENT BOX --- */
.price-container {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border-left: 6px solid var(--primary-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.purchase-panel {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

.qty-control {
  background: #f1f5f9;
  border-radius: 50px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  transition: transform 0.2s;
}

.btn-circle:active {
  transform: scale(0.9);
}

.add-to-cart-btn {
  height: 54px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(13, 110, 253, 0.25);
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: #0b5ed7;
  box-shadow: 0 12px 20px -3px rgba(13, 110, 253, 0.35);
}

/* --- 5. RESPONSIVE ADAPTATION --- */
@media (max-width: 991px) {
  .main-content-wrapper {
    padding-top: 90px !important;
    /* Jarak aman di mobile */
  }

  .image-sticky-container {
    position: relative !important;
    top: 0 !important;
    z-index: 1;
    /* Reset sticky di mobile agar scroll normal */
    margin-bottom: 1.5rem;
  }

  .display-5 {
    font-size: 1.8rem;
    font-weight: 800;
  }

  .purchase-panel {
    padding: 18px;
    border-color: var(--primary-color);
  }
}

    /* Hapus filter grayscale dari parent agar ikon sampah tidak ikut abu-abu */
    .item-disabled {
        background: #f8f9fa !important; /* Tetap beri background beda */
        filter: none !important; 
        opacity: 1 !important;
    }

    /* Terapkan abu-abu HANYA ke gambar dan detail produk */
    .item-disabled .item-image img, 
    .item-disabled .item-details {
        opacity: 0.5;
        filter: grayscale(1);
    }

    .qty-control .btn:disabled {
        cursor: not-allowed;
        opacity: 0.3;
    }


    /* Membuat produk yang habis sedikit lebih pudar agar user fokus ke yang ada stoknya */
.product-card.out-of-stock {
    filter: grayscale(0.3);
}

.product-card.out-of-stock img {
    opacity: 0.7;
}

/* Tambahkan transisi halus agar website terasa modern */
.btn {
    transition: all 0.2s ease-in-out;
}

/* Menghilangkan ring biru (box-shadow focus) pada tombol */
.add-to-cart-btn:focus, 
.add-to-cart-btn:active, 
.add-to-cart-btn:focus-visible {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Memastikan tombol primary tetap bersih */
.btn-primary {
    border: none !important;
}

/* Opsional: Berikan sedikit efek gelap saat tombol ditekan sebagai pengganti border biru 
   agar user tetap tahu tombol sedang diklik (UX Feedback) */
.add-to-cart-btn:active {
    background-color: #0056b3 !important; /* Biru yang lebih gelap */
    transform: scale(0.98); /* Efek membal sedikit */
}

.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12) !important;
}

/* Memastikan teks deskripsi tidak mengganggu stretched link */
.product-card-content {
    position: relative;
}

.rating-container {
    display: flex;
    align-items: center;
    background: #f8f9fa; /* Background tipis untuk kontras */
    padding: 5px 12px;
    border-radius: 50px; /* Membuat bentuk kapsul */
    border: 1px solid #eee;
}

.text-warning {
    color: #ffc107 !important; /* Warna emas standar */
    font-size: 0.85rem;
}

.text-muted {
    color: #ced4da !important; /* Bintang kosong abu-abu terang */
}

.rating-container span {
    font-size: 0.9rem;
}