/**
 * T-RAYO Luxury Streetwear Atelier - Profile Stylesheet
 * 100% Fully Responsive, Masterclass Dark Minimalist Haute Couture UI
 * Zero Horizontal Overflow Guarantee across all screens (320px - 4K)
 */

:root {
  --vault-bg-deep: #090a0e;
  --vault-card: rgba(18, 20, 29, 0.94);
  --vault-card-hover: rgba(24, 27, 39, 0.98);
  --vault-card-border: rgba(255, 255, 255, 0.08);
  --vault-card-border-hover: rgba(255, 71, 87, 0.35);
  --vault-input-bg: #101118;
  --vault-input-border: #232534;
  --vault-input-focus: #ff4757;
  --vault-accent: #ff4757;
  --vault-accent-glow: rgba(255, 71, 87, 0.28);
  --vault-success: #2ed573;
  --vault-gold: #f39c12;
  --vault-blue: #70a1ff;
  --vault-pink: #ff6b81;
}

/* ═══════════════════════════════════════
   GLOBAL RESETS & OVERFLOW SHIELDS
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body.profile-page-body {
  background-color: var(--vault-bg-deep);
  color: #f1f2f6;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

/* Universally protect text from blowing out containers */
h1, h2, h3, h4, h5, h6, p, span, div, a, label, strong, small {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.break-anywhere {
  overflow-wrap: anywhere;
  word-break: break-all;
}

/* Mobile Navbar Protection */
@media (max-width: 768px) {
  .tr-navbar .tr-nav-links {
    display: none !important;
  }
  .tr-nav-container {
    padding-inline: 0.75rem !important;
    gap: 0.35rem !important;
  }
  .brand-text {
    font-size: 1.15rem !important;
    letter-spacing: 0.08em !important;
  }
}

.profile-layout {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-block: 1.75rem 4.5rem;
  padding-inline: clamp(0.75rem, 3.5vw, 1.75rem);
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   GUEST BANNER (ASPIRATIONAL MEMBER VAULT)
═══════════════════════════════════════ */
.guest-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 24, 35, 0.95) 0%, rgba(13, 14, 21, 0.98) 100%);
  border: 1px solid var(--vault-card-border);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1rem, 4.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  margin-top: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  overflow: hidden;
  width: 100%;
}

.guest-card-mesh {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.22) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.guest-icon-capsule {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 71, 87, 0.12);
  border: 1px solid rgba(255, 71, 87, 0.35);
  color: #ff4757;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 28px rgba(255, 71, 87, 0.25);
  flex-shrink: 0;
}

.guest-overtitle {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff6b81;
  letter-spacing: 0.15em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.guest-title {
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.guest-desc {
  color: #9ca3af;
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.6;
}

.guest-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  width: 100%;
  max-width: 680px;
  text-align: left;
}

.perk-item {
  background: rgba(12, 13, 19, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.perk-bullet {
  color: #ff4757;
  font-size: 1rem;
  line-height: 1.2;
}

.perk-item strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
}

.perk-item small {
  display: block;
  font-size: 0.73rem;
  color: #838596;
  margin-top: 0.15rem;
}

.guest-actions-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin-top: 0.5rem;
}

.guest-btn {
  flex: 1;
  min-width: 150px;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 10px;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════
   HERO PROFILE CARD
═══════════════════════════════════════ */
.profile-hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 24, 35, 0.95) 0%, rgba(13, 14, 21, 0.98) 100%);
  border: 1px solid var(--vault-card-border);
  border-radius: 18px;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  margin-bottom: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  width: 100%;
}

.hero-card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.22) 0%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
}

.profile-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
  z-index: 1;
  width: 100%;
}

/* Avatar Column */
.avatar-col {
  position: relative;
  flex-shrink: 0;
}

.avatar-ring-outer {
  position: relative;
  width: clamp(78px, 12vw, 92px);
  height: clamp(78px, 12vw, 92px);
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4757, #ff6b81, #70a1ff);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.35);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.avatar-ring-outer:hover {
  transform: scale(1.04);
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-letters {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  user-select: none;
}

.avatar-camera-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111218;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.avatar-camera-btn:hover {
  background: #ff4757;
  border-color: #ff4757;
  transform: scale(1.1);
}

.avatar-verified-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  background: #2ed573;
  color: #0b0c10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #161822;
  box-shadow: 0 2px 8px rgba(46, 213, 115, 0.5);
}

