/* ===================================
   Annishofie E-Commerce Styles
   =================================== */

/* CSS Variables */
:root {
  --primary: #4a90e2;
  --primary-dark: #3a7bd5;
  --primary-light: #6ba3e8;
  --secondary: #6c757d;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --light: #f8f9fa;
  --dark: #212529;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-xl: 0 8px 24px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* Dark Theme */
[data-theme="dark"] {
  --light: #1a1a1a;
  --dark: #f8f9fa;
  --white: #2d2d2d;
  --gray-100: #2d2d2d;
  --gray-200: #3d3d3d;
  --gray-300: #4d4d4d;
  --gray-400: #5d5d5d;
  --gray-500: #8d8d8d;
  --gray-600: #9d9d9d;
  --gray-700: #adadad;
  --gray-800: #cdcdcd;
  --gray-900: #ededed;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--gray-100);
  color: var(--dark);
  line-height: 1.6;
  padding-bottom: 70px;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
}

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

/* ===================================
   Header Styles
   =================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-top {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  cursor: pointer;
  transition: var(--transition);
}

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

.search-container {
  flex: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  background: var(--gray-200);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.search-input::placeholder {
  color: var(--gray-500);
}

.search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.05);
}

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

.header-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.header-btn:hover {
  background: var(--gray-200);
  transform: scale(1.05);
}

.header-btn:active {
  transform: scale(0.95);
}

/* Badge */
.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePop 0.3s ease;
}

@keyframes badgePop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ===================================
   Category Tabs
   =================================== */
.category-tabs {
  display: flex;
  overflow-x: auto;
  padding: 12px 16px;
  gap: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.category-tab:hover {
  background: var(--gray-200);
}

.category-tab.active {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* ===================================
   Banner Styles
   =================================== */
.banner-carousel {
  padding: 0 16px 16px;
}

.banner-slide {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 24px;
  color: white;
  position: relative;
}

.banner-slide::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.banner-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}

.banner-subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
  position: relative;
}

.banner-btn {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===================================
   Section Styles
   =================================== */
.section {
  padding: 16px;
}

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

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.section-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}

.section-link:hover {
  color: var(--primary-dark);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card:active {
  transform: scale(0.98);
}

.product-image-container {
  position: relative;
  padding-top: 100%;
  background: var(--gray-100);
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 600;
  z-index: 1;
}

.product-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition);
  z-index: 1;
}

.product-wishlist:hover {
  transform: scale(1.1);
}

.product-wishlist.active {
  color: var(--danger);
  background: white;
}

.product-wishlist.active i {
  animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.product-info {
  padding: 12px;
}

.product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 36px;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-original-price {
  font-size: 12px;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

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

.product-rating i {
  color: #ffc107;
  font-size: 10px;
}

.product-sold {
  color: var(--gray-500);
}

.product-add-btn {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.product-add-btn:hover {
  background: var(--primary-dark);
}

.product-add-btn:active {
  transform: scale(0.98);
}

/* ===================================
   Bottom Navigation
   =================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: flex;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  text-decoration: none;
  color: var(--gray-500);
  font-size: 10px;
  transition: var(--transition);
  position: relative;
}

.nav-item:hover {
  color: var(--primary);
}

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

.nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-item i {
  font-size: 20px;
  margin-bottom: 2px;
}

.nav-badge {
  position: absolute;
  top: 4px;
  right: 50%;
  transform: translateX(12px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--danger);
  color: white;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================
   Cart Drawer
   =================================== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-title {
  font-size: 18px;
  font-weight: 700;
}

.cart-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-close:hover {
  background: var(--gray-200);
  transform: rotate(90deg);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-500);
}

.cart-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--gray-300);
}

.cart-empty p {
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  animation: slideIn 0.3s ease;
}

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

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-size {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qty-value {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.cart-item-remove {
  margin-left: auto;
  color: var(--danger);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  transition: var(--transition);
}

.cart-item-remove:hover {
  transform: scale(1.1);
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-total-label {
  font-size: 14px;
  color: var(--gray-600);
}

.cart-total-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.checkout-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

/* ===================================
   Modal Styles
   =================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

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

.modal-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
  transform: rotate(90deg);
}

/* Size Options */
.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.size-option {
  padding: 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.size-option:hover {
  border-color: var(--primary);
}

.size-option.selected {
  border-color: var(--primary);
  background: rgba(74, 144, 226, 0.1);
}

.size-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.size-price {
  font-size: 12px;
  color: var(--gray-600);
}

.modal-confirm {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.modal-confirm:hover {
  background: var(--primary-dark);
}

.modal-confirm:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
}

/* ===================================
   Toast Notification
   =================================== */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  z-index: 400;
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast i {
  font-size: 16px;
}

/* ===================================
   Page Header (for Wishlist & Account)
   =================================== */
.page-header {
  display: flex;
  align-items: center;
  padding: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.page-back {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-right: 12px;
}

.page-back:hover {
  background: var(--gray-200);
}

.page-title {
  font-size: 18px;
  font-weight: 700;
}

/* ===================================
   Wishlist Page Styles
   =================================== */
.wishlist-empty {
  text-align: center;
  padding: 60px 20px;
}

.wishlist-empty i {
  font-size: 64px;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.wishlist-empty h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark);
}

.wishlist-empty p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.wishlist-empty .btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.wishlist-empty .btn-primary:hover {
  background: var(--primary-dark);
}

/* ===================================
   Account Page Styles
   =================================== */
.account-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 24px 16px;
  color: white;
  text-align: center;
}

.account-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.account-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.account-email {
  font-size: 14px;
  opacity: 0.9;
}

.account-menu {
  padding: 16px;
}

.account-menu-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.account-menu-item:hover {
  background: var(--gray-200);
  transform: translateX(4px);
}

.account-menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: var(--primary);
}

.account-menu-text {
  flex: 1;
  font-weight: 500;
}

.account-menu-arrow {
  color: var(--gray-400);
}

/* ===================================
   Empty State
   =================================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 64px;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark);
}

.empty-state p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--gray-200);
  color: var(--dark);
}

.btn-secondary:hover {
  background: var(--gray-300);
}

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

.btn-danger:hover {
  background: #c82333;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ===================================
   Responsive Design
   =================================== */
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .cart-drawer {
    max-width: 400px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .header-top {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.animate-fadeIn {
  animation: fadeIn 0.3s ease;
}

.animate-slideUp {
  animation: slideUp 0.3s ease;
}

/* ===================================
   Utility Classes
   =================================== */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

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

.text-left {
  text-align: left;
}

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

.flex {
  display: flex;
}

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

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

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }

.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }