:root {
  --primary: #e9b540;
  --primary-hover: #d6a533;
  --primary-light: #f5d078;
  --primary-pale: #faf6eb;

  --secondary: #f7d2c4;
  --accent: #641807;
  --accent-light: #8b1902;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic Colors */
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --info: #3b82f6;
  --info-light: #dbeafe;

  /* Background & Surface */
  --bg-primary: linear-gradient(to right, #021120 0%, #641807 100%);
  --bg-secondary: #0f172a;
  --logo-gradient: linear-gradient(180deg, #e9b540 0%, #f7d2c4 100%);
  --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--white);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: transparent;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.left-section {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--surface);
  color: var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: var(--text-lg);
  margin-right: 28px;
}

.menu-toggle:hover {
  background: var(--surface-hover);
  transform: scale(1.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: var(--transition);
}

.logo-container:hover {
  transform: scale(1.02);
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  transition: var(--transition);
  box-shadow: var(--shadow);
  margin-right: 8px;
}

.brand {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

/* Right-Section Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.action-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--surface);
  color: var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: var(--text-lg);
}

.action-btn:hover {
  background: var(--surface-hover);
  transform: scale(1.05);
}

.divider {
  width: 1px;
  height: 24px;
  background: var(--glass-border);
}

/* Enhanced Sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--glass-border);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.sidebar-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  border: none;
  background: var(--surface);
  color: var(--gray-400);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.sidebar-close:hover {
  background: var(--surface-hover);
  color: var(--white);
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  border: 3px solid var(--primary);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.profile-info h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.profile-info p {
  font-size: var(--text-sm);
  color: var(--gray-400);
  margin-bottom: var(--space-2);
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: var(--primary);
  color: var(--gray-900);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  padding: var(--space-4);
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  color: var(--gray-300);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: var(--surface);
  color: var(--white);
  transform: translateX(var(--space-1));
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleY(1);
}

.nav-link.active {
  background: var(--surface-hover);
  color: var(--primary);
}

.nav-link.danger:hover {
  background: var(--danger-light);
  color: var(--danger);
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  flex-shrink: 0;
}

.nav-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-title {
  font-weight: 500;
  font-size: var(--text-sm);
}

.nav-subtitle {
  font-size: var(--text-xs);
  color: var(--gray-400);
  font-weight: 400;
}

.nav-divider {
  height: 1px;
  background: var(--glass-border);
  margin: var(--space-2) 0;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: var(--space-2);
}

/* Main Content Layout */
.main-container {
  min-height: 100vh;
  padding: var(--space-10) var(--space-12);
  transition: margin-left var(--transition-slow);
}

/* Page Header */
.page-header {
  margin-bottom: var(--space-10);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.breadcrumb-item {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item:hover:not(.active) {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--white);
  font-weight: 500;
}

.breadcrumb-separator {
  color: var(--gray-500);
  font-size: var(--text-xs);
}

.page-title-section h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
  background: var(--primary-light);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-400);
  font-weight: 400;
  max-width: 600px;
}

/* Content Sections */
.content-section {
  display: none;
  animation: fadeInUp 0.5s ease-out;
}

.content-section.active {
  display: block;
}

.section-grid {
  display: grid;
  gap: var(--space-8);
}

/* Enhanced Cards */
.card {
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(233, 181, 64, 0.2);
}

.card-header {
  padding: var(--space-8);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.card-title-group h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.card-subtitle {
  font-size: var(--text-sm);
  color: var(--gray-400);
  font-weight: 400;
}

.card-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.card-content {
  padding: var(--space-8);
}

/* Danger Card Variant */
.danger-card {
  border-color: rgba(239, 68, 68, 0.2);
}

.danger-card .card-header {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
}

.danger-card .card-title-group h2 {
  color: var(--danger);
}

/* Form Styles */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-section-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.form-input,
.form-select,
.form-textarea {
  padding: var(--space-4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--white);
  font-size: var(--text-sm);
  font-family: var(--font-primary);
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 181, 64, 0.1);
  background: var(--surface-hover);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--white);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select-small {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: var(--space-1);
}

.card-header .security-status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* Password Input */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper .form-input {
  padding-right: 52px;
  flex: 1;
}

.password-toggle {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}

.password-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.password-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(233, 181, 64, 0.2);
}

/* Password Strength */
.password-strength {
  margin-top: var(--space-3);
  padding: var(--space-3) 0;
}

.strength-bar {
  height: 4px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2);
  position: relative;
}

.strength-fill {
  height: 100%;
  background: var(--danger);
  transition: all var(--transition-slow);
  width: 0%;
  border-radius: var(--radius-full);
}

