@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* =======================================================================================================
VARIABLES & RESET
======================================================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Colors */
    --primary-white: #ffffff;
    --soft-gray: #f8f9fa;
    --border-light: #e9ecef;
    
    /* Text Hierarchy */
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-muted: #7a8a9a;
    --text-label: #4a5f7a;
    --text-value: #1e2a38;
    
    /* Brand Colors */
    --accent-blue: #0066cc;
    --accent-hover: #0052a3;
    --accent-sky: #0084ff;
    --success-green: #2dbb4d;
    --warning-orange: #e67e22;
    --warning-text: #c65d05;
    --error-red: #dc3545;
    
    /* Gold Theme Colors */
    --gold-primary: #FFD700;
    --gold-light: #FFF700;
    --gold-extra-light: #FFE135;
    --gold-shadow-light: rgba(255, 215, 0, 0.3);
    --gold-shadow-medium: rgba(255, 215, 0, 0.4);
    --gold-text-shadow: rgba(255, 215, 0, 0.65);
    --gold-border-glow: rgba(255, 215, 0, 0.25);
    --gold-bg-transparent: rgba(255, 215, 0, 0.1);
    --gold-border-transparent: rgba(255, 215, 0, 0.2);
    
    /* Header Colors */
    --header-bg: #0d0d0d;
    --header-text: #fafafa;
    --header-border: rgba(255, 255, 255, 0.08);
    --header-opacity-text: 0.7;
    
    /* Glass Effects */
    --glass-bg: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
    --backdrop-blur: blur(6px) saturate(120%);
    
    /* Field/Input Colors */
    --field-fill: rgba(30, 30, 30, 0.9);
    --field-fill-hover: rgba(35, 35, 35, 0.95);
    --field-border: #d5a800;
    --field-border-focus: #fff700;
    --field-radius: 8px;
    --field-spacing: 16px 20px;
    
    /* Button Colors */
    --btn-gold-text: #2d1810;
    --btn-disconnect-bg: rgba(220, 53, 69, 0.1);
    --btn-disconnect-border: rgba(220, 53, 69, 0.3);
    --btn-disconnect-hover-bg: rgba(220, 53, 69, 0.2);
    
    /* Panel & Component Colors */
    --panel-bg: rgba(255, 255, 255, 0.95);
    --panel-border: #dde2e8;
    --panel-header-border: #d0d7de;
    --panel-icon-gradient-start: #667eea;
    --panel-icon-gradient-end: #764ba2;
    
    /* Status Colors */
    --status-success-bg-start: rgba(40, 167, 69, 0.1);
    --status-success-bg-end: rgba(32, 201, 151, 0.1);
    --status-success-border: rgba(40, 167, 69, 0.3);
    --status-warning-bg-start: rgba(255, 193, 7, 0.1);
    --status-warning-bg-end: rgba(253, 126, 20, 0.1);
    --status-warning-border: rgba(255, 193, 7, 0.3);
    
    /* Success/Error Feedback */
    --feedback-success-text: #00ff88;
    --feedback-success-bg: rgba(0, 255, 136, 0.15);
    --feedback-success-border: rgba(0, 255, 136, 0.3);
    --feedback-error-text: #ff6b6b;
    --feedback-error-bg: rgba(255, 107, 107, 0.15);
    --feedback-error-border: rgba(255, 107, 107, 0.3);
    
    /* Loading & Empty States */
    --loading-border: #c8d1da;
    --empty-icon: #9ca8b4;
    
    /* Stats Specific */
    --stat-bg: rgba(255, 255, 255, 0.7);
    --stat-bg-hover: rgba(255, 255, 255, 0.85);
    --stat-border: rgba(45, 67, 89, 0.12);
    --stat-highlight: #0066cc;
    --stat-shadow-text: rgba(255, 255, 255, 0.4);
    --stat-shadow-hover: rgba(102, 126, 234, 0.15);
    
    /* LP Panel Specific */
    --lp-label-color: #4a5f7a;
    --position-bg: rgba(45, 67, 89, 0.04);
    --position-border: rgba(45, 67, 89, 0.1);
    --position-text: #5a6c7d;
    --lp-gradient-end: #00d4ff;
    --lp-border-hover: rgba(0, 123, 255, 0.2);
    
    /* Token Card Colors */
    --token-kirai-start: #ff6b6b;
    --token-kirai-end: #ee5a52;
    --token-synth-start: #4ecdc4;
    --token-synth-end: #44a08d;
    --token-lov-start: #f093fb;
    --token-lov-end: #f5576c;
    --token-staked-start: #4facfe;
    --token-staked-end: #00f2fe;
    
    /* Misc Colors */
    --border-neutral: #cecece;
    --code-shadow: rgba(0, 0, 0, 0.4);
    --countdown-bg: rgba(0, 0, 0, 0.8);
    --countdown-shadow: rgba(0, 0, 0, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--panel-icon-gradient-start) 0%, var(--panel-icon-gradient-end) 100%);
    --gradient-surface: linear-gradient(135deg, var(--soft-gray) 0%, var(--primary-white) 100%);
    
    /* Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Spacing */
    --spacing-xss: 0.2rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --line-height-base: 1.6;
}

/* =======================================================================================================
BASE LAYOUT
======================================================================================================= */
body {
    font-family: var(--font-family);
    background: var(--gradient-surface);
    color: var(--text-primary);
    line-height: var(--line-height-base);
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    text-align: center;
}
 
/* =======================================================================================================
HEADER
======================================================================================================= */
header.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    color: var(--header-text);
    border-bottom: 1px solid var(--header-border);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    padding: 0.5rem 0;
}

header.header .container {
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: clamp(8px, 2vw, 32px);
    width: 100%;
}

header.header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(4px, 1vw, 24px);
    min-height: clamp(40px, 7vw, 72px);
    flex-wrap: nowrap;
}

header.header .logo {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.7vw, 12px);
    flex-shrink: 0;
    width: 20%;
}

header.header .logo-icon img {
    width: clamp(20px, 4vw, 44px);
    height: auto;
}

header.header .logo-text {
    display: flex;
    flex-direction: column;
}

header.header .logo-title {
    font-weight: 600;
    font-size: clamp(0.45rem, 1.8vw, 1.3rem);
    letter-spacing: 0.02em;
}

header.header .logo-subtitle {
    font-weight: 400;
    font-size: clamp(0.3rem, 1.5vw, 1rem);
    opacity: var(--header-opacity-text);
}

header.header .auth-section {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 20px);
    flex-shrink: 1;
    min-width: 0;
}

/* Core yellow button look */
header.header .btn {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #ffd33d;                  /* YELLOW border */
  background: transparent;
  color: #ffd33d;                              /* YELLOW text */
  padding: 4px 5px;
  font-size: clamp(0.6rem, 1.2vw, 1rem);  
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
} 

header.header .btn:hover,
header.header .btn:focus-visible {
  background: #ffd33d;                         /* YELLOW fill */
  color: #0d0d0d;                              /* dark text on hover */
}

header.header #connect-button,
header.header #disconnect-button {
  flex-shrink: 0;
}

/* Connected-panel visibility */
header.header .connected-panel.hidden { display: none; }
header.header .connected-panel {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 24px);
}

/* — Wallet connections — */
header.header .header-wallet-connections {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 20px);
}

