
#payment-overlay-root{
  position: absolute;
  top: 90px;
  left: 20px;
  right: 10px;
  bottom: 90px;
  z-index: 99999;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0px;
  overflow-y: auto;
  
  height: calc(100vh - 160px);  
  
}


.payment-overlay-card{
  background: radial-gradient(circle at top, #0a1a33, #020814);
  border: 1px solid #00f6ff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 0 35px rgba(0,246,255,0.35);
}

.payment-overlay-card h3{
  color: #00f6ff;
  text-align: center;
  margin-bottom: 18px;
}

/* Hologram button */
.holo-button{
  position: relative;
  margin-bottom: 18px;
  padding-top: 30px;
}

.holo-balance{
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  font-size: 14px;
  color: #00f6ff;
  background: rgba(0,246,255,0.15);
  border: 1px solid #00f6ff;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(0,246,255,0.8);
  text-shadow: 0 0 10px rgba(0,246,255,1);
}

.holo-button button{
  width: 100%;
  padding: 14px;
  background: linear-gradient(145deg, #050d1c, #0b2a44);
  color: #ffffff;
  border: 1px solid #00f6ff;
  border-radius: 18px;
  cursor: pointer;
  font-size: 14px;
}

.holo-button button:hover{
  background: #00f6ff;
  color: #000;
  box-shadow: 0 0 25px rgba(0,246,255,1);
}


/* ==== TITLE STYLES ==== */
.usd{
  color:#4cff4c;
  text-shadow:0 0 10px rgba(76,255,76,0.8);
}






/* ==== UNIFIED CURRENCY STYLES ==== */


.usd{
  color:#4cff4c;
  font-weight:700;
  letter-spacing:1px;
  text-shadow:0 0 14px rgba(76,255,76,0.9),
              0 0 28px rgba(76,255,76,0.7);
}


/* UPDATED UNIPAY STYLE (PAYMENTS SECTIONS) */
.unipay{
  color:#ff2dfd;
  font-weight:700;
  letter-spacing:1px;
  text-shadow:
    0 0 10px rgba(255,45,253,1),
    0 0 22px rgba(255,45,253,0.9),
    0 0 40px rgba(255,45,253,0.7);
}



.payment-overlay-card{
  max-height: 100%/0.8;
  overflow: hidden;
}

/* Ensure buttons fit vertically */
.payment-overlay-card .holo-button{
  margin-bottom: 14px;
}

/* === SIDEBAR FORCE OVERLAY & FUNCTIONAL PARITY === */
#payment-sidebar-overlay{
  position: fixed !important;
  top: 70px;
  left: 0;
  bottom: 70px;
  width: 200px;
  z-index: 400000;
  isolation: isolate;
  pointer-events: auto;
}



/* NOTE : fichier conservé, aucune suppression */


/* === CONVERSATION HEADER STRUCTURE (INJECTED – DO NOT REMOVE) === */
.conversation-header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.conversation-header-center {
  display: flex;
  justify-content: center;
}

.conversation-count {
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(0, 180, 255, 0.18);
  color: #00eaff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.35);
}

.conversation-header {
  overflow: visible;
  z-index: 2;
}


/* === SIDEBAR PANELS CORE (PHASE 2) === */
.sidebar-panel {
  position: fixed;
  top: 0;
  left: 72px;
  width: calc(100% - 72px);
  height: 100vh;
  z-index: 200;
}
.sidebar-panel-active { display: block !important; }

/* === PAYMENTS OPERATIONAL LAYOUT STABILIZER === */
#payment-overlay-root.variables-wrapper{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2 !important;
  width: min(1180px, calc(100% - 32px)) !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: clamp(16px, 3vw, 32px) auto !important;
  overflow: visible !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
}

#payment-overlay-root .payment-overlay-card{
  min-width: 0;
  max-height: none;
  overflow: visible;
  border-radius: 8px;
}

#payment-overlay-root .holo-button button{
  min-height: 48px;
  overflow-wrap: anywhere;
}

#payment-overlay-root .holo-balance{
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px){
  #payment-overlay-root.variables-wrapper{
    width: min(100% - 20px, 520px) !important;
    grid-template-columns: 1fr !important;
  }
}
