/*
  SHS Bazar - Global Stylesheet
  Primary Color: Deep Green (#0B4D3C)
  Accent Color: Orange (#F5820A)
  Base Background: White (#FFFFFF) / Light Gray (#F8F9FA)
*/

:root {
  --primary-color: #0A4A39;
  --primary-hover: #063629;
  --primary-light: #E6F4F0;
  --accent-color: #F5820A;
  --accent-hover: #E06C00;
  --bg-color: #F4F6F9;
  --card-bg: #FFFFFF;
  --text-primary: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --danger-color: #EF4444;
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --shadow-sm: 0 2px 5px rgba(10, 74, 57, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px rgba(10, 74, 57, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(10, 74, 57, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-3d-sm: 0 4px 8px -2px rgba(10, 74, 57, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-3d-md: 0 8px 20px -4px rgba(10, 74, 57, 0.16), 0 4px 8px -2px rgba(0, 0, 0, 0.08);
  --shadow-3d-lg: 0 16px 32px -6px rgba(10, 74, 57, 0.22), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
  --shadow-pressed: inset 0 3px 6px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  --inner-emboss: inset 0 1px 1px rgba(255, 255, 255, 0.6), inset 0 -1px 2px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.dark-mode, [data-theme="dark"] {
  --bg-color: #0F172A;
  --card-bg: #1E293B;
  --text-primary: #F8FAFC;
  --text-muted: #94A3B8;
  --border-color: #334155;
  --glass-bg: rgba(30, 41, 59, 0.92);
  --glass-border: rgba(255, 255, 255, 0.1);
  --primary-light: #11382C;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55);
  --shadow-3d-sm: 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-3d-md: 0 8px 22px rgba(0, 0, 0, 0.5);
  --shadow-3d-lg: 0 16px 36px rgba(0, 0, 0, 0.6);
  --inner-emboss: inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 -1px 2px rgba(0, 0, 0, 0.4);
}

body.dark-mode .nav-drawer {
  background-color: var(--card-bg);
  color: var(--text-primary);
}

body.dark-mode .drawer-menu-item {
  color: var(--text-primary);
  border-bottom-color: var(--border-color);
}

body.dark-mode .drawer-menu-item:hover,
body.dark-mode .drawer-menu-item.active {
  background-color: var(--primary-light);
  color: #34D399;
}

body.dark-mode .bottom-nav {
  background: rgba(31, 41, 55, 0.95);
  border-color: var(--border-color);
  color: var(--text-primary);
}

body.dark-mode .product-card,
body.dark-mode .glass-card,
body.dark-mode .search-box,
body.dark-mode .search-results-dropdown,
body.dark-mode .cart-item,
body.dark-mode .faq-item {
  background-color: var(--card-bg);
  color: var(--text-primary);
  border-color: var(--border-color);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background-color: #374151;
  color: #F9FAFB;
  border-color: #4B5563;
}

body.dark-mode .search-result-item:hover {
  background-color: #374151;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  padding-bottom: 70px; /* Space for bottom fixed navigation */
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* Header Component */
.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #04291F 0%, #0A4A39 50%, #0F6851 100%);
  color: #FFFFFF;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================
   Premium Account Login Page Redesign
   ========================================== */

.login-page-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #EBF5F1 0%, #D8EFE7 50%, #EBF4F0 100%);
  display: flex;
  flex-direction: column;
}

body.dark-mode .login-page-container,
[data-theme="dark"] .login-page-container {
  background: linear-gradient(135deg, #071C16 0%, #0B2B22 50%, #0E382C 100%);
}

/* Subtle Ambient Background Blobs */
.login-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.login-bg-blob-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(11, 93, 66, 0.35) 0%, rgba(11, 93, 66, 0.05) 70%);
}

.login-bg-blob-2 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  right: -60px;
  background: radial-gradient(circle, rgba(245, 130, 10, 0.25) 0%, rgba(245, 130, 10, 0.03) 70%);
  animation-delay: -4s;
}

.login-bg-blob-3 {
  width: 220px;
  height: 220px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(11, 93, 66, 0.15) 0%, transparent 70%);
}

@keyframes blobFloat {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(18px) scale(1.06); }
}

/* Glassmorphic Elevated Login Card */
.login-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg, 20px);
  padding: 32px 28px;
  box-shadow: 0 20px 40px -15px rgba(10, 74, 57, 0.15), 0 0 0 1px rgba(11, 93, 66, 0.08);
  animation: loginCardFadeUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