header.header .wallet-info {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

header.header .wallet-info.hidden { display: none; }

header.header .wallet-icon {
  font-size: clamp(0.8rem, 1.8vw, 1.2rem);     /* ↑ bigger max */
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(18px, 4vw, 26px);
  height: clamp(18px, 4vw, 26px);
}

header.header .wallet-icon.solana-icon { color: #00ffa3; }
header.header .wallet-icon.evm-icon    { color: #627eea; }

header.header .wallet-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

header.header .wallet-address {
  font-size: clamp(0.6rem, 1.4vw, 1rem);       /* ↑ bigger max */
  max-width: clamp(80px, 20vw, 240px);
  overflow: hidden;
  text-overflow: ellipsis;
}

header.header .connection-status {
  font-size: clamp(0.5rem, 1.3vw, 0.85rem);    /* ↑ bigger max */
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 4px;
}

header.header .connection-status i {
  font-size: 0.55em;
  color: #00d26a;
}

header.header .wallet-purpose {
  font-size: 0.5rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
header.header .wallet-purpose.primary   { color: #00ffa3; }
header.header .wallet-purpose.secondary { color: #ffa500; }

/* — Portfolio tokens (minis) — */
header.header .header-portfolio {
  display: flex;
  align-items: center;
  gap: clamp(14px, 0.8vw, 14px);
  flex-shrink: 0;
}

header.header .token-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: clamp(0.55rem, 1.3vw, 0.95rem);   /* ↑ bigger max */
  flex-shrink: 0;
}

header.header .token-mini.hidden { display: none; }

header.header .token-mini-icon {
  font-weight: 600;
  width: clamp(18px, 4vw, 24px);
  height: clamp(18px, 4vw, 24px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0d0d0d;
}

/* Token colours */
.token-synth  { background: #7c5cff; }
.token-lov    { background: #ff4fb5; }
.token-lp     { background: #3ab7ff; }
.token-kirai  { background: #ffb84f; }
.token-staked { background: #16db93; }

header.header .token-mini-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

header.header .token-mini-balance {
  font-weight: 600;
  max-width: clamp(40px, 12vw, 100px);
  overflow: hidden;
  text-overflow: ellipsis;
}

header.header .token-mini-label {
  font-size: 0.62em;
  letter-spacing: 0.04em;
  opacity: 0.65;
  text-transform: uppercase;
}

/* ——————————————————————————————
   Utilities
   —————————————————————————————— */
.hidden { display: none !important; }

/* ——————————————————————————————
   Responsive tweaks
   —————————————————————————————— */

/* —— 1) Two-line layout ≤ 1100 px —— */
/* —— TWO-ROW LAYOUT ≤1100 px (minis only) —— */
@media (max-width: 1100px) {

  /* allow wrapping just inside the connected panel */
  header.header .connected-panel {
    flex-wrap: wrap;    justify-content:space-between;
  }

  /* keep wallet list + disconnect button on the first row */
  header.header .connected-panel > .header-wallet-connections { order: 1; }
  header.header .connected-panel > #disconnect-button         { order: 2; }

  /* force the minis onto a new full-width line */
  header.header .connected-panel > .header-portfolio {
    order: 3;
    flex-basis: 100%;  
    margin-top: 4px;  
    justify-content:space-between;
  }
  
}



/* —— 2) Trim paddings for ultra-tiny ≤ 400 px —— */
@media (max-width: 450px) {
  header.header .header-content { gap: 4px; } 
  header.header .wallet-info,
  header.header .token-mini     { gap: 2px; }
  header.header .logo { display: none;}
}

/* —— 3) Larger typography ≥ 1900 px —— */
@media (min-width: 1900px) {
  header.header .header-content { gap: 32px; }
  header.header .btn            { padding: 6px 14px; font-size: 1.15rem; }
  header.header .wallet-info,
  header.header .token-mini     { padding: 4px 10px; }
  header.header .logo-icon img  { filter: drop-shadow(0 0 2px rgba(0,0,0,0.2)); }
}

 


/* =======================================================================================================
BUTTON SYSTEM & INTERACTIONS
======================================================================================================= */
.btn{transition:background .2s ease,color .2s ease;}
.token-mini{transition:background .2s ease,transform .2s ease;}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn:hover::before {
    left: 100%;
}
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    background: rgba(255,255,255,0.1) !important;
}

.btn-secondary {
    background: var(--soft-gray);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}
.btn-secondary:hover {
    background: var(--border-light);
}
.btn-next-step {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-next-step:hover:not(:disabled) {
    background: #4CAF50; 
    box-shadow: var(--shadow-medium);
}
.btn-next-step:disabled {
    background: var(--border-light);
    color: var(--text-muted);
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
.btn.loading .btn-text {
    opacity: 0;
}
.btn.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: buttonSpin 1s linear infinite;
}
@keyframes buttonSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

 
/* =====================================================================================
AUTH STATES - Glassmorphism 2025
===================================================================================== */
.auth-required {
    text-align: center;
    padding: 1vw 1vw;
    background: rgb(144 219 219 / 15%);
    backdrop-filter: blur(5px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 50%; 
    margin: 5% 0 0 3%;
    transition: all 0.3s ease;
}

.auth-info { font-size: clamp(0.5rem, 1vw, 2rem);}

.auth-icon {
    font-size: clamp(1.2rem, 2.5vw, 3.7rem);
    color: #8BC34A;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-message {
    font-size: clamp(0.6rem, 1vw, 2rem);  
    font-weight: 700;
    color: white; 
    margin: 1vw 4vw;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    line-height: 1.1;
    border: 1px dotted white;
    padding: 1vw;
    background: rgb(10 205 23 / 20%);
    border-radius: 5px;
}

.auth-description {
    color: rgba(255, 255, 255, 0.85); 
    font-weight: 300;
    font-size: clamp(0.3rem, 0.8vw, 1.5rem);     
}

.btn-primary { 
    padding: 0.5vw 0.4vw;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--btn-gold-text);
    box-shadow: 0 4px 15px var(--gold-shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.2rem;
    font-weight: 500;
    font-size: clamp(0.4rem, 0.8vw, 1.5rem); 
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%); 
    cursor: pointer;
    user-select: none;
    margin: 5% auto;
    color: black; display: block;
    max-width: 25vw;
}

a.btn-primary {
    text-decoration: none; 
    font-size: clamp(0.5rem, 1vw, 1.5rem); 
}

.btn-primary:hover {
   background: linear-gradient(135deg, var(--gold-light), var(--gold-extra-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-shadow-medium);
}
.btn-connected {
    background: var(--btn-disconnect-bg);
    border: 1px solid var(--btn-disconnect-border);
    color: var(--error-red);
}

.btn-connected:hover {
    background: var(--btn-disconnect-hover-bg);
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) inset;
}



/* =======================================================================================================
DASHBOARD & PANELS - STREAMLINED NIELSEN COMPLIANT
======================================================================================================= */
.connected-interface { animation: fadeIn 0.6s ease-out; }
@keyframes fadeIn { from { opacity:0; transform: translateY(20px);} to { opacity:1; transform: translateY(0);} }
.dashboard-container { margin-bottom: var(--spacing-2xl); animation: slideInUp 0.6s ease-out; }
@keyframes slideInUp { from { opacity:0; transform: translateY(30px);} to { opacity:1; transform: translateY(0);} }

/* Streamlined Dashboard Header */
.dashboard-header {
    margin-bottom: var(--spacing-lg);
}

.user-info-card {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.user-info-card:hover {
    box-shadow: var(--shadow-medium);
}

.user-info-item { display: flex; align-items: center; gap: var(--spacing-sm);} 
.user-info-icon { width:48px; height:48px; border-radius:var(--border-radius); display:flex; align-items:center; justify-content:center; font-size:20px; color:white; }
.icon-telegram { background: linear-gradient(135deg,#0088cc,#0077b5);} 
.icon-wallet { background: linear-gradient(135deg,#9945FF,#7962E7);} 
.user-info-details h4 { font-size:12px; color:var(--text-secondary); text-transform:uppercase; letter-spacing:1px; margin-bottom:4px;} 
.user-info-details p { font-size:16px; font-weight:600; color:var(--text-primary);}   

.dashboard-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg); /* Add some space after the simplified header */
}

/* =======================================================================================================
SECONDARY CONTENT & PORTFOLIO
======================================================================================================= */
.secondary-content { margin: 3vw 0; }
.content-section { margin-bottom: var(--spacing-2xl); }
.section-header { text-align: center; margin-bottom: var(--spacing-xl); }
.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 16px 24px;
  margin: 16px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.setting-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c2c2c;
}

.setting-info p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #666;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  background-color: rgba(180, 180, 180, 0.4);
  border-radius: 50px;
  transition: 0.3s;
  height: 100%;
  width: 100%;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: rgba(0, 183, 255, 0.6); /* sky blue */
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}
#stats-content {
    background: var(--panel-bg);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow-light);
    max-width: 480px;
    margin: 24px auto;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.stat-item {
    background: var(--stat-bg);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid var(--stat-border);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.4);
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}
     
.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-label);
    margin-bottom: 6px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-value);
}

.stat-value.highlight {
    color: var(--stat-highlight);
}

.last-interaction {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 12px;
}


.portfolio-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:var(--spacing-lg); margin-bottom:var(--spacing-xl); }
.token-card {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.token-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium);} 
.token-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg,transparent,var(--accent-blue),transparent); opacity:0; transition:opacity 0.3s ease;} 
.token-card:hover::before { opacity:1; }
.token-header { display:flex; align-items:center; gap:var(--spacing-sm); margin-bottom:var(--spacing-md);} 
.token-icon { width:48px; height:48px; border-radius:var(--border-radius); display:flex; align-items:center; justify-content:center; font-weight:600; color:white;} 
.token-kirai{background:linear-gradient(135deg,#ff6b6b,#ee5a52);} .token-synth{background:linear-gradient(135deg,#4ecdc4,#44a08d);} .token-lov{background:linear-gradient(135deg,#f093fb,#f5576c);} .token-staked,.token-lp{background:linear-gradient(135deg,#4facfe,#00f2fe);} 
.token-info h3{font-size:18px;font-weight:600;margin-bottom:4px;} .token-symbol{font-size:12px;color:var(--text-secondary);text-transform:uppercase;letter-spacing:1px;} .token-balance{font-size:32px;font-weight:700;margin:var(--spacing-md) 0 8px;color:var(--text-primary);} .token-value{font-size:14px;color:var(--text-secondary);} 
/* =======================================================================================================
CSS CUSTOM PROPERTIES
======================================================================================================= */
:root {
  --field-fill: rgba(30, 30, 30, 0.9);
  --field-border: #d5a800;
  --field-border-focus: #fff700;
  --field-radius: 8px;
  --field-spacing: 16px 20px;
  --gold-primary: #FFD700;
  --gold-light: #FFF700;
  --green-primary: #3ad35d;
  --green-secondary: #20c997;
  --red-primary: #dc3545;
  --red-secondary: #fd7e14;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
}

/* =======================================================================================================
TELEGRAM VERIFICATION PANEL
======================================================================================================= */
.telegram-panel {
    background: 
        linear-gradient(135deg, rgba(102,126,234,0.4) 0%, rgb(14 87 97 / 45%) 1%),
        linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 1%);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius-lg);
    padding: 2vw;
    color: white; 
    width: 85%;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(102,126,234,0.3), inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
margin: 0 0 0 0%;
}

.telegram-panel::before {
    content:'';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,215,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(40,167,69,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: particleFloat 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes particleFloat { 
    0% { transform: translateY(0) rotate(0); opacity: 0.7; }
    100% { transform: translateY(-10px) rotate(5deg); opacity: 1; }
}

/* =======================================================================================================
SECTION HEADERS
======================================================================================================= */
.tg-verification-section .section-header {
    text-align: left;
    margin: 1vw 0;
}

.tg-verification-section .section-title {
    color: #FFC107;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-size: clamp(0.85rem, 1.8vw, 2.3rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: 1vw 0;
}

.section-description {
    color: rgba(255, 255, 255, 0.9);
   font-size: clamp(0.50rem, 1.1vw, 1.8rem);
    max-width: 1000px;
    margin: 2vw auto 4vw;
    padding: 2vw;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

/* =======================================================================================================
PROGRESS INDICATOR
======================================================================================================= */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    margin: 2vw 0;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.90rem, 1.5vw, 2.1rem);
    font-weight: bold;
    margin-bottom: 12px;
    transition: all 0.4s ease;
    position: relative;
}

.step-circle.pending {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.2);
}

.step-circle.active {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: #2d1810;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 20px rgba(255,215,0,0.6), 0 4px 15px rgba(255,215,0,0.3);
    animation: activePulse 2s ease-in-out infinite;
}

.step-circle.completed {
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    color: white;
    border: 2px solid var(--green-primary);
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

.step-circle.error {
    background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
    color: white;
    border: 2px solid var(--red-primary);
    box-shadow: 0 4px 15px rgba(220,53,69,0.3);
}

@keyframes activePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.6), 0 4px 15px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 0 30px rgba(255,215,0,0.8), 0 6px 20px rgba(255,215,0,0.5); transform: scale(1.05); }
}

.step-label {
    font-size: clamp(0.50rem, 1.1vw, 1.8rem);
    text-align: center;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.9);
    margin: 1vw 
;}