.strength-fill.weak {
  background: linear-gradient(90deg, var(--danger) 0%, #ff6b6b 100%);
  width: 25%;
}

.strength-fill.medium {
  background: linear-gradient(90deg, var(--warning) 0%, #ffd93d 100%);
  width: 65%;
}

.strength-fill.strong {
  background: linear-gradient(90deg, var(--success) 0%, #51cf66 100%);
  width: 100%;
}

.strength-text {
  font-size: var(--text-xs);
  color: var(--gray-400);
  font-weight: 500;
  text-align: left;
}

/* Password Requirements */
.password-requirements {
  padding: var(--space-5);
  background: rgba(233, 181, 64, 0.03);
  border: 1px solid rgba(233, 181, 64, 0.1);
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.requirements-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.requirements-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.requirements-list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.requirement {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--gray-400);
  transition: var(--transition);
  padding: var(--space-2) 0;
}

.requirement i {
  font-size: var(--text-sm);
  color: var(--danger);
  transition: var(--transition);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.requirement.satisfied {
  color: var(--success);
}

.requirement.satisfied i {
  color: var(--success);
}

/* Security Status */
.security-status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-indicator.strong {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-indicator.medium {
  background: var(--warning-light);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-indicator.weak {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Security Form Improvements */
#securityForm .form-section {
  margin-bottom: var(--space-8);
}

#securityForm .form-section:last-of-type {
  margin-bottom: 0;
}

/* Password Input Group Spacing */
#securityForm .form-group {
  margin-bottom: var(--space-6);
}

#securityForm .form-group:last-child {
  margin-bottom: 0;
}


/* Form Actions for Security */
#securityForm .form-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-end;
  padding-top: var(--space-8);
  border-top: 1px solid var(--glass-border);
  margin-top: var(--space-8);
}

/* Form Labels Consistency */
#securityForm .form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
  display: block;
}

/* Input Focus States */
#securityForm .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 181, 64, 0.1);
  background: var(--surface-hover);
}

/* Enhanced Form Section Titles */
#securityForm .form-section-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.order-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: var(--transition);
}

.order-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(233, 181, 64, 0.2);
  transform: translateY(-1px);
}

.order-header {
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  border-bottom: 1px solid var(--glass-border);
}

.order-info h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.order-date {
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.order-status {
  flex-shrink: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.delivered {
  background: var(--success-light);
  color: var(--success);
}

.status-badge.processing {
  background: var(--warning-light);
  color: var(--warning);
}

.status-badge.shipped {
  background: var(--info-light);
  color: var(--info);
}

.status-badge.cancelled {
  background: var(--danger-light);
  color: var(--danger);
}

.order-content {
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.product-preview {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
}

.product-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

.product-details h4 {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.product-price {
  color: var(--primary);
  font-weight: 600;
}

.product-separator {
  color: var(--gray-500);
}

.order-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-1);
}

.total-label {
  font-size: var(--text-xs);
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.total-amount {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary);
}

.order-actions {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* Addresses Grid */
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.address-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: var(--transition);
}

.address-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(233, 181, 64, 0.2);
  transform: translateY(-2px);
}

.address-header {
  padding: var(--space-6) var(--space-6) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.address-type {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
}

.address-badges {
  display: flex;
  gap: var(--space-2);
}

.badge-primary {
  background: var(--primary);
  color: var(--gray-900);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-content {
  padding: 0 var(--space-6) var(--space-4);
}

.address-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.address-details {
  font-size: var(--text-sm);
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.address-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.address-actions {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* Add Address Card */
.add-address {
  border: 2px dashed var(--glass-border);
  background: rgba(233, 181, 64, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  cursor: pointer;
  transition: var(--transition);
}

.add-address:hover {
  border-color: var(--primary);
  background: rgba(233, 181, 64, 0.05);
  transform: translateY(-2px);
}

.add-address-content {
  text-align: center;
  color: var(--gray-400);
}

.add-address-content i {
  font-size: var(--text-4xl);
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.add-address-content h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.add-address-content p {
  font-size: var(--text-sm);
}

/* Warning Section */
.warning-section {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6);
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
}

.warning-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--danger);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
}

.warning-content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--danger);
  margin-bottom: var(--space-3);
}

.warning-description {
  font-size: var(--text-base);
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.data-list {
  display: grid;
  gap: var(--space-3);
}

.data-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.data-item i {
  width: 20px;
  color: var(--danger);
}

.support-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  margin-top: var(--space-6);
}

.support-note i {
  color: var(--info);
  flex-shrink: 0;
}

.support-note p {
  font-size: var(--text-sm);
  color: var(--gray-300);
  margin: 0;
}

.support-link {
  color: var(--info);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.support-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 36px;
}

.btn-primary {
  background: var(--primary);
  color: var(--gray-900);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: var(--surface);
  color: var(--gray-300);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--surface-hover);
  color: var(--white);
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--gray-300);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover:not(:disabled) {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-end;
  padding-top: var(--space-6);
  border-top: 1px solid var(--glass-border);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-container {
    padding: var(--space-6) var(--space-4);
  }

  .card-header {
    padding: var(--space-6);
  }

  .card-content {
    padding: var(--space-6);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar {
    padding: var(--space-3) var(--space-4);
  }

  .page-title-section h1 {
    font-size: var(--text-3xl);
  }

  .addresses-grid {
    grid-template-columns: 1fr;
  }

  .order-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .order-actions {
    flex-wrap: wrap;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .card-header {
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
  }

  .card-header .security-status {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0;
  }

  .requirements-list {
    grid-template-columns: 1fr;
  }

  #securityForm .form-actions {
    flex-direction: column-reverse;
    gap: var(--space-3);
  }

  #securityForm .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .warning-section {
    flex-direction: column;
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 100%;
  }

  .main-container {
    padding: var(--space-4) var(--space-3);
  }

  .navbar {
    padding: var(--space-3);
    gap: var(--space-3);
  }

  .password-requirements {
    padding: var(--space-4);
  }

  .password-toggle {
    width: 32px;
    height: 32px;
    right: var(--space-3);
  }

  .password-wrapper .form-input {
    padding-right: 44px;
  }

  .header-actions .divider {
    display: none;
  }

  .breadcrumb {
    display: none;
  }

  .page-title-section h1 {
    font-size: var(--text-2xl);
  }

  .card-header,
  .card-content {
    padding: var(--space-4);
  }
}