body.dark-mode .login-card,
[data-theme="dark"] .login-card {
  background: rgba(30, 41, 59, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@keyframes loginCardFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
}

/* Header & Logo Branding Styling */
.login-header-wrapper {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #FFFFFF;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(10, 74, 57, 0.12), 0 0 0 4px rgba(11, 93, 66, 0.08);
  margin-bottom: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .login-logo-container,
[data-theme="dark"] .login-logo-container {
  background: #1E293B;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(52, 211, 153, 0.12);
}

.login-logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(10, 74, 57, 0.2), 0 0 0 6px rgba(245, 130, 10, 0.18);
}

.login-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-title {
  color: var(--primary-color, #0A4A39);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-top: 4px;
  margin-bottom: 4px;
}

body.dark-mode .login-title,
[data-theme="dark"] .login-title {
  color: #34D399;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #64748B);
  font-weight: 500;
}

/* Polished Input Field Styles with Icons & Password Toggle */
.input-icon-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-left {
  position: absolute;
  left: 14px;
  color: #94A3B8;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.input-with-icon {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1.5px solid var(--border-color, #E2E8F0);
  border-radius: var(--radius-md, 12px);
  font-size: 0.92rem;
  background-color: #F8FAFC;
  color: var(--text-primary, #0F172A);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .input-with-icon,
[data-theme="dark"] .input-with-icon {
  background-color: #1E293B;
  border-color: #334155;
  color: #F8FAFC;
}

.input-with-icon:focus {
  background-color: #FFFFFF;
  border-color: var(--primary-color, #0A4A39);
  box-shadow: 0 0 0 4px rgba(11, 93, 66, 0.15);
  outline: none;
}

body.dark-mode .input-with-icon:focus,
[data-theme="dark"] .input-with-icon:focus {
  background-color: #0F172A;
  border-color: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.input-icon-group:focus-within .input-icon-left {
  color: var(--primary-color, #0A4A39);
}

body.dark-mode .input-icon-group:focus-within .input-icon-left,
[data-theme="dark"] .input-icon-group:focus-within .input-icon-left {
  color: #34D399;
}

/* Password Eye Toggle Icon Button */
.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.95rem;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  z-index: 3;
}

.password-toggle-btn:hover {
  color: var(--primary-color, #0A4A39);
  background-color: rgba(11, 93, 66, 0.08);
}

body.dark-mode .password-toggle-btn:hover,
[data-theme="dark"] .password-toggle-btn:hover {
  color: #34D399;
  background-color: rgba(52, 211, 153, 0.12);
}

.input-with-toggle {
  padding-right: 42px !important;
}

/* Redesigned Premium Buttons & Links */
.btn-google-signin {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border-color, #E2E8F0);
  background: #FFFFFF;
  color: #334155;
  border-radius: var(--radius-md, 12px);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

body.dark-mode .btn-google-signin,
[data-theme="dark"] .btn-google-signin {
  background: #1E293B;
  border-color: #334155;
  color: #F8FAFC;
}

.btn-google-signin:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

body.dark-mode .btn-google-signin:hover,
[data-theme="dark"] .btn-google-signin:hover {
  background: #334155;
  border-color: #475569;
}

.btn-google-signin:active {
  transform: translateY(0) scale(0.98);
}

.auth-submit-btn-gradient {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #0B5D42 0%, #107856 50%, #084833 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: var(--radius-md, 12px);
  border: none;
  box-shadow: 0 8px 20px -4px rgba(11, 93, 66, 0.35), var(--inner-emboss);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.2px;
}

.auth-submit-btn-gradient:hover {
  background: linear-gradient(135deg, #0D6E4E 0%, #138C64 50%, #0A543C 100%);
  box-shadow: 0 12px 24px -4px rgba(11, 93, 66, 0.45);
  transform: translateY(-2px);
}

.auth-submit-btn-gradient:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.25);
}

/* Interactive Animated Links */
.auth-link-animated {
  position: relative;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
  display: inline-block;
  padding-bottom: 2px;
}

.auth-link-animated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.auth-link-animated:hover::after {
  width: 100%;
}

.auth-link-accent {
  color: var(--accent-color, #F5820A);
}

.auth-link-accent:hover {
  color: var(--accent-hover, #E06C00);
}

.auth-link-muted {
  color: var(--text-muted, #64748B);
}

.auth-link-muted:hover {
  color: var(--primary-color, #0A4A39);
}

body.dark-mode .auth-link-muted:hover,
[data-theme="dark"] .auth-link-muted:hover {
  color: #34D399;
}

/* Divider Styling */
.auth-divider-wrap {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.auth-divider-wrap::before,
.auth-divider-wrap::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color, #E2E8F0);
}

body.dark-mode .auth-divider-wrap::before,
body.dark-mode .auth-divider-wrap::after,
[data-theme="dark"] .auth-divider-wrap::before,
[data-theme="dark"] .auth-divider-wrap::after {
  border-bottom-color: #334155;
}

.auth-divider-wrap span {
  padding: 0 12px;
}

/* Polished Mobile OTP Stub Container */
.otp-stub-container {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color, #E2E8F0);
  text-align: center;
}

body.dark-mode .otp-stub-container,
[data-theme="dark"] .otp-stub-container {
  border-top-color: #334155;
}

.otp-stub-btn {
  width: 100%;
  padding: 10px 14px;
  background-color: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #64748B;
  border-radius: var(--radius-md, 12px);
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.dark-mode .otp-stub-btn,
[data-theme="dark"] .otp-stub-btn {
  background-color: rgba(51, 65, 85, 0.4);
  border-color: rgba(71, 85, 105, 0.5);
  color: #94A3B8;
}

.otp-stub-btn:hover {
  background-color: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.35);
}

.otp-coming-soon-badge {
  font-size: 0.68rem;
  font-weight: 800;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(245, 158, 11, 0.25);
  margin-left: 4px;
}


/* Share & Rate Us Modal */
.share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.share-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.share-modal-card {
  background: var(--card-bg);
  color: var(--text-primary);
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.share-modal-overlay.active .share-modal-card {
  transform: scale(1);
}

.share-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.share-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 12px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-option-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 1.6rem;
  color: #D1D5DB;
  cursor: pointer;
  margin: 10px 0;
}

.rating-stars i.active {
  color: #F59E0B;
}

/* ==========================================
   Premium bKash Payment Gateway Modal Styles
   ========================================== */
.bkash-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bkash-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bkash-modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(226, 19, 110, 0.25), 0 0 0 1px rgba(226, 19, 110, 0.1);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.bkash-modal-overlay.active .bkash-modal-card {
  transform: scale(1) translateY(0);
}

.bkash-modal-header {
  position: relative;
  padding: 20px 20px 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFFFF;
  border-bottom: 1px solid #F3F4F6;
}

.bkash-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #F3F4F6;
  color: #6B7280;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bkash-close-btn:hover {
  background: #E5E7EB;
  color: #1F2937;
  transform: rotate(90deg);
}

.bkash-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.bkash-logo-icon {
  width: 36px;
  height: 36px;
  background: #E2136E;
  color: #FFFFFF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(226, 19, 110, 0.3);
}

.bkash-logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  color: #E2136E;
  letter-spacing: -0.5px;
  font-family: var(--font-family);
}

.bkash-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FDF2F8;
  border: 1px solid #FBCFE8;
  color: #BE185D;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(226, 19, 110, 0.08);
}

.bkash-amount-section {
  padding: 16px 20px 12px 20px;
  text-align: center;
  background: #FAFAFA;
}

.bkash-amount-label {
  font-size: 0.75rem;
  color: #6B7280;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.bkash-amount-value {
  font-size: 2rem;
  font-weight: 900;
  color: #E2136E;
  line-height: 1.1;
}

.bkash-gradient-card {
  margin: 12px 16px 16px 16px;
  background: linear-gradient(135deg, #E2136E 0%, #A80A4F 100%);
  border-radius: 18px;
  padding: 20px 18px;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(226, 19, 110, 0.3);
}

.bkash-gradient-title {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF;
}

.bkash-trx-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.bkash-trx-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.95);
  color: #1F2937;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.bkash-trx-input:focus {
  background: #FFFFFF;
  border-color: #FFD1E3;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
  outline: none;
}

.bkash-trx-input::placeholder {
  color: #9CA3AF;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.bkash-error-msg {
  display: none;
  background: #FEE2E2;
  color: #991B1B;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  text-align: center;
  border: 1px solid #FCA5A5;
}

.bkash-steps-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFD1E3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bkash-steps-list {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #FFFFFF;
  padding-left: 0;
  list-style: none;
  margin-bottom: 18px;
}

.bkash-steps-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.bkash-steps-list li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bkash-number-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 2px 0;
}

.bkash-number-text {
  font-size: 1.05rem;
  font-weight: 900;
  color: #FFEB3B;
  letter-spacing: 0.5px;
}

.bkash-copy-btn {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bkash-copy-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.bkash-copy-btn.copied {
  background: #10B981;
  border-color: #059669;
  color: #FFFFFF;
}

.bkash-verify-btn {
  width: 100%;
  padding: 14px;
  background: #800A3B;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bkash-verify-btn:hover {
  background: #63052C;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.bkash-verify-btn:active {
  transform: translateY(0);
}

.hamburger-btn, .back-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.hamburger-btn:hover, .back-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hamburger-btn:active, .back-btn:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #FFFFFF;
  padding: 3px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.3);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.logo-container:hover .logo-img {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(245, 130, 10, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.2px;
  color: #FFFFFF;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.brand-tagline {
  font-size: 0.62rem;
  color: #F5B041;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin-top: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.icon-btn:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.header-icon-svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  display: block;
  transition: transform 0.2s ease;
}

.icon-btn:hover .header-icon-svg {
  transform: scale(1.08);
}

.badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: linear-gradient(135deg, #FF8C00 0%, #F5820A 100%);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  height: 18px;
  min-width: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #04291F;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), 0 0 6px rgba(245, 130, 10, 0.4);
  line-height: 1;
  letter-spacing: -0.2px;
  user-select: none;
}

@keyframes badgeBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  60% { transform: scale(0.85); }
  80% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.badge-count.pop {
  animation: badgeBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Mobile Side Nav Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: #FFFFFF;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  transition: left 0.3s ease;
  overflow-y: auto;
}

.nav-drawer.active {
  left: 0;
}

.drawer-header {
  background: linear-gradient(135deg, #07382B 0%, #0A4A39 100%);
  color: #FFFFFF;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-3d-sm);
}

.drawer-menu {
  padding: 16px 0;
}

.drawer-section-title {
  padding: 14px 20px 6px 20px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

.drawer-section-title:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 4px;
}

.drawer-logout-divider {
  margin-top: 18px;
  border-top: 2px solid var(--border-color);
}

.drawer-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid #F3F4F6;
}

.drawer-menu-item.logout-link {
  color: var(--danger-color);
  font-weight: 600;
}

.drawer-menu-item:hover, .drawer-menu-item.active {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
}

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

/* Hero Section Carousel */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background-color: #000;
  box-sizing: border-box;
}

.carousel-container {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
  box-sizing: border-box;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  aspect-ratio: 1567 / 688;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 16px;
  color: #FFFFFF;
}

.banner-overlay h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
}

.banner-overlay p {
  font-size: 0.8rem;
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.dot.active {
  background: var(--accent-color);
  width: 18px;
  border-radius: 10px;
}

/* Search Bar Section */
.search-container {
  padding: 12px 16px;
  background-color: var(--card-bg);
  box-shadow: var(--shadow-3d-sm);
  position: sticky;
  top: 65px;
  z-index: 990;
  border-bottom: 1px solid var(--border-color);
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #F1F5F9;
  border: 1.5px solid var(--border-color);
  border-radius: 25px;
  padding: 6px 14px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.search-box:focus-within {
  background-color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(10, 74, 57, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.search-box input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 6px 8px;
  font-size: 0.9rem;
}

.search-box button {
  background: transparent;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  background: #FFFFFF;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-results-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #F3F4F6;
  cursor: pointer;
}

.search-result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

/* Homepage Section Styling */
.section-wrapper {
  padding: 16px;
  box-sizing: border-box;
}

.flash-sale-wrapper {
  background-color: #FFF3E0;
  border-radius: var(--radius-md);
  margin: 16px;
  padding: 16px;
  border: 1px solid #FFE0B2;
}

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

.section-title-wrap {
  position: relative;
  display: inline-block;
}

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

.section-accent-line {
  height: 3px;
  width: 40px;
  background-color: var(--accent-color);
  border-radius: 2px;
  margin-top: 2px;
}

.see-all-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(245, 130, 10, 0.08);
  border: 1px solid rgba(245, 130, 10, 0.2);
  transition: all 0.2s ease;
}

.see-all-btn:hover {
  background: var(--accent-color);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(245, 130, 10, 0.3);
  transform: translateY(-1px);
}

/* Category Grid / Carousel (Fixed 2 Rows + Horizontal Scroll) */
.category-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 4.6);
  gap: 12px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.category-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

@media (min-width: 480px) {
  .category-grid {
    grid-auto-columns: calc((100% - 40px) / 5.5);
    gap: 14px 10px;
  }
}

@media (min-width: 768px) {
  .category-grid {
    grid-auto-columns: calc((100% - 60px) / 7.5);
    gap: 16px 12px;
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.category-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #E6F4F0 70%, #CDE8E0 100%);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-3d-sm), var(--inner-emboss);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.category-icon-box .category-img,
.category-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Category Icon Glossy Highlight Overlay */
.category-icon-box::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 12%;
  width: 76%;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
  z-index: 2;
}

/* Dynamic Pastel Glossy Background Variants */
.category-card:nth-child(5n+1) .category-icon-box {
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #E0F2FE 70%, #BAE6FD 100%);
  color: #0284C7;
}
.category-card:nth-child(5n+2) .category-icon-box {
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #FEF3C7 70%, #FDE68A 100%);
  color: #D97706;
}
.category-card:nth-child(5n+3) .category-icon-box {
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #FCE7F3 70%, #FBCFE8 100%);
  color: #DB2777;
}
.category-card:nth-child(5n+4) .category-icon-box {
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #EDE9FE 70%, #DDD6FE 100%);
  color: #7C3AED;
}
.category-card:nth-child(5n+5) .category-icon-box {
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #DCFCE7 70%, #BBF7D0 100%);
  color: #16A34A;
}

.category-card:hover .category-icon-box {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-3d-md), 0 0 12px rgba(245, 130, 10, 0.25);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.category-card:active .category-icon-box {
  transform: translateY(2px) scale(0.95);
  box-shadow: var(--shadow-pressed);
}

.category-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0.15px;
  transition: color 0.2s ease;
}

.category-card:hover .category-name {
  color: var(--primary-color);
}

/* Product Cards & Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-3d-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3d-md);
  border-color: rgba(245, 130, 10, 0.25);
}

/* Skeleton Loader & States */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-card {
  pointer-events: none;
  user-select: none;
}

.skeleton-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

body.dark-mode .skeleton-thumb,
[data-theme="dark"] .skeleton-thumb {
  background: linear-gradient(90deg, #1E293B 25%, #334155 50%, #1E293B 75%);
  background-size: 200% 100%;
}

.skeleton-line {
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 4px;
}

body.dark-mode .skeleton-line,
[data-theme="dark"] .skeleton-line {
  background: linear-gradient(90deg, #1E293B 25%, #334155 50%, #1E293B 75%);
  background-size: 200% 100%;
}

.product-error-state, .product-empty-state {
  transition: all 0.3s ease;
}

.product-error-state button {
  box-shadow: 0 4px 12px rgba(10, 74, 57, 0.2);
}

.product-error-state button:hover {
  transform: translateY(-2px);
}

.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #F9FAFB;
  overflow: hidden;
}

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

.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: var(--accent-color);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.stock-out-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.55);
  color: #FFF;
  font-weight: bold;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.share-btn-card {
  position: absolute;
  top: 8px;
  right: 42px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.share-btn-card:hover {
  background: #FFFFFF;
  color: var(--primary-color);
}

.wishlist-btn-card {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  z-index: 5;
}

.wishlist-btn-card.active {
  color: var(--danger-color);
}

.product-details {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  margin-bottom: 6px;
  height: 2.6em;
  word-break: break-word;
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.current-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-color);
}

.old-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-to-cart-btn {
  width: 100%;
  background: linear-gradient(135deg, #FF8C00 0%, #F5820A 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 9px 0;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(245, 130, 10, 0.3), var(--inner-emboss);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, #FFA01A 0%, #E06C00 100%);
  box-shadow: 0 6px 14px rgba(245, 130, 10, 0.4);
  transform: translateY(-1px);
}

.add-to-cart-btn:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: var(--shadow-pressed);
}

.add-to-cart-btn.stock-out {
  background: #9CA3AF;
  box-shadow: none;
  cursor: not-allowed;
  transform: none !important;
}

/* Floating Elements */
.floating-cart-bubble {
  position: fixed;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  background: linear-gradient(135deg, #0D5C4A 0%, #0A4A39 100%);
  color: #FFFFFF;
  padding: 9px 16px;
  border-radius: 30px;
  box-shadow: var(--shadow-3d-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cart-bubble:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px rgba(10, 74, 57, 0.35);
}

.floating-cart-bubble:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: var(--shadow-pressed);
}

.floating-cart-bubble .cart-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.floating-cart-bubble .cart-items {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.8);
}

.floating-cart-bubble .cart-total {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-color);
}

.floating-chat-bubble {
  position: fixed;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF8C00 0%, #F5820A 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-3d-md), 0 0 14px rgba(245, 130, 10, 0.35);
  font-size: 1.35rem;
  z-index: 1001;
  cursor: pointer;
  border: 2px solid #FFFFFF;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-chat-bubble:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 24px rgba(245, 130, 10, 0.45);
}

.floating-chat-bubble:active {
  transform: translateY(2px) scale(0.95);
}


/* Bottom Navigation Bar (Floating Mobile & Responsive) */
body {
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 12px));
}

.bottom-nav {
  position: fixed;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 480px;
  height: 64px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 12px 36px rgba(10, 74, 57, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 0 8px;
  transition: all 0.25s ease;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 0.7rem;
  font-weight: 500;
  gap: 3px;
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-item .nav-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-item i {
  font-size: 1.15rem;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:active {
  transform: scale(0.94);
}

.nav-item.active {
  color: var(--primary-color);
  font-weight: 700;
}

.nav-item.active .nav-icon-wrap {
  background-color: rgba(11, 77, 60, 0.1);
}

.nav-item.active i {
  transform: scale(1.12);
  color: var(--primary-color);
}

.center-cart-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.center-cart-shortcut {
  position: relative;
  top: -18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0D5C4A 0%, #0A4A39 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 22px rgba(10, 74, 57, 0.38), var(--inner-emboss);
  border: 3.5px solid #FFFFFF;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.center-cart-shortcut:active {
  transform: scale(0.92);
  box-shadow: 0 4px 10px rgba(11, 77, 60, 0.25);
}

.center-cart-shortcut.active {
  background: linear-gradient(135deg, var(--accent-color), #D46D04);
  box-shadow: 0 8px 18px rgba(245, 130, 10, 0.4);
}

@keyframes cartGlowPulse {
  0% {
    box-shadow: 0 8px 18px rgba(11, 77, 60, 0.35);
  }
  50% {
    box-shadow: 0 8px 24px rgba(245, 130, 10, 0.6), 0 0 0 6px rgba(245, 130, 10, 0.15);
  }
  100% {
    box-shadow: 0 8px 18px rgba(11, 77, 60, 0.35);
  }
}

.center-cart-shortcut.has-items {
  animation: cartGlowPulse 2.5s infinite ease-in-out;
}

.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-color);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(245, 130, 10, 0.4);
  line-height: 1;
}

/* Glass Accent Cards & Container */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

/* Product Detail Page Styling */
.pd-page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 12px 100px 12px;
}

.pd-main-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .pd-main-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }
}

/* Gallery Styling */
.pd-gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.pd-hero-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background-color: #F8F9FA;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(11, 77, 60, 0.08);
  touch-action: pan-y;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-hero-viewport {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-hero-img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.pd-hero-img:hover {
  transform: scale(1.04);
}

.pd-hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.pd-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-color);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(245, 130, 10, 0.35);
  z-index: 10;
}

.pd-gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 10;
}