.step-label.active {
    opacity: 1;
    font-weight: 600;
    color: var(--gold-primary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.progress-line {
    position: absolute;
    top: 24px;
    left: 48px;
    right: 48px;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    overflow: hidden;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-primary) 33%, var(--green-primary) 66%, var(--green-secondary) 100%);
    transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 0 15px rgba(255,215,0,0.6);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6));
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* =======================================================================================================
STEP INSTRUCTIONS
======================================================================================================= */
.step-instructions {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2vw;
    border-radius: var(--border-radius);
    margin: 1vw 0 3vw;
     font-size: clamp(0.65rem, 1.1vw, 1.8rem);
}

.instruction-title {
    font-weight: bold;
    margin-bottom: 1vw;
    color: var(--gold-primary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
     font-size: clamp(0.75rem, 1.1vw, 1.8rem);
}

/* =======================================================================================================
TELEGRAM INSTRUCTION STEPS STYLING
======================================================================================================= */

.step-instructions { 
}

.instruction-title { 
}

.instruction-title::before { 
}

.step-instructions p { 
}

.step-instructions ol { 
}

.step-instructions li {
    counter-increment: step-counter;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 2px;
    margin-bottom: 0px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(14, 87, 97, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
   font-size: clamp(0.65rem, 1.1vw, 1.8rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
}

.step-instructions li:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(14, 87, 97, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.step-instructions li::before {
    content: counter(step-counter);
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(0.65rem, 1.1vw, 1.8rem);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.step-instructions li:last-child {
    margin-bottom: 0;
}

/* Special styling for code elements within instructions */
.step-instructions code {
    background: rgba(0, 0, 0, 0.4);
    color: #FFD700;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: clamp(0.65rem, 1.1vw, 1.8rem);
}

/* Enhanced styling for strong text within instructions */
.step-instructions strong {
    color: #3ed260;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Add subtle animation for better user experience */
@keyframes instructionSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-instructions {
    animation: instructionSlideIn 0.4s ease-out;
}



/* =======================================================================================================
HELP & FEEDBACK COMPONENTS
======================================================================================================= */
.username-help {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
 padding: 1vw ;
margin: 0 0 4vw;
}

.username-help h4 {
    color: var(--gold-primary);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.75rem, 1.1vw, 1.8rem);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.help-steps {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.help-step {
    display: flex;
    align-items: center;
    gap: 2vw;
    font-size: clamp(0.65rem, 1.1vw, 1.8rem);
    margin-left: 5vw;
}

.step-number {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: #2d1810;
    border-radius: 50%;
    width: 3vw;
    height: 3vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.45rem, 1.1vw, 1.8rem);
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255,215,0,0.3);
}

.help-button {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: #2d1810;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(0.65rem, 1.1vw, 1.8rem);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.help-button:hover {
    background: linear-gradient(135deg, var(--gold-light), #FFE135);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

/* =======================================================================================================
INPUT COMPONENTS
======================================================================================================= */
.tg-input-group {
    display: flex;
    gap: 2vw;
    margin-bottom: 1vw;
}

.tg-label {
    font: 500 14px/1.2 "Inter", sans-serif;
    color: var(--gold-primary);
}

.tg-input {
    flex: 1;
    padding: 2vw;
    background: var(--field-fill);
    color: #fff;
    border: 1px solid var(--field-border);
    border-radius: var(--field-radius);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .25);
    font-size: clamp(0.75rem, 1.1vw, 1.8rem);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.tg-input::placeholder {
    color: rgba(255, 215, 0, .65);
    font-weight: 400;
    
}

.tg-input:hover {
    background: rgba(35, 35, 35, 0.95);
}

.tg-input:focus {
    outline: none;
    border-color: var(--field-border-focus);
    box-shadow: 0 0 0 2px var(--field-border-focus), 0 2px 6px rgba(255, 215, 0, .35);
}

.input-feedback {
    border: 1px solid #cecece;
    font-size: clamp(0.55rem, 1.1vw, 1.8rem);
    margin-top: 1vw;
    min-height:  2vw;
    font-weight: 600;
    padding: 1vw;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.feedback-success {
    color: #00ff88;
    background: rgba(0,255,136,0.15);
    border-color: rgba(0,255,136,0.3);
}

.feedback-error {
    color: #ff6b6b;
    background: rgba(255,107,107,0.15);
    border-color: rgba(255,107,107,0.3);
}

.feedback-neutral {
    color: var(--gold-primary);
    background: rgba(255,215,0,0.1);
    border-color: rgba(255,215,0,0.2);
}

/* =======================================================================================================
CODE DISPLAY
======================================================================================================= */
.tg-code-display {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.tg-instruction {
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--gold-primary);
}

.code-box {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-family: 'Courier New', monospace;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 1px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,215,0,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.code-box:hover {
    border-color: rgba(255,215,0,0.6);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 20px rgba(255,215,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.command-prefix {
    color: var(--gold-primary);
    opacity: 0.9;
}

.command-code {
    color: #00ff88;
    background: rgba(0,255,136,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.copy-btn {
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--green-secondary), #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

.copy-btn.copied {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: #2d1810;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

/* =======================================================================================================
TIMERS & STATUS
======================================================================================================= */
.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,193,7,0.2);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255,193,7,0.3);
}

.countdown-timer.warning {
    background: rgba(220,53,69,0.2);
    border-color: rgba(220,53,69,0.3);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.countdown-time {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1em;
}

.status-pending, .status-success {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.status-pending {
    background: rgba(255,193,7,0.8);
    color: #FF5722;
}

.status-success {
    background: rgba(40,167,69,0.2);
    color: var(--green-primary);
}

/* =======================================================================================================
ERROR STATES
======================================================================================================= */
.error-state {
    background: rgba(220,53,69,0.2);
    border: 1px solid rgba(220,53,69,0.3);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.error-state .error-title {
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.retry-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 12px;
    transition: background-color 0.2s;
}

.retry-button:hover {
    background: #0056b3;
}

/* =======================================================================================================
SUCCESS ANIMATIONS
======================================================================================================= */
.success-animation {
    animation: successBounce 0.6s ease-out;
}

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

.simple-success {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(40,167,69,0.2), rgba(32,201,151,0.2));
    border: 2px solid rgba(40,167,69,0.4);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    color: white;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(40,167,69,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.simple-success i {
    font-size: 32px;
    color: white;
    flex-shrink: 0;
    animation: successIcon 0.6s ease-out;
}

@keyframes successIcon {
    0% { transform: scale(0.5) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.success-content {
    flex: 1;
}

.success-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--green-primary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.success-content p {
    font-size: 16px;
    margin-bottom: var(--spacing-md);
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
}

.continue-prompt {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    padding: var(--spacing-sm);
    margin: var(--spacing-md) 0;
    animation: subtlePulse 2s ease-in-out infinite;
}

.prompt-text {
    margin: 0;
    font-size: 14px;
    color: var(--gold-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes subtlePulse {
    0%, 100% { background: rgba(255,215,0,0.1); border-color: rgba(255,215,0,0.3); }
    50% { background: rgba(255,215,0,0.15); border-color: rgba(255,215,0,0.4); }
}

.dashboard-ready-btn {
    background: linear-gradient(135deg, #03A9F4, #2196F3);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
    letter-spacing: 0.5px;
}

.dashboard-ready-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #FF9800, #FFEB3B);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

.dashboard-ready-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* =======================================================================================================
VERIFICATION COMPLETION CLEANUP
======================================================================================================= */
.verification-complete .countdown-timer,
.verification-complete .tg-code-display,
.verification-complete .step-instructions:not(.success-instructions) {
    display: none !important;
}

.fade-out-element {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); height: auto; margin: var(--spacing-md) 0; }
    to { opacity: 0; transform: translateY(-10px); height: 0; margin: 0; padding: 0; }
}

.simple-success-animation {
    animation: simpleSlideIn 0.5s ease-out;
}

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


/* =======================================================================================================
DASHBOARD PANELS
======================================================================================================= */
.stats-panel, .settings-panel {
    background: var(--primary-white);
    border: 1px solid var(--panel-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.stats-panel:hover, .settings-panel:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--panel-border);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--panel-header-border);
}

.panel-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 20px;
}

.panel-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* =======================================================================================================
LOADING STATES
======================================================================================================= */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--loading-border);
    border-top: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: modernSpin 1s cubic-bezier(0.4,0,0.2,1) infinite;
}

@keyframes modernSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.stats-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: var(--text-secondary);
}

.stats-loading span {
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 48px;
    color: var(--empty-icon);
    margin-bottom: var(--spacing-md);
}

/* =======================================================================================================
SCROLLBAR & UTILITIES
======================================================================================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold-light), #FFE135);
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
    
/* =======================================================================================================
NFT VERIFICATION SECTION - Streamlined Nielsen Compliant Design
======================================================================================================= */

/* NFT Panel - Streamlined Design */
.nft-panel {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.9) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xs); /* Reduced padding */
    margin-bottom: var(--spacing-xl);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 -1px 0 rgba(0, 0, 0, 0.05) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.nft-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 20%, #00d4ff 50%, var(--accent-blue) 80%, transparent 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.nft-panel:hover { box-shadow: var(--shadow-medium); border-color: rgba(0,123,255,0.1); }
.nft-panel:hover::before { opacity: 1; }
.nft-step { animation: nftStepAppear 0.5s cubic-bezier(0.4,0,0.2,1); transform-origin: center top; }
.nft-step.hidden { display: none; }
@keyframes nftStepAppear { from { opacity:0; transform:translateY(15px) scale(0.99);} to { opacity:1; transform:translateY(0) scale(1);} }

.nft-step .step-instructions { 
    background: var(--soft-gray); 
    border: 1px solid var(--border-light); 
    border-radius: var(--border-radius); 
    padding: var(--spacing-md); /* Reduced padding */
    margin-bottom: var(--spacing-lg); /* Reduced margin */
    text-align: center; 
}
.nft-step .instruction-title { 
    font-size: 18px; /* Slightly smaller */
    font-weight: 600; 
    color: var(--text-primary); 
    margin-bottom: var(--spacing-xs); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: var(--spacing-xs);
} 
.nft-step .step-instructions p { 
    color: var(--text-secondary); 
    font-size: 14px; /* Smaller text */
    line-height: 1.5; /* Tighter line height */
    margin: 0; /* Remove extra margins */
}

.nft-connect-group { display:flex; flex-direction:column; align-items:center; gap:var(--spacing-lg); margin:var(--spacing-xl) 0; }
.nft-panel .wallet-info { background:var(--soft-gray); border:1px solid var(--border-light); border-radius:var(--border-radius); padding:var(--spacing-md); display:flex; flex-direction:column; align-items:center; gap:var(--spacing-xs); transition:all 0.3s ease; min-width:220px; }
.nft-panel .wallet-info:hover { background:var(--border-light); transform:translateY(-2px); box-shadow:var(--shadow-light);} 
.nft-panel .wallet-info .wallet-address { font-family:'Courier New',monospace; font-size:14px; font-weight:600; color:var(--accent-blue); letter-spacing:0.5px; }
.nft-panel .wallet-info .connection-status { font-size:12px; color:var(--success-green); font-weight:500; display:flex; align-items:center; gap:4px; }

/* Enhanced NFT Grid System - COLLECTIBLE ALBUM DENSITY */
.nft-grid, .nft-cards, #verified-nft-grid, #nft-display-grid { 
    display: grid; 
    gap: var(--spacing-lg); 
    margin: var(--spacing-xl) 0; 
    justify-items: center; 
    /* IMPROVED: Better grid template for flexible layouts */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    max-width: 100%; 
    width: 100%;  
    position: relative;
    
    /* Glassmorphism Grid Background */
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.4) 0%,
            rgba(248, 250, 252, 0.2) 50%,
            rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(10px); 
      
}

 
/* Verified NFT Grid Variations - FULL WIDTH */
#verified-nft-grid { 
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px)); 
    /* REMOVED: max-width constraint */
    width: 100%;
    background-image: 
        radial-gradient(circle at center, rgba(40, 167, 69, 0.15) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(32, 201, 151, 0.08) 0.5px, transparent 0.5px);
}
 
/* COMPLETE FIX for NFT Selection Grid Layout */

/* OVERRIDE: Fix the nested grid issue by making parent container block when containing selection */
#nft-display-grid:has(.nft-selection) {
    display: block !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(248, 250, 252, 0.2) 50%,
        rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

/* Selection Header Styling */
#nft-display-grid .nft-selection {
    width: 100%;
    margin: 0;
    padding: 0;
}

#nft-display-grid .nft-selection > p {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7),
        rgba(248, 250, 252, 0.5));
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* MAIN FIX: Proper grid for the nested .nft-cards container */
#nft-display-grid .nft-selection .nft-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: var(--spacing-lg);
    justify-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    background: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.selection-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7),
        rgba(248, 250, 252, 0.5));
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.selection-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

/* Ensure NFT cards in selection maintain proper sizing */
#nft-display-grid .nft-selection .nft-card {
    width: 100%;
    max-width: 300px;
    margin: 0;
}
 

/* DISABLE conflicting :has() selectors for selection mode */
#nft-display-grid:has(.nft-selection) .nft-card:only-of-type,
#nft-display-grid:has(.nft-selection) .nft-card:nth-of-type(2) {
    /* Reset any special single/multi card styling that might interfere */
    justify-self: center;
}
/* IMPROVED: Better grid spacing for single NFT display */
.nft-grid:has(.nft-card:only-of-type),
.nft-cards:has(.nft-card:only-of-type),
#verified-nft-grid:has(.nft-card:only-of-type),
#nft-display-grid:has(.nft-card:only-of-type) {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
}