/* User Info Column */
.hero-info-col {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.hero-badge-capsules {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.badge-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge-vip {
  background: rgba(255, 71, 87, 0.18);
  color: #ff6b81;
  border: 1px solid rgba(255, 71, 87, 0.45);
}

.badge-discount {
  background: rgba(46, 213, 115, 0.14);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.38);
}

.badge-verified {
  background: rgba(112, 161, 255, 0.14);
  color: #70a1ff;
  border: 1px solid rgba(112, 161, 255, 0.35);
}

.hero-user-name {
  font-size: clamp(1.4rem, 4vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.hero-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #a0a0ab;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  width: 100%;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
  color: #a0a0ab;
}

.contact-chip svg {
  flex-shrink: 0;
  color: #718096;
}

/* Verification Meter Card */
.profile-meter-card {
  width: 100%;
  max-width: 320px;
  background: rgba(10, 11, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
}

.meter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}

.meter-label {
  color: #a0a0ab;
  font-weight: 600;
}

.meter-pct {
  color: #2ed573;
  font-weight: 800;
}

.meter-track {
  width: 100%;
  height: 5px;
  background: #232530;
  border-radius: 999px;
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4757, #2ed573);
  border-radius: 999px;
  transition: width 0.5s ease;
}

/* Action Button */
.hero-action-col {
  flex-shrink: 0;
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 71, 87, 0.35);
  color: #ff6b81;
  background: rgba(255, 71, 87, 0.06);
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-logout:hover {
  background: #ff4757;
  color: #ffffff;
  border-color: #ff4757;
  box-shadow: 0 4px 18px rgba(255, 71, 87, 0.4);
}

/* ═══════════════════════════════════════
   STATS CARDS RIBBON
═══════════════════════════════════════ */
.stats-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.stat-box {
  background: var(--vault-card);
  border: 1px solid var(--vault-card-border);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  min-width: 0;
  overflow: hidden;
}

.stat-box:hover {
  background: var(--vault-card-hover);
  border-color: var(--vault-card-border-hover);
  transform: translateY(-2px);
}

.stat-box-gold {
  border-color: rgba(243, 156, 18, 0.3);
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.08) 0%, rgba(22, 24, 34, 0.9) 100%);
}