/* Thumbnails Strip */
.pd-thumbs-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  width: 100%;
  min-width: 0;
  padding: 4px 2px 8px 2px;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.pd-thumb-btn {
  position: relative;
  flex: 0 0 64px;
  height: 64px;
  width: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #F3F4F6;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.pd-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumb-btn.active {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(245, 130, 10, 0.25);
  transform: translateY(-2px);
}

.pd-thumb-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
  z-index: 2;
}

/* Product Info Block */
.pd-info-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pd-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.3;
}

.pd-stock-urgency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #D97706;
  background: #FEF3C7;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #FCD34D;
  width: fit-content;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-current-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-color);
}

.pd-old-price {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pd-save-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  background: #D1FAE5;
  padding: 2px 8px;
  border-radius: 6px;
}

.pd-short-desc {
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.5;
}

/* Trust Badges */
.pd-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #F8FAFC;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  margin: 4px 0;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pd-trust-item i {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.pd-variant-group {
  margin-top: 4px;
}

.pd-action-btns {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.pd-btn-add {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #E6F4F0;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  box-shadow: var(--shadow-3d-sm);
  transition: all 0.2s ease;
}

.pd-btn-add:hover {
  background: var(--primary-color);
  color: #FFFFFF;
}

.pd-btn-buy {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF8C00 0%, #F5820A 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(245, 130, 10, 0.35), var(--inner-emboss);
  transition: all 0.2s ease;
}

.pd-btn-buy:hover {
  background: linear-gradient(135deg, #FFA01A 0%, #E06C00 100%);
  box-shadow: 0 8px 20px rgba(245, 130, 10, 0.45);
  transform: translateY(-1px);
}

.pd-btn-add:active, .pd-btn-buy:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: var(--shadow-pressed);
}

/* Details Card & Related */
.pd-details-card {
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 16px;
}

.pd-full-desc {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.6;
  white-space: pre-line;
}

.pd-related-wrapper {
  padding: 0;
  margin-top: 16px;
}

/* Sticky Bottom Mobile Bar */
.pd-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(11, 77, 60, 0.12);
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)) 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1020;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  body.has-pd-sticky {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 12px));
  }
}