/* IMPROVED: Better handling for multiple NFTs */
.nft-grid:has(.nft-card:nth-of-type(2)),
.nft-cards:has(.nft-card:nth-of-type(2)),
#verified-nft-grid:has(.nft-card:nth-of-type(2)),
#nft-display-grid:has(.nft-card:nth-of-type(2)) {
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: start;
}

/* Enhanced Empty State for Full Width Design */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-secondary);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.7) 0%,
            rgba(248, 250, 252, 0.4) 50%,
            rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(15px);
    border: 2px dashed rgba(0, 123, 255, 0.2);
    border-radius: 16px;
    margin: var(--spacing-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 123, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.empty-state:hover {
    border-color: rgba(0, 123, 255, 0.4);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.8) 0%,
            rgba(248, 250, 252, 0.5) 50%,
            rgba(255, 255, 255, 0.8) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.empty-state:hover::before {
    left: 100%;
}

/* Loading States for Full Width Design */
.loading-nfts {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-secondary);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.6) 0%,
            rgba(248, 250, 252, 0.3) 50%,
            rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 123, 255, 0.15);
    border-radius: 16px;
    margin: var(--spacing-md);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Enhanced Collection Encouragement Section */
.collection-encouragement {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    background: 
        linear-gradient(135deg, 
            rgba(0, 123, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(0, 212, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 123, 255, 0.15);
    border-radius: 16px;
    margin: var(--spacing-md) 0 var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.collection-encouragement::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 123, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
}

.collection-encouragement:hover::before {
    left: 100%;
}

.encouragement-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--text-primary), rgba(0, 123, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.4;
}

.collection-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 14px 24px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.primary-action {
    background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.primary-action:hover {
    background: linear-gradient(135deg, #00d4ff, var(--accent-blue));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

.secondary-action {
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.8), 
            rgba(248, 250, 252, 0.9));
    color: var(--text-primary);
    border-color: rgba(0, 123, 255, 0.3);
}

.secondary-action:hover {
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95), 
            rgba(248, 250, 252, 0.95));
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

/* Enhanced Phantom Slot Styling */
.phantom-slot {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1/1.2;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.35), 
            rgba(248, 250, 252, 0.15),
            rgba(255, 255, 255, 0.35));
    backdrop-filter: blur(8px);
    border: 2px dashed rgba(0, 123, 255, 0.25);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: var(--spacing-sm);
    
    /* Subtle encouragement pattern */
    background-image: 
        radial-gradient(circle at 50% 30%, rgba(0, 123, 255, 0.08) 30px, transparent 30px),
        radial-gradient(circle at 50% 70%, rgba(0, 212, 255, 0.05) 20px, transparent 20px);
}

