@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  /* Brand Core Colors */
  --brand-blue: #7CD0EE;
  --brand-blue-glow: rgba(124, 208, 238, 0.4);
  --brand-blue-dark: #38A3CA;
  
  --brand-red: #FA6B6C;
  --brand-red-glow: rgba(250, 107, 108, 0.4);
  --brand-red-dark: #D94546;

  /* Surfaces & Backgrounds */
  --bg-deep: #0A0F1D;
  --bg-surface: #101728;
  --bg-card: rgba(22, 34, 47, 0.75);
  --bg-card-hover: rgba(28, 44, 62, 0.85);
  --bg-glass: rgba(16, 23, 40, 0.7);
  --bg-input: rgba(10, 15, 29, 0.85);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #7CD0EE 0%, #FA6B6C 100%);
  --grad-brand-text: linear-gradient(135deg, #A8E6FF 0%, #7CD0EE 40%, #FA6B6C 100%);
  --grad-blue: linear-gradient(135deg, rgba(124, 208, 238, 0.15) 0%, rgba(124, 208, 238, 0.02) 100%);
  --grad-red: linear-gradient(135deg, rgba(250, 107, 108, 0.15) 0%, rgba(250, 107, 108, 0.02) 100%);

  /* Borders & Shadows */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-brand: rgba(124, 208, 238, 0.25);
  --border-red: rgba(250, 107, 108, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-popover: 0 20px 50px rgba(0, 0, 0, 0.9);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Text Colors */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(ellipse at 15% 0%, rgba(124, 208, 238, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(250, 107, 108, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(124, 208, 238, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
}

.gradient-text {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-blue { color: var(--brand-blue); }
.text-red { color: var(--brand-red); }

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition-normal);
  background: rgba(10, 15, 29, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(10, 15, 29, 0.94);
  border-bottom: 1px solid var(--border-brand);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Shopping Bag Icon Button */
.nav-icon-btn {
  position: relative;
  background: rgba(124, 208, 238, 0.08);
  border: 1px solid var(--border-brand);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-icon-btn:hover {
  background: rgba(124, 208, 238, 0.18);
  color: #FFFFFF;
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Colored Gradient Account Button */
.account-wrapper {
  position: relative;
}

.account-nav-btn {
  background: var(--grad-brand);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0F1D;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(124, 208, 238, 0.4);
  transition: all var(--transition-fast);
  overflow: hidden;
  padding: 0;
}

.account-nav-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 25px rgba(250, 107, 108, 0.5);
}

/* Account Dropdown Popover */
.account-popover {
  position: absolute;
  top: 130%;
  right: 0;
  width: 310px;
  background: rgba(16, 23, 40, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-brand);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow-popover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1100;
}

.account-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.popover-user-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #0A0F1D;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--border-brand);
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popover-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.popover-menu-item:hover {
  background: rgba(124, 208, 238, 0.12);
  color: var(--text-main);
}

.popover-menu-item i {
  width: 18px;
  color: var(--brand-blue);
  font-size: 1rem;
}

.popover-signout-btn {
  color: var(--brand-red);
}

.popover-signout-btn i {
  color: var(--brand-red);
}

.popover-signout-btn:hover {
  background: rgba(250, 107, 108, 0.12);
  color: #FFFFFF;
}

.badge-pill {
  margin-left: auto;
  background: rgba(124, 208, 238, 0.18);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 12px;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-brand);
  color: #0A0F1D;
  box-shadow: 0 8px 25px rgba(124, 208, 238, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(250, 107, 108, 0.4);
}

.btn-secondary {
  background: rgba(124, 208, 238, 0.08);
  color: var(--brand-blue);
  border-color: var(--border-brand);
}

.btn-secondary:hover {
  background: rgba(124, 208, 238, 0.18);
  color: #FFFFFF;
}

.btn-danger {
  background: rgba(250, 107, 108, 0.15);
  color: var(--brand-red);
  border-color: var(--border-red);
}

.btn-danger:hover {
  background: var(--brand-red);
  color: #FFFFFF;
}

/* Hero Section */
.hero {
  padding-top: 11rem;
  padding-bottom: 6rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(124, 208, 238, 0.08);
  border: 1px solid var(--border-brand);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);\n}

.glass-card:hover {
  border-color: var(--border-brand);
}

/* Community Forums Styles */
.forum-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.forum-thread-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.forum-thread-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.forum-thread-card:hover {
  border-color: var(--border-brand);
  background: rgba(22, 34, 47, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.forum-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  background: rgba(124, 208, 238, 0.15);
  color: var(--brand-blue);
}

.forum-reply-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
}

.forum-reply-card {
  background: rgba(10, 15, 29, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* Modal Windows */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-brand);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(124, 208, 238, 0.15);
}

/* Verification Code Input Styles */
.verify-code-input {
  letter-spacing: 0.4em;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--brand-blue);
  background: rgba(10, 15, 29, 0.95);
  border: 2px solid var(--brand-blue);
  box-shadow: 0 0 20px rgba(124, 208, 238, 0.2);
  padding: 0.75rem 1rem;\n}

/* Terms of Service Checkbox */
.tos-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.tos-checkbox-label input[type=\"checkbox\"] {
  accent-color: var(--brand-blue);
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.tos-checkbox-label a {
  color: var(--brand-blue);
  text-decoration: underline;
  font-weight: 600;
}

/* Inline Username Prefix */
.input-prefix-group {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-prefix-group:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(124, 208, 238, 0.15);
}

.input-prefix-addon {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  margin-right: 0.35rem;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.input-prefix-field {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.85rem 0 !important;
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
}

/* Profile Avatar Upload Component */
.profile-avatar-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.profile-avatar-preview {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #0A0F1D;
  overflow: hidden;
  border: 2px solid var(--brand-blue);
  box-shadow: 0 0 20px rgba(124, 208, 238, 0.3);
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-upload-btn-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.avatar-file-input {
  display: none;
}

/* Date Input Wrapper & Calendar Option */
.date-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.date-input-wrapper .form-input {
  width: 100%;
  padding-right: 2.85rem;
  color-scheme: dark;
  cursor: pointer;
}

.calendar-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--brand-blue);
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
}

.calendar-btn:hover {
  color: #FFFFFF;
  background: rgba(124, 208, 238, 0.15);
  transform: translateY(-50%) scale(1.1);
}

input[type=\"date\"] {
  color-scheme: dark;
}

input[type=\"date\"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
}

/* Cart / Bag Modal Styles */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  max-height: 240px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.cart-summary-box {
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.1rem;
}

/* Settings Modal & Orders Styles */
.settings-section-title {
  font-size: 0.95rem;
  color: var(--brand-blue);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-item-card {
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.1rem;
}

/* File Upload Dropzone */
.file-dropzone {
  position: relative;
  border: 2px dashed rgba(124, 208, 238, 0.3);
  border-radius: 14px;
  background: rgba(124, 208, 238, 0.03);
  padding: 1.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--brand-blue);
  background: rgba(124, 208, 238, 0.08);
  box-shadow: 0 0 25px rgba(124, 208, 238, 0.15);
}

.file-dropzone input[type=\"file\"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.dropzone-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  background: rgba(124, 208, 238, 0.12);
  border: 1px solid rgba(124, 208, 238, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.file-dropzone:hover .dropzone-icon {
  transform: translateY(-3px) scale(1.08);
  background: rgba(124, 208, 238, 0.22);
}

.dropzone-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.dropzone-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.file-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 15, 29, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  animation: fadeIn 0.2s ease-in-out;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
}

.file-info i {
  color: var(--brand-blue);
  font-size: 1.1rem;
}

.file-remove-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.file-remove-btn:hover {
  color: var(--brand-red);
  background: rgba(250, 107, 108, 0.15);
}

/* ================= CUSTOM IN-WEBSITE TOAST & NOTIFICATION SYSTEM ================= */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 420px;
  width: calc(100% - 3rem);
}

.toast-card {
  pointer-events: auto;
  background: rgba(16, 23, 40, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.15);
  border: 1px solid var(--border-light);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-card.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-card.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-icon {
  font-size: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.toast-msg {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.2rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-main);
}

/* Toast Variants */
.toast-success {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.15);
}
.toast-success .toast-icon { color: #10B981; }

.toast-info {
  border-color: var(--border-brand);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(124, 208, 238, 0.15);
}
.toast-info .toast-icon { color: var(--brand-blue); }

.toast-error {
  border-color: rgba(250, 107, 108, 0.4);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(250, 107, 108, 0.15);
}
.toast-error .toast-icon { color: var(--brand-red); }

.toast-warning {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(251, 191, 36, 0.15);
}
.toast-warning .toast-icon { color: #FBBF24; }

/* Custom Rich In-Website Notice Dialog Modal */
.dialog-card {
  width: 90%;
  max-width: 500px;
  background: var(--bg-surface);
  border: 1px solid var(--border-brand);
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  text-align: center;
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.dialog-badge-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 2rem;
}

/* ================= PRODUCT STORE & FILTER BAR STYLES ================= */
.admin-toolbar {
  background: linear-gradient(135deg, rgba(124, 208, 238, 0.12), rgba(250, 107, 108, 0.12));
  border: 1px solid var(--border-brand);
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 208, 238, 0.2);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

/* Filter Bar & Search Input (Store & Forums) */
.store-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.category-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.category-pill {
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.5rem 1.15rem;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
}

.category-pill:hover {
  background: rgba(124, 208, 238, 0.1);
  color: var(--text-main);
  border-color: rgba(124, 208, 238, 0.4);
  transform: translateY(-1px);
}

.category-pill.active {
  background: rgba(124, 208, 238, 0.15);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 0 14px rgba(124, 208, 238, 0.2);
}

/* Polished Dark Glass Search Bar */
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 250px;
  max-width: 320px;
  width: 100%;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  pointer-events: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  z-index: 2;
}

.search-input-wrap .search-input {
  width: 100%;
  height: 42px;
  padding: 0.5rem 1.2rem 0.5rem 2.65rem;
  background: rgba(10, 15, 29, 0.75);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  outline: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.search-input-wrap .search-input::placeholder {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 400;
}

.search-input-wrap .search-input:hover:not(:focus) {
  border-color: rgba(124, 208, 238, 0.35);
  background: rgba(14, 22, 40, 0.85);
}

.search-input-wrap .search-input:focus {
  background: rgba(16, 24, 44, 0.95);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(124, 208, 238, 0.18), 0 4px 18px rgba(0, 0, 0, 0.45);
}

.search-input-wrap:focus-within .search-icon {
  color: var(--brand-blue);
  transform: scale(1.1);
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-brand);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.product-image-wrap, .product-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0B101E;
  overflow: hidden;
}

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

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

.product-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-brand);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  z-index: 2;
}

.product-content, .product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category, .product-cat {
  font-size: 0.75rem;
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

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

.admin-card-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
}

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

/* Footer */
footer {
  background: #060913;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .forum-categories { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .toast-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}

@media (max-width: 768px) {
  .store-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .category-pills {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .category-pill {
    white-space: nowrap;
  }
  .search-input-wrap {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ================= ROLE TAGS & BADGES SYSTEM ================= */
.role-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  border: 1px solid currentColor;
  text-transform: uppercase;
  vertical-align: middle;
  line-height: 1;
}

.role-badge-ceo {
  color: #F59E0B !important;
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.role-badge-coo {
  color: #06B6D4 !important;
  background: rgba(6, 182, 212, 0.15) !important;
  border-color: rgba(6, 182, 212, 0.4) !important;
}

.role-badge-cfo {
  color: #10B981 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

.role-badge-admin {
  color: #8B5CF6 !important;
  background: rgba(139, 92, 246, 0.15) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
}

.role-badge-dev, .role-badge-developer {
  color: #3B82F6 !important;
  background: rgba(59, 130, 246, 0.15) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

.role-badge-intern {
  color: #EC4899 !important;
  background: rgba(236, 72, 153, 0.15) !important;
  border-color: rgba(236, 72, 153, 0.4) !important;
}

.role-badge-staff {
  color: #6366F1 !important;
  background: rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}

.role-badge-member {
  color: #94A3B8 !important;
  background: rgba(148, 163, 184, 0.1) !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
}

/* ================= ADMIN CONTROL PANEL TABS & TABLES ================= */
.admin-tabs-bar {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.admin-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.admin-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
  color: var(--brand-blue);
  background: rgba(124, 208, 238, 0.12);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.88rem;
}

.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(10, 15, 29, 0.9);
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-action-btn {
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-action-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* ================= FORGOT PASSWORD LINK ================= */
.forgot-password-link {
  color: var(--text-dim);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.forgot-password-link:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}