.pd-sticky-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pd-sticky-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.pd-sticky-val {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent-color);
}

.pd-sticky-btns {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 280px;
}

.pd-sticky-btns button {
  flex: 1;
  padding: 10px 8px;
  font-size: 0.82rem;
}

/* Page Header & Back Button */
.page-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #07382B 0%, #0A4A39 50%, #0D5C4A 100%);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-3d-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-title {
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header Dropdown Menu for Product Details */
.pd-header-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.pd-header-menu-btn {
  background: transparent;
  color: #FFFFFF;
  font-size: 1.25rem;
  padding: 6px 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pd-header-menu-btn:hover,
.pd-header-menu-btn:active {
  background: rgba(255, 255, 255, 0.18);
}

.pd-header-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  color: #1F2937;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  min-width: 140px;
  padding: 6px;
  display: none;
  z-index: 1000;
  animation: dropdownFadeIn 0.15s ease-out;
}

body.dark-mode .pd-header-dropdown,
[data-theme="dark"] .pd-header-dropdown {
  background: #1E293B;
  color: #F8FAFC;
  border-color: #334155;
}

.pd-header-dropdown.active {
  display: block;
}

.pd-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.pd-dropdown-item:hover {
  background: #F3F4F6;
  color: var(--primary-color);
}