.phantom-slot::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    background: 
        radial-gradient(circle at center, 
            rgba(0, 123, 255, 0.15) 2px, 
            transparent 2px);
    background-size: 25px 25px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.phantom-slot:hover {
    border-color: rgba(0, 123, 255, 0.5);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.5), 
            rgba(248, 250, 252, 0.25),
            rgba(255, 255, 255, 0.5));
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.phantom-slot:hover::before {
    opacity: 0.6;
}

/* Phantom slot icon */
.phantom-icon {
    font-size: 48px;
    color: rgba(0, 123, 255, 0.4);
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
}

.phantom-slot:hover .phantom-icon {
    color: rgba(0, 123, 255, 0.7);
    transform: scale(1.1);
}

/* Phantom slot text */
.phantom-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 123, 255, 0.6);
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.phantom-slot:hover .phantom-text {
    color: rgba(0, 123, 255, 0.8);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

/* Make sure real NFT cards have higher z-index than phantom slots */
.nft-card {
    z-index: 10;
}
 

/* Enhanced NFT Cards with Glassmorphism 2025 */
.nft-card { 
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.9) 0%,
            rgba(248, 250, 252, 0.8) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden; 
    width: 100%; 
    z-index: 10; /* PROMINENT: Always above phantom slots */
    /* HERO TREATMENT: Real NFTs get premium styling */
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.15),
        0 0 0 2px rgba(255, 255, 255, 0.8),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
     
    
    animation: nftCardSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    
    /* Grid Integration Glow */
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 123, 255, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.nft-card:nth-child(1) { animation-delay: 0.1s; }
.nft-card:nth-child(2) { animation-delay: 0.15s; }
.nft-card:nth-child(3) { animation-delay: 0.2s; }
.nft-card:nth-child(4) { animation-delay: 0.25s; }
.nft-card:nth-child(5) { animation-delay: 0.3s; }
.nft-card:nth-child(n+6) { animation-delay: 0.35s; }

@keyframes nftCardSlideIn { 
    from { 
        opacity: 0; 
        transform: translateY(15px) scale(0.98); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    } 
}