.stat-icon-capsule {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-red { background: rgba(255, 71, 87, 0.14); color: #ff4757; }
.stat-icon-green { background: rgba(46, 213, 115, 0.14); color: #2ed573; }
.stat-icon-pink { background: rgba(255, 107, 129, 0.14); color: #ff6b81; }
.stat-icon-gold { background: rgba(243, 156, 18, 0.14); color: #f39c12; }

.stat-data {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.stat-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-sub {
  display: block;
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-sub code {
  color: #f39c12;
  font-family: inherit;
  font-weight: 900;
}

.stat-link-arrow {
  color: #555768;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SEGMENTED NAVIGATION TABS
═══════════════════════════════════════ */
.vault-tabs-controller {
  display: flex;
  gap: 0.5rem;
  background: rgba(18, 20, 28, 0.85);
  border: 1px solid var(--vault-card-border);
  border-radius: 12px;
  padding: 0.4rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.tab-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #a0a0ab;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.tab-button svg {
  flex-shrink: 0;
}

.tab-button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-button.active {
  background: #ff4757;
  color: #ffffff;
  border-color: #ff4757;
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.35);
}

/* ═══════════════════════════════════════
   TAB PANELS & LUXURY CARDS
═══════════════════════════════════════ */
.tab-panels-vault {
  position: relative;
  width: 100%;
}

.vault-panel {
  display: none;
}

.vault-panel.active {
  display: block;
}

.luxury-card {
  background: var(--vault-card);
  border: 1px solid var(--vault-card-border);
  border-radius: 16px;
  padding: clamp(1.15rem, 3.5vw, 2rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 100%;
  overflow: hidden;
}

.luxury-card-header {
  margin-bottom: 1.35rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--vault-card-border);
  width: 100%;
}

.address-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-main-title {
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.card-main-desc {
  font-size: 0.84rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.45;
}

/* ═══════════════════════════════════════
   FORM FIELDS & INPUT LAYOUTS
═══════════════════════════════════════ */
.vault-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field-req {
  color: #ff4757;
  font-weight: 900;
}

.field-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.field-icon {
  position: absolute;
  left: 0.85rem;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
}

.field-input {
  width: 100%;
  background: var(--vault-input-bg);
  border: 1px solid var(--vault-input-border);
  color: #ffffff;
  padding: 0.75rem 0.85rem 0.75rem 2.5rem;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.field-input:focus {
  outline: none;
  border-color: var(--vault-input-focus);
  background: #141620;
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}

.field-input::placeholder {
  color: #555768;
}

.locked-input {
  opacity: 0.75;
  cursor: not-allowed;
}

.field-select {
  appearance: none;
  cursor: pointer;
}

.field-helper {
  font-size: 0.72rem;
  color: #838596;
  margin-top: 0.2rem;
}

.form-actions-bar {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vault-card-border);
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.submit-action-btn {
  padding: 0.8rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
}

/* ═══════════════════════════════════════
   LIVE GPS TRIGGER BUTTON & STATUS
═══════════════════════════════════════ */
.btn-gps-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.16) 0%, rgba(30, 32, 44, 0.8) 100%);
  border: 1px solid rgba(46, 213, 115, 0.45);
  color: #2ed573;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-gps-trigger:hover:not(:disabled) {
  background: rgba(46, 213, 115, 0.25);
  border-color: #2ed573;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-gps-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gps-pulse-beacon {
  width: 8px;
  height: 8px;
  background: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ed573;
  animation: pulseBeacon 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.gps-status-banner {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
  width: 100%;
}

.gps-status-banner.loading {
  background: rgba(112, 161, 255, 0.12);
  border: 1px solid rgba(112, 161, 255, 0.35);
  color: #70a1ff;
}

.gps-status-banner.success {
  background: rgba(46, 213, 115, 0.12);
  border: 1px solid rgba(46, 213, 115, 0.35);
  color: #2ed573;
}

.gps-status-banner.error {
  background: rgba(255, 71, 87, 0.12);
  border: 1px solid rgba(255, 71, 87, 0.35);
  color: #ff6b81;
}

/* Luxury Courier Preview Card */
.courier-preview-card {
  background: #111218;
  border: 1px solid #282a36;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 0.35rem;
  width: 100%;
  overflow: hidden;
}

.courier-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.courier-tag {
  font-size: 0.68rem;
  color: #f39c12;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.courier-priority {
  font-size: 0.65rem;
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 800;
}

.courier-addr-text {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ═══════════════════════════════════════
   PASSWORD & EYE TOGGLES
═══════════════════════════════════════ */
.field-eye-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  user-select: none;
  z-index: 3;
}

.field-eye-btn:hover {
  color: #ffffff;
}

.strength-meter-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
  width: 100%;
}

.strength-track {
  flex: 1;
  height: 4px;
  background: #232530;
  border-radius: 999px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 0.3s ease, background 0.3s ease;
}

.strength-tag {
  font-size: 0.7rem;
  color: #838596;
  font-weight: 700;
  text-transform: uppercase;
  min-width: 55px;
}

.forgot-link-box {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.25rem;
  width: 100%;
}

.btn-forgot-inline {
  font-size: 0.8rem;
  color: #70a1ff;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.btn-forgot-inline:hover {
  color: #93c5fd;
}

.security-advisory-card {
  margin-top: 1.75rem;
  padding: 1.15rem;
  background: rgba(15, 17, 24, 0.75);
  border: 1px solid var(--vault-card-border);
  border-radius: 10px;
  width: 100%;
}

.advisory-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: #f1f2f6;
  margin-bottom: 0.45rem;
}

.advisory-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   ORDERS ACTIVITY TIMELINE
═══════════════════════════════════════ */
.orders-timeline-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

.orders-loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.loading-ring-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 71, 87, 0.2);
  border-top-color: #ff4757;
  border-radius: 50%;
  animation: spinRing 0.7s linear infinite;
}

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

.recent-order-item {
  background: #111218;
  border: 1px solid #232530;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  transition: border-color 0.2s ease;
}

.recent-order-item:hover {
  border-color: #3b3d4f;
}

.recent-order-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.order-code-badge {
  font-family: monospace;
  font-weight: 900;
  color: #ff4757;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
}

.order-date-text {
  font-size: 0.72rem;
  color: #718096;
}

.recent-order-details {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.recent-order-price {
  font-weight: 900;
  color: #2ed573;
  font-size: 1.05rem;
}

.recent-order-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Empty Orders */
.recent-orders-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  background: #111218;
  border: 1px dashed #2d303e;
  border-radius: 12px;
  width: 100%;
}

.empty-order-icon {
  font-size: 2.5rem;
  margin-bottom: 0.4rem;
}

.empty-order-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.empty-order-sub {
  color: #838596;
  font-size: 0.82rem;
  max-width: 340px;
  margin: 0 auto 1.15rem auto;
  line-height: 1.5;
}

/* ═══════════════════════════════════════
   SHORTCUTS SECTION
═══════════════════════════════════════ */
.shortcuts-vault-section {
  padding-top: 1.35rem;
  border-top: 1px solid var(--vault-card-border);
  width: 100%;
}

.shortcuts-head-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.shortcuts-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.quad-item {
  background: #111218;
  border: 1px solid #232530;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  min-width: 0;
}

.quad-item:hover {
  transform: translateY(-2px);
  border-color: #ff4757;
  background: #161722;
}

.quad-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.quad-body strong {
  display: block;
  font-size: 0.84rem;
  color: #ffffff;
}

.quad-body small {
  display: block;
  font-size: 0.7rem;
  color: #838596;
}

/* ═══════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════ */
.profile-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #14151e;
  border: 1px solid #2ed573;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
  z-index: 99999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  max-width: 90vw;
}

.profile-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.profile-toast.error {
  border-color: #ff4757;
  color: #ff6b81;
}

/* ═══════════════════════════════════════
   FULL RESPONSIVE MEDIA QUERIES
═══════════════════════════════════════ */

/* Tablet & Mobile (<= 768px) */
@media (max-width: 768px) {
  .profile-layout {
    padding-block: 1rem 3.5rem;
  }

  .profile-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.15rem;
    align-items: center;
  }

  .hero-badge-capsules {
    justify-content: center;
  }

  .hero-contact-row {
    justify-content: center;
    flex-direction: column;
    gap: 0.3rem;
  }

  .profile-meter-card {
    margin: 0 auto;
    width: 100%;
  }

  .hero-action-col {
    width: 100%;
  }

  .btn-logout {
    width: 100%;
  }

  .stats-ribbon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .stat-box {
    padding: 0.75rem;
  }

  .stat-link-arrow {
    display: none;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .submit-action-btn,
  .form-actions-bar .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .recent-order-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .recent-order-item > div:last-child a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .guest-perks-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Screens / Mobile Phones (<= 640px) */
@media (max-width: 640px) {
  .vault-tabs-controller {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.35rem;
  }

  .tab-button {
    flex: unset;
    width: 100%;
    padding: 0.65rem 0.5rem;
    font-size: 0.8rem;
    gap: 0.4rem;
  }

  .address-header-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn-gps-trigger {
    width: 100%;
  }

  .shortcuts-quad-grid {
    grid-template-columns: 1fr;
  }

  .guest-actions-row {
    flex-direction: column;
  }

  .guest-btn {
    width: 100%;
  }
}

/* Extra Small Mobile (<= 380px) */
@media (max-width: 380px) {
  .profile-layout {
    padding-inline: 0.5rem;
  }

  .profile-hero-card {
    padding: 1rem 0.75rem;
  }

  .luxury-card {
    padding: 1rem 0.75rem;
  }

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

  .tab-button {
    font-size: 0.75rem;
    padding: 0.55rem 0.35rem;
  }

  .profile-toast {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 1rem;
    text-align: center;
  }
}