body.dark-mode .pd-dropdown-item:hover,
[data-theme="dark"] .pd-dropdown-item:hover {
  background: #334155;
  color: #34D399;
}

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

/* Footer Section */
.site-footer {
  background: linear-gradient(180deg, #07382B 0%, #0A4A39 40%, #05261E 100%);
  color: #E5E7EB;
  padding: 36px 16px 90px 16px;
  margin-top: 32px;
  border-top: 3px solid var(--accent-color);
  box-shadow: 0 -10px 30px rgba(7, 56, 43, 0.2);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h3 {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-links a {
  color: #D1D5DB;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: #9CA3AF;
  margin-top: 20px;
}

/* Forms & Modals */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: var(--primary-color);
}

.btn-primary {
  background: linear-gradient(135deg, #0D5C4A 0%, #0A4A39 100%);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(10, 74, 57, 0.25), var(--inner-emboss);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0E6853 0%, #063629 100%);
  box-shadow: 0 6px 16px rgba(10, 74, 57, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: var(--shadow-pressed);
}

.btn-accent {
  background: linear-gradient(135deg, #FF8C00 0%, #F5820A 100%);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(245, 130, 10, 0.35), var(--inner-emboss);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #FFA01A 0%, #E06C00 100%);
  box-shadow: 0 6px 18px rgba(245, 130, 10, 0.45);
  transform: translateY(-1px);
}

.btn-accent:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: var(--shadow-pressed);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: rgba(10, 74, 57, 0.04);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #FFFFFF;
  box-shadow: var(--shadow-3d-sm);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(2px);
}

/* Fullpage Auth Loading Screen */
.auth-loading-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color, #F4F6F9);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.auth-loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.auth-loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #FFFFFF;
  padding: 32px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(10, 74, 57, 0.12);
  text-align: center;
  max-width: 90vw;
}

.auth-loading-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.auth-loading-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #E2E8F0;
  border-top-color: var(--primary-color, #0A4A39);
  border-right-color: var(--accent-color, #F5820A);
  border-radius: 50%;
  animation: authSpin 0.8s linear infinite;
}

.auth-loading-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color, #0A4A39);
  letter-spacing: 0.2px;
}

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

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #333;
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.3s ease-in-out;
}

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

/* ==========================================
   Multi-Step Checkout Wizard & Stepper Styles
   ========================================== */

.checkout-page-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 12px;
}

.checkout-stepper-card {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
}

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

.stepper-counter {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-color);
  background: rgba(245, 130, 10, 0.12);
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stepper-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-color);
}