.nft-card:hover { 
    transform: translateY(-8px) scale(1.02);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.9) 50%,
            rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 
        0 12px 32px rgba(0, 123, 255, 0.15),
        0 0 0 1px rgba(0, 123, 255, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* Enhanced Grid Integration Borders */
.nft-card::before { 
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.1), 
        rgba(0, 212, 255, 0.05), 
        rgba(0, 123, 255, 0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nft-card:hover::before { 
    opacity: 1;
}

/* Grid Magnetism Effect for Selected Cards */
.nft-card.selected { 
    transform: translateY(-6px) scale(1.03);
    background: 
        linear-gradient(135deg, 
            rgba(0, 123, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.95) 50%,
            rgba(0, 123, 255, 0.05) 100%);
    border-color: var(--accent-blue);
    box-shadow: 
        0 0 0 2px var(--accent-blue),
        0 12px 32px rgba(0, 123, 255, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    z-index: 10;
}

.nft-card.selected::before { 
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.3), 
        rgba(0, 212, 255, 0.2), 
        rgba(0, 123, 255, 0.3));
}

/* Enhanced Image Handling */
.nft-card img { 
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.8), 
            rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nft-card:hover img { 
    transform: scale(1.02);
    border-color: rgba(0, 123, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.1);
}

/* Glassmorphism Icon Placeholders */
.nft-icon { 
    width: 100%;
    aspect-ratio: 1/1;
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.9), 
            rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: rgba(0, 123, 255, 0.6);
    font-size: 48px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nft-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 123, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
}

.nft-card:hover .nft-icon {
    background: 
        linear-gradient(135deg, 
            rgba(0, 123, 255, 0.05), 
            rgba(255, 255, 255, 0.9));
    color: rgba(0, 123, 255, 0.8);
    border-color: rgba(0, 123, 255, 0.2);
}

.nft-card:hover .nft-icon::before {
    left: 100%;
}

/* Enhanced NFT Info and Selection with Glassmorphism */
.nft-info { 
    text-align: left;
    position: relative;
    z-index: 2;
}

.nft-info h4 { 
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-primary), rgba(0, 123, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nft-card:hover .nft-info h4 {
    background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nft-info p { 
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-secondary);
    font-size: 14px; 
    transition: color 0.3s ease;
}

.nft-card:hover .nft-info p {
    color: var(--text-primary);
}

.nft-info small { 
    color: var(--text-muted);
    font-size: 12px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.8), 
            rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    padding: 6px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.nft-card:hover .nft-info small {
    background: 
        linear-gradient(135deg, 
            rgba(0, 123, 255, 0.05), 
            rgba(255, 255, 255, 0.95));
    color: rgba(0, 123, 255, 0.8);
    border-color: rgba(0, 123, 255, 0.2);
}

/* Enhanced Selection System with Glassmorphism */
.nft-select { 
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 3;
}

.nft-select input[type="radio"] { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.nft-select label { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--spacing-sm);
    text-align: center;
    color: var(--text-secondary);
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.6), 
            rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nft-select label::before { 
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 123, 255, 0.15), 
        transparent);
    transition: left 0.5s ease;
}

.nft-select input[type="radio"]:hover + label { 
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: 
        linear-gradient(135deg, 
            rgba(0, 123, 255, 0.05), 
            rgba(255, 255, 255, 0.9));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.nft-select input[type="radio"]:hover + label::before { 
    left: 100%;
}

.nft-select input[type="radio"]:checked + label { 
    background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
    border-color: var(--accent-blue);
    color: white;
    font-weight: 600;
    box-shadow: 
        0 4px 15px rgba(0, 123, 255, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    transform: translateY(-2px);
}

.nft-select input[type="radio"]:checked + label::before {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
}

/* Enhanced Signature and Verification Components */
.signature-message { 
    margin: var(--spacing-xl) 0;
    position: relative;
}

.message-box { 
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.9), 
            rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    max-height: 180px;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: all 0.3s ease;
}

.message-box::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), #00d4ff, var(--accent-blue));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    opacity: 0.8;
}

.message-box:hover {
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.95), 
            rgba(255, 255, 255, 0.9));
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 123, 255, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* Enhanced Verification Success with Glassmorphism */
.verification-success { 
    text-align: center;
    padding: var(--spacing-2xl);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.9) 0%,
            rgba(248, 250, 252, 0.8) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: var(--border-radius-lg);
    animation: successAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 
        0 8px 32px rgba(40, 167, 69, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    overflow: hidden;
}

.verification-success::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success-green), #20c997, var(--success-green));
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.verification-success::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at center, 
            rgba(40, 167, 69, 0.05) 0%, 
            transparent 50%);
    animation: successGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes successGlow {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes successAppear { 
    from { 
        opacity: 0;
        transform: scale(0.98) translateY(10px);
    } 
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    } 
}

.verification-success i { 
    font-size: 64px;
    color: var(--success-green);
    margin-bottom: var(--spacing-lg);
    animation: successIcon 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(40, 167, 69, 0.3));
    position: relative;
    z-index: 2;
}

@keyframes successIcon { 
    0% { 
        transform: scale(0.5) rotate(-180deg);
        opacity: 0;
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    } 
}

.success-content h3 { color:#3bdf41; margin-bottom:var(--spacing-md); font-size:24px; font-weight:600; letter-spacing:-0.025em; }
.success-content p { color:white; line-height:1.6; font-size:16px; }

/* Enhanced Verified NFT Display */
.verified-nft-display { 
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.8), 
            rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.verified-nft-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(40, 167, 69, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.verified-nft-display:hover { 
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.9), 
            rgba(255, 255, 255, 0.95));
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(40, 167, 69, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(40, 167, 69, 0.3);
}

.verified-nft-display:hover::before {
    left: 100%;
}

.verified-nft-display img { 
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.verified-nft-display:hover img { 
    transform: scale(1.05) rotate(2deg);
    border-color: rgba(40, 167, 69, 0.3);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.2);
}

/* Enhanced NFT Details */
.nft-details { 
    text-align: left;
    flex: 1;
    position: relative;
    z-index: 2;
}

.nft-details h4 { 
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 var(--spacing-xs) 0;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--text-primary), rgba(40, 167, 69, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nft-details p { 
    color: var(--text-secondary);
    font-size: 14px;
    margin: 4px 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.verified-nft-display:hover .nft-details p {
    color: var(--text-primary);
}

.nft-details p:last-child { 
    color: var(--success-green);
    font-weight: 600;
    margin-top: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: 
        linear-gradient(135deg, 
            rgba(40, 167, 69, 0.1), 
            rgba(32, 201, 151, 0.05));
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    backdrop-filter: blur(10px);
}

/* Enhanced Verified State with Glassmorphism */
#nft-verified-state { 
    animation: verifiedStateSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Nielsen-Compliant Verified Header - Minimal & Scannable */
.verified-header-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(40, 167, 69, 0.15);
    background: 
        linear-gradient(135deg, 
            rgba(40, 167, 69, 0.03) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(40, 167, 69, 0.03) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.verified-header-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--success-green) 20%, #00BCD4 50%, var(--success-green) 80%, transparent 100%);
    opacity: 0.8;
}

.verified-status-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 16px;
    font-weight: 600;
    color: var(--success-green);
    background: linear-gradient(135deg, var(--success-green), #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.verified-status-badge i {
    font-size: 18px;
    color: var(--success-green);
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
    animation: verifiedPulse 2s ease-in-out infinite;
}

@keyframes verifiedPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 4px 8px rgba(40, 167, 69, 0.5));
    }
}

.btn-add-more {
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.8), 
            rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(10px);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    position: relative;
    overflow: hidden;
}

.btn-add-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-add-more:hover {
    background: 
        linear-gradient(135deg, 
            rgba(0, 123, 255, 0.05), 
            rgba(255, 255, 255, 0.95));
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
    color: var(--accent-hover);
}

.btn-add-more:hover::before {
    left: 100%;
}

/* Enhanced Error States */
.nft-panel .error-state { 
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.9) 0%,
            rgba(248, 250, 252, 0.8) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    margin: var(--spacing-lg) 0;
    text-align: center;
    box-shadow: 
        0 8px 24px rgba(220, 53, 69, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    position: relative;
    overflow: hidden;
}