body.dark-mode .stepper-title {
  color: #34D399;
}

.stepper-progress-bg {
  width: 100%;
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

body.dark-mode .stepper-progress-bg {
  background-color: #334155;
}

.stepper-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.stepper-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex: 1;
  text-align: center;
  user-select: none;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 2px solid #CBD5E1;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

body.dark-mode .step-circle {
  background: #1E293B;
  border-color: #475569;
  color: #64748B;
}

.step-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.step-node.active .step-circle {
  background: var(--primary-color);
  border-color: var(--accent-color);
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(245, 130, 10, 0.25);
  transform: scale(1.1);
}

.step-node.active .step-label {
  color: var(--primary-color);
  font-weight: 800;
}

body.dark-mode .step-node.active .step-label {
  color: #34D399;
}

.step-node.completed .step-circle {
  background: var(--success-color);
  border-color: var(--success-color);
  color: #FFFFFF;
}

.step-node.completed .step-label {
  color: var(--success-color);
  font-weight: 700;
}

/* Wizard Steps Slider Container */
.wizard-steps-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.wizard-step {
  display: none;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  width: 100%;
}

.wizard-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.wizard-step.slide-left {
  transform: translateX(-100%);
  opacity: 0;
}

.wizard-step.slide-right {
  transform: translateX(100%);
  opacity: 0;
}

.step-card-title {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.dark-mode .step-card-title {
  color: #34D399;
}

/* Field Validation Styles */
.field-error {
  color: var(--danger-color);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.form-control.is-invalid {
  border-color: var(--danger-color) !important;
  background-color: #FEF2F2 !important;
}

body.dark-mode .form-control.is-invalid {
  background-color: #450A0A !important;
}

/* Wizard Bottom Actions */
.wizard-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

.wizard-actions.flex-end {
  justify-content: flex-end;
}

.wizard-actions.space-between {
  justify-content: space-between;
}

.step-next-btn, .step-back-btn, .step-skip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

/* Billing Summary Card Styles */
.billing-summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

.billing-card-header {
  background: #E6F4F0;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(11, 77, 60, 0.12);
}

body.dark-mode .billing-card-header {
  background: #11382C;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.billing-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0B5D42;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.dark-mode .billing-card-title {
  color: #34D399;
}

.billing-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.billing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.billing-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.coupon-status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.coupon-status-tag.tag-not-applied {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

body.dark-mode .coupon-status-tag.tag-not-applied {
  background: #334155;
  color: #94A3B8;
  border-color: #475569;
}

.coupon-status-tag.tag-applied {
  background: #D1FAE5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

body.dark-mode .coupon-status-tag.tag-applied {
  background: #064E3B;
  color: #6EE7B7;
  border-color: #047857;
}

.billing-value {
  font-weight: 600;
}

.billing-divider-dashed {
  border-top: 1.5px dashed var(--border-color);
  margin: 2px 0;
}

.billing-grand-row {
  margin-top: 2px;
}

.billing-grand-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.billing-grand-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #F5820A;
}

.billing-hint-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
  padding: 0 4px;
}

.billing-hint-text i {
  color: var(--primary-color);
}

body.dark-mode .billing-hint-text i {
  color: #34D399;
}

/* Payment Method Selection Card Options */
.payment-method-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--card-bg);
  transition: all 0.2s ease;
}

.payment-method-option:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
}

.payment-method-option input[type="radio"]:checked + div {
  color: var(--primary-color);
}

.payment-method-option.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #F8FAFC;
}

/* Step 5 Order Review Cards */
.review-details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-box {
  background: rgba(10, 74, 57, 0.04);
  border: 1px solid rgba(10, 74, 57, 0.12);
  border-radius: 10px;
  padding: 12px;
}

body.dark-mode .review-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.review-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-color);
}

body.dark-mode .review-box-header {
  color: #34D399;
}

.review-edit-btn {
  background: transparent;
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 130, 10, 0.3);
}

.review-edit-btn:hover {
  background: var(--accent-color);
  color: #FFFFFF;
}

.review-box-body {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-primary);
}

/* ==========================================
   Super Admin Panel Redesign & Enhancements
   ========================================== */

/* Page Top Header Bar for Admin */
.admin-top-bar {
  background: linear-gradient(135deg, #05261E 0%, #0B4D3C 100%);
  color: #FFFFFF;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(5, 38, 30, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-top-bar .brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.admin-top-bar .admin-shield-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(245, 130, 10, 0.2);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(245, 130, 10, 0.3);
}

.admin-badge-role {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, #F5820A, #E06C00);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 130, 10, 0.4);
}

.admin-settings-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-settings-btn:hover {
  background: rgba(245, 130, 10, 0.25);
  color: var(--accent-color);
  border-color: rgba(245, 130, 10, 0.5);
  transform: rotate(30deg);
}

/* Admin Sidebar Navigation Layout & Drawer System */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 65px);
  position: relative;
}

.admin-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1040;
  display: none;
}

.admin-sidebar-overlay.active {
  display: block;
}

.admin-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid rgba(11, 77, 60, 0.1);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.admin-sidebar.active {
  transform: translateX(0);
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-sidebar-close {
  display: block;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #6B7280;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-sidebar-close:hover {
  background: #F3F4F6;
  color: var(--danger-color);
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4B5563;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  text-align: left;
  user-select: none;
}

.admin-tab-btn i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  color: #6B7280;
  transition: transform 0.2s ease, color 0.2s ease;
}

.admin-tab-btn:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  transform: translateX(3px);
}

.admin-tab-btn:hover i {
  color: var(--primary-color);
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #05261E 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(11, 77, 60, 0.25);
  border-color: rgba(245, 130, 10, 0.3);
}