.nft-panel .error-state::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--error-red), #fd7e14, var(--error-red));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.nft-panel .error-state .error-title { 
    color: var(--error-red);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--error-red), #fd7e14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nft-panel .error-state p { color:var(--text-secondary); line-height:1.6; margin-bottom:var(--spacing-lg);} 
.nft-panel .error-state .error-actions { display:flex; justify-content:center; gap:var(--spacing-md);} 

.nft-panel .retry-button { 
    background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 123, 255, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.nft-panel .retry-button:hover { 
    background: linear-gradient(135deg, #00d4ff, var(--accent-blue));
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(0, 123, 255, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

/* Enhanced Wallet Selector Modal with Glassmorphism */
.wallet-selector-modal { 
    position: fixed;
    inset: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-selector-modal.wallet-selector-visible { 
    opacity: 1;
    visibility: visible;
}

.wallet-selector-overlay { 
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 50%, 
            rgba(0, 0, 0, 0.4) 0%, 
            rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.wallet-selector-content { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.9) 50%,
            rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    max-width: 480px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-selector-modal.wallet-selector-visible .wallet-selector-content { 
    transform: translate(-50%, -50%) scale(1);
}

.wallet-selector-header { 
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.1), 
            rgba(248, 250, 252, 0.05));
}

.wallet-selector-header h3 { margin:0 0 8px; font-size:20px; font-weight:600; color:#2c3e50;} 
.wallet-selector-header p { margin:0; color:#6c757d; font-size:14px; line-height:1.5;} 
.close-selector { position:absolute; top:24px; right:24px; background:none; border:none; width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#6c757d; cursor:pointer; transition:all 0.2s;} 
.close-selector:hover { background:#f8f9fa; color:#2c3e50;} 
.wallet-options { padding:8px;} 

.wallet-option { 
    width: 100%;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.6), 
            rgba(248, 250, 252, 0.4));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.wallet-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 123, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.wallet-option:hover { 
    border-color: rgba(0, 123, 255, 0.4);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.8), 
            rgba(248, 250, 252, 0.6));
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(0, 123, 255, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.wallet-option:hover::before {
    left: 100%;
}

.wallet-option:last-child { margin-bottom:0;} 

.wallet-option-icon { 
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: 
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.9), 
            rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-blue);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.wallet-option:hover .wallet-option-icon {
    background: 
        linear-gradient(135deg, 
            rgba(0, 123, 255, 0.1), 
            rgba(255, 255, 255, 0.9));
    color: var(--accent-blue);
    border-color: rgba(0, 123, 255, 0.3);
    transform: scale(1.05);
}

.wallet-option-info { flex:1;} 
.wallet-option-info h4 { margin:0 0 4px; font-size:16px; font-weight:600; color:#2c3e50;} 
.wallet-option-info p { margin:0; font-size:14px; color:#6c757d; line-height:1.4;} 
.wallet-option-arrow { color:#6c757d; font-size:14px; flex-shrink:0; transition:transform 0.2s;} 
.wallet-option:hover .wallet-option-arrow { transform:translateX(4px); color:#007bff;} 
.wallet-selector-footer { padding:16px 24px 24px; border-top:1px solid #e9ecef; background:#f8f9fa;} 
.wallet-selector-footer p { margin:0; font-size:13px; color:#6c757d; display:flex; align-items:center; gap:8px; line-height:1.4;} 
.wallet-selector-footer i { color:#007bff; flex-shrink:0;} 
.switch-wallet-btn { background:#f8f9fa; border:1px solid #e9ecef; border-radius:6px; padding:6px 12px; font-size:12px; color:#6c757d; cursor:pointer; transition:all 0.2s; margin-top:8px; display:flex; align-items:center; gap:4px; font-weight:500;} 
.switch-wallet-btn:hover { background:#e9ecef; color:#495057; border-color:#adb5bd; transform:translateY(-1px);} 
.switch-wallet-btn i { font-size:10px;}

/* =======================================================================================================
LP PANEL - LIQUIDITY POSITION STYLING
======================================================================================================= */

.lp-panel {
    background: var(--primary-white);
    border: 1px solid var(--panel-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lp-panel:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.lp-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 20%, #00d4ff 50%, var(--accent-blue) 80%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lp-panel:hover::before {
    opacity: 1;
}

/* LP Content Area */
#lp-content {
    transition: all 0.4s ease;
}

.lp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
    font-weight: 500;
    gap: var(--spacing-sm);
}

.lp-loading span {
    color: var(--text-secondary);
}

/* LP Details Layout */
.lp-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    animation: lpFadeIn 0.5s ease-out;
}

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

/* LP Value Display */
.lp-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--soft-gray), rgba(255,255,255,0.8));
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.lp-value:hover {
    background: linear-gradient(135deg, var(--border-light), rgba(255,255,255,0.9));
    border-color: rgba(0,123,255,0.2);
    transform: translateY(-1px);
}

.lp-label {
    font-size: 14px;
    color: var(--lp-label-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lp-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Inter', monospace;
    letter-spacing: -0.5px;
}

/* Token Breakdown Grid */
.token-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.token-item {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.token-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: rgba(0,123,255,0.2);
}

.token-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.token-item:hover::before {
    opacity: 1;
}

/* Token Icons */
.token-item .token-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
}

.token-icon.token-synth {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.token-icon.token-lov {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.token-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.token-item:hover .token-icon::after {
    opacity: 1;
}

/* Token Information */
.token-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.token-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', monospace;
    letter-spacing: -0.25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.token-symbol {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Token Status Indicators */
.token-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.token-status.qualified {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white; 
    transform: scale(1.1);  /* Make it slightly bigger */
    margin-bottom: 30px;
    margin-left: -5px;
}

.token-status.need-more {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white; 
}

/* Companion Status */
.companion-status {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.companion-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.companion-status:hover::before {
    left: 100%;
}

.status-qualified {
    background: linear-gradient(135deg, rgba(40,167,69,0.1), rgba(32,201,151,0.1));
    border: 2px solid rgba(40,167,69,0.3);
    color: var(--success-green);
}

.status-need-more {
    background: linear-gradient(135deg, rgba(255,193,7,0.1), rgba(253,126,20,0.1));
    border: 2px solid rgba(255,193,7,0.3);
    color: var(--warning-orange);
}

.status-icon {
    font-size: 20px;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.status-text {
    font-size: 14px;
    letter-spacing: 0.8px;
}

/* Requirements Display */
.requirements {
    text-align: center;
    padding: var(--spacing-sm);
    background: rgba(255,193,7,0.05);
    border: 1px solid rgba(255,193,7,0.2);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-sm);
}

.requirements small {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}



/* GAMIFICATION */
/* Room Backgrounds */
/* =======================================================================================================
ROOM SYSTEM - KOJIMA-STYLE TRANSITIONS
======================================================================================================= */

 

/* Base Main Content - Enhanced for Room Transitions */
.main-content {
    padding:  0;
    margin: -1px;
    min-height: calc(100vh); 
    transition: opacity 0.8s ease-in-out;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    border: 1px solid transparent;
}

/* Room Backgrounds */
.main-content.room-reception {
    background-image: url(synth-art/synth-entrance.jpg);
}

.main-content.room-verification {
    background-image: url(synth-art/verification-office.jpg);
}

.main-content.room-command {
    background-image: url(synth-art/command-center.jpg);
}

.main-content.room-gallery {
    background-image: url(synth-art/nft-gallery.jpg);
}

/* Dorothy Character Sprites */
#character {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;  
       min-height: 100vh;
    width: 70vw;
    position: absolute;
    top:0;
    z-index: 1;
    transition: all 0.8s ease-in-out; 
}

/* Dorothy States */
#character.dorothy-receptionist {
    background-image: url(synth-art/dorothy-entrance.png);
    left: 30vw; 
    top: 2vw; 
}

#character.dorothy-administrator {
    background-image: url(synth-art/dorothy-desk.png);
    left: 46%;
    top: 5%; 
         
}

#character.dorothy-coordinator {
    background-image: url(synth-art/dorothy-lab.png);
    left: 40%;
    top: 20%;
    width: 22vw; /* Larger in command center */
display: none;
}

#character.dorothy-curator {
    background-image: url(synth-art/dorothy-gallery.png);
    left: 55%;
    top: 18%;
    width: 19vw;
}

/* Kojima-Style Fade Transition */
.fade-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

.fade-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* Room-Specific Adjustments */
.room-verification .telegram-panel { 
}

.room-command .dashboard-container {
    /* Command center styling enhancements */
    background: rgba(255, 255, 255, 0.02);
}

.room-gallery .nft-panel {
    /* Gallery-specific NFT panel styling */
    border: 1px solid rgba(255, 255, 255, 0.15);
}


.nft-attributes-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0.3vw; 
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nft-attribute {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nft-attribute:last-child {
  border-bottom: none;
}

.attribute-type {
  font-size: 0.85rem;
  color: #adb5bd;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.attribute-value {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
  text-align: right;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nft-description {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.nft-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.nft-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.nft-info h4 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.price-unavailable {
    color: var(--warning-orange);
    font-size: 0.9em;
}

.price-notice {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(230, 126, 34, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(230, 126, 34, 0.2);
}

.price-notice small {
    color: var(--warning-text);
    display: block;
}

.position-details {
    margin-top: 1rem;
    padding: 0.5rem;
    background: var(--position-bg);
    border-radius: 4px;
}

.position-details summary {
    cursor: pointer;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.position-list {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--position-border);
}

.position-item {
    margin-bottom: 0.5rem;
    font-size: 0.8em;
    color: var(--position-text);
}

/* Collection Gallery Enhancement Styles v1.1 - Add to lab.css */
/* Collection Gallery Enhancement Styles v1.1 - Add to lab.css */

/* Collection Stats Header */
.collection-stats {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 252, 0.8) 50%,
    rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 16px;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.stats-header h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Progress Bar */
.progress-bar {
  position: relative;
  width: 100%;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  border: 2px solid rgba(0, 123, 255, 0.2);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, 
    var(--accent-blue) 0%, 
    #00d4ff 50%, 
    #32cd32 100%);
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  z-index: 2;
}

/* Stats Actions */
.stats-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.collection-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 12px 20px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9), 
    rgba(248, 250, 252, 0.8));
  border: 2px solid rgba(0, 123, 255, 0.3);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.collection-view-toggle:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95), 
    rgba(248, 250, 252, 0.9));
  border-color: rgba(0, 123, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

/* Collection Controls */
.collection-controls {
  padding: var(--spacing-md);
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(0, 123, 255, 0.1);
}

/* Owned vs Unowned Card States */
.collection-card-owned {
  position: relative;
  transform: none;
  filter: none;
  cursor: pointer;
  border: 2px solid rgba(40, 167, 69, 0.3);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.85) 50%,
    rgba(255, 255, 255, 0.95) 100%);
}

.collection-card-owned:hover {
  border-color: rgba(40, 167, 69, 0.6);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
  transform: translateY(-4px);
}

.collection-card-unowned {
  position: relative;
  cursor: pointer;
  border: 2px solid rgba(108, 117, 125, 0.3);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.85) 50%,
    rgba(255, 255, 255, 0.95) 100%);
  transition: all 0.3s ease;
}

.collection-card-unowned:hover {
  border-color: rgba(108, 117, 125, 0.5);
  transform: translateY(-2px);
}

/* Image Container */
.card-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px; 
}


/* Card Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.token-id {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

/* Acquisition Hint */
.acquisition-hint {
  flex-shrink: 0;
}

.acquire-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(0, 123, 255, 0.1);
  color: var(--accent-blue);
  text-decoration: none;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 123, 255, 0.2);
}

.acquire-link:hover {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.4);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--accent-blue);
}

/* Enhanced NFT Card Selection for Collection View */
.collection-card-owned.selected {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3), 
              0 8px 25px rgba(0, 123, 255, 0.2);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 1) 0%,
    rgba(240, 248, 255, 0.9) 50%,
    rgba(255, 255, 255, 1) 100%);
}