.admin-tab-btn.active i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.admin-main-content {
  flex: 1;
  padding: 20px;
  min-width: 0;
}

/* Premium Statistics Metric Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.stat-card-premium {
  position: relative;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -5px rgba(0, 0, 0, 0.1), 0 10px 12px -5px rgba(0, 0, 0, 0.04);
}

/* Metric Themes */
/* 1. Emerald/Green (Sales) */
.stat-card-emerald {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.stat-card-emerald .stat-icon-wrapper {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35);
}

.stat-card-emerald .stat-value {
  color: #065F46;
}

.stat-card-emerald .stat-label {
  color: #047857;
}

/* 2. Royal Blue (Orders) */
.stat-card-blue {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.stat-card-blue .stat-icon-wrapper {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.35);
}

.stat-card-blue .stat-value {
  color: #1E40AF;
}

.stat-card-blue .stat-label {
  color: #1D4ED8;
}

/* 3. Amber/Orange (Pending Sellers) */
.stat-card-amber {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.stat-card-amber .stat-icon-wrapper {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}

.stat-card-amber .stat-value {
  color: #92400E;
}

.stat-card-amber .stat-label {
  color: #B45309;
}

/* 4. Purple/Teal (Customers) */
.stat-card-purple {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.stat-card-purple .stat-icon-wrapper {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(139, 92, 246, 0.35);
}

.stat-card-purple .stat-value {
  color: #5B21B6;
}

.stat-card-purple .stat-label {
  color: #6D28D9;
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
}

/* Modern Premium Glass & Solid Admin Cards */
.admin-section-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(229, 231, 235, 0.8);
  margin-bottom: 24px;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F3F4F6;
}

.admin-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-section-title i {
  color: var(--accent-color);
}

/* Admin Modern Inputs & Form Enhancements */
.admin-section-card .form-control {
  border-radius: 12px;
  padding: 11px 14px;
  border: 1.5px solid #E5E7EB;
  background-color: #F9FAFB;
  transition: all 0.2s ease;
  font-size: 0.88rem;
}

.admin-section-card .form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(11, 77, 60, 0.1);
}

.admin-section-card label.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
}

.admin-flag-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  background: #F8FAFC;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.admin-flag-grid label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4B5563;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
}

.admin-flag-grid label:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Status Badges */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1;
}

.admin-badge-active { background: #D1FAE5; color: #059669; border: 1px solid #A7F3D0; }
.admin-badge-inactive { background: #F3F4F6; color: #6B7280; border: 1px solid #E5E7EB; }
.admin-badge-pending { background: #FEF3C7; color: #D97706; border: 1px solid #FDE68A; }
.admin-badge-approved { background: #D1FAE5; color: #059669; border: 1px solid #A7F3D0; }
.admin-badge-rejected { background: #FEE2E2; color: #DC2626; border: 1px solid #FCA5A5; }
.admin-badge-suspended { background: #FFEDD5; color: #C2410C; border: 1px solid #FDBA74; }
.admin-badge-confirmed { background: #E0F2FE; color: #0284C7; border: 1px solid #BAE6FD; }
.admin-badge-packed { background: #E0E7FF; color: #4338CA; border: 1px solid #C7D2FE; }
.admin-badge-shipped { background: #F3E8FF; color: #7E22CE; border: 1px solid #E9D5FF; }
.admin-badge-out-for-delivery { background: #CCFBF1; color: #0D9488; border: 1px solid #99F6E4; }
.admin-badge-delivered { background: #D1FAE5; color: #059669; border: 1px solid #A7F3D0; }
.admin-badge-cancelled { background: #FEE2E2; color: #DC2626; border: 1px solid #FCA5A5; }
.admin-badge-returned { background: #FFEDD5; color: #C2410C; border: 1px solid #FDBA74; }

/* Admin Sleek Modal System */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.admin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-modal {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.admin-modal-overlay.active .admin-modal {
  transform: scale(1) translateY(0);
}

.admin-modal-header {
  padding: 18px 24px;
  background: linear-gradient(135deg, #0B4D3C 0%, #05261E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.admin-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-modal-title i {
  color: var(--accent-color);
}

.admin-modal-close {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.admin-modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
}

.admin-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.admin-modal-footer {
  padding: 16px 24px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Admin Data Toolbar & Controls */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  background: #F8FAFC;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
}

.admin-search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.admin-search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  font-size: 0.9rem;
}

.admin-search-input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border-radius: 10px;
  border: 1px solid #D1D5DB;
  font-size: 0.85rem;
  background: #FFFFFF;
}

.admin-search-input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 77, 60, 0.1);
}

.admin-filter-select {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #D1D5DB;
  font-size: 0.85rem;
  background: #FFFFFF;
  color: #374151;
  font-weight: 600;
  cursor: pointer;
}

/* Admin Clean Tables */
.admin-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #E5E5EB;
  background: #FFFFFF;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background: #F9FAFB;
  color: #4B5563;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid #E5E7EB;
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: middle;
  color: #1F2937;
}

.admin-table tbody tr:hover {
  background: #F8FAFC;
}

.admin-action-btn-group {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.admin-btn-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Loading Spinner */
.admin-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(11, 77, 60, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: adminSpin 0.8s linear infinite;
}

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

.admin-loading-container {
  padding: 40px;
  text-align: center;
  color: #6B7280;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