/* Grid Layout Adjustments for Full Collection */
#verified-nft-grid:has(.collection-card-owned, .collection-card-unowned) {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
  max-height: 70vh;
  overflow-y: auto;
  padding: var(--spacing-sm);
}

/* Custom Scrollbar for Collection Grid */
#verified-nft-grid::-webkit-scrollbar {
  width: 8px;
}

#verified-nft-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

#verified-nft-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
  border-radius: 4px;
}

#verified-nft-grid::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #00d4ff, var(--accent-blue));
}

/* Loading State for Full Collection */
.loading-nfts:has-text("complete collection") {
  background: linear-gradient(135deg, 
    rgba(0, 123, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(0, 123, 255, 0.1) 100%);
}

/* Responsive Design for Collection View */
@media (max-width: 768px) {
  #verified-nft-grid:has(.collection-card-owned, .collection-card-unowned) {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    max-height: 60vh;
  }
  
  .stats-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .collection-view-toggle {
    width: 100%;
    max-width: 280px;
  }
} 

/* Highlight owned cards with golden glow */
.collection-card-owned {
  border: 2px solid #ffd700 !important;
  box-shadow: 0 0 15px #2196F3, 
              0 4px 15px #03A9F4 !important;
  position: relative;
    
}

.collection-card-owned::before { 
    
}

.collection-card-owned:hover {
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6), 
              0 8px 25px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-4px) !important;
}

/* Subtle animation for owned cards */
.collection-card-owned {
  animation: ownedPulse 3s ease-in-out infinite;
}

@keyframes ownedPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 4px 15px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 4px 15px rgba(0, 0, 0, 0.1); }
}

/* Smooth image transitions */
.card-image-container {
  position: relative;
margin:0;
    padding: 0;
}
.card-image-container img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer; 
    margin:0;
    padding: 0;
}

/* Enlarged state */
.card-image-container img.enlarged {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 1000;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  cursor: zoom-out !important;
}

/* Backdrop blur when enlarged */
.card-image-container:has(img.enlarged)::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(255 255 255 / 80%);
  backdrop-filter: blur(10px);
  z-index: 999;
}

/* Spinner overlay */
.card-image-container .loader {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  margin-left: -24px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  z-index: 1001;
  animation: spin 1s linear infinite;
}

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


/* =======================================================================================================
TELEGRAM USERNAME CONFIRMATION SECTION
======================================================================================================= */

.username-confirmation-enhanced {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(14, 87, 97, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.confirmation-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.confirmation-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.confirmation-main i {
    color: #28a745;
    font-size: 20px;
    min-width: 20px;
}

.confirmation-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.confirmation-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.confirmed-username {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.username-change-warning {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.change-username-details {
    margin: 0;
}

.change-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    cursor: pointer;
    background: rgba(220, 53, 69, 0.15);
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #ff6b6b;
    transition: all 0.3s ease;
    list-style: none;
    user-select: none;
}

.change-summary::-webkit-details-marker {
    display: none;
}

.change-summary::before {
    content: '▶';
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #ff6b6b;
}

.change-username-details[open] .change-summary::before {
    transform: rotate(90deg);
}

.change-summary:hover {
    background: rgba(220, 53, 69, 0.2);
    color: #fff;
}

.change-summary i {
    color: #ff6b6b;
    font-size: 16px;
}

.change-warning-content {
    padding: 16px;
    background: rgba(220, 53, 69, 0.05);
    border-top: 1px solid rgba(220, 53, 69, 0.2);
}

.change-warning-content p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.change-warning-content strong {
    color: #ff6b6b;
    font-weight: 700;
}

.btn-restart-process {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: 1px solid #dc3545;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-restart-process:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-restart-process i {
    font-size: 14px;
}

