/* ==========================================================================
   Televenta Gold Glass Design System
   Exact reproduction of gold-glass-style-kit
   ========================================================================== */

@property --inner-laser-angle { syntax:'<angle>'; inherits:true; initial-value:0deg; }
@keyframes reference-inner-trace { from { --inner-laser-angle:0deg; } to { --inner-laser-angle:360deg; } }
@property --laser-angle { syntax:'<angle>'; inherits:false; initial-value:0deg; }
@keyframes reference-laser-trace { from { --laser-angle:0deg; } to { --laser-angle:360deg; } }

.reference-page {
  background: transparent;
  width: 100%;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #e7e5ea;
  font-family: Arial, Helvetica, sans-serif;
}

body:has(#modalAuth:not(.hidden)) > header,
body:has(#modalAuth:not(.hidden)) > div.flex-1 {
  opacity: 0;
  pointer-events: none;
}

.reference-size {
  position: relative;
  flex: none;
  width: calc(576px * var(--u, 1.25));
  height: calc(400px * var(--u, 1.25));
  --u: 1.25;
}

.reference-laser-sweep,
.reference-input::before,
.reference-social button::before,
.reference-primary::before,
.gold-btn-danger::before {
  --laser-duration: 7.2s;
  --laser-delay: -0.8s;
  background: conic-gradient(
    from var(--laser-angle) at var(--laser-origin, 50% 50%),
    transparent 0deg,
    transparent 324deg,
    rgba(255, 255, 255, 0.10) 325deg,
    rgba(255, 255, 255, 0.32) 334deg,
    rgba(255, 255, 255, 0.94) 335deg,
    rgba(255, 239, 174, 0.55) 341deg,
    rgba(255, 255, 255, 0.176) 349deg,
    transparent 350deg,
    transparent 360deg
  );
  animation: reference-laser-trace var(--laser-duration) linear var(--laser-delay) infinite;
  pointer-events: none;
}

.reference-laser-sweep {
  width: 100%;
  height: 100%;
}

.reference-input,
.reference-social button,
.reference-primary,
.gold-btn-danger {
  position: relative;
  isolation: isolate;
}

.reference-input::before,
.reference-social button::before,
.reference-primary::before,
.gold-btn-danger::before {
  /* Stretch every gradient interval 3x, keeping the leading end at 350deg */
  background: conic-gradient(
    from calc(var(--inner-laser-angle) + var(--laser-phase, 0deg)),
    transparent 0deg,
    transparent 272deg,
    rgba(255, 255, 255, 0.10) 275deg,
    rgba(255, 255, 255, 0.32) 302deg,
    rgba(255, 255, 255, 0.94) 305deg,
    rgba(255, 239, 174, 0.55) 323deg,
    rgba(255, 255, 255, 0.176) 347deg,
    transparent 350deg,
    transparent 360deg
  );
  animation: none;
  content: '';
  position: absolute;
  inset: calc(-1px * var(--u, 1));
  padding: calc(0.7px * var(--u, 1));
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 calc(1.8px * var(--u, 1)) #ffffff6b) drop-shadow(0 0 calc(4.3px * var(--u, 1)) #ffe8a21f);
}

/* Phase assignments */
.gold-phase-0::before { --laser-phase: 0deg; }
.gold-phase-45::before { --laser-phase: 45deg; }
.gold-phase-90::before { --laser-phase: 90deg; }
.gold-phase-135::before { --laser-phase: 135deg; }
.gold-phase-180::before { --laser-phase: 180deg; }
.gold-phase-225::before { --laser-phase: 225deg; }
.gold-phase-270::before { --laser-phase: 270deg; }

/* Keep sweep origin strictly inside each corner triangle */
.reference-laser-sweep.piece-top {
  --laser-origin: 35% 35%;
  --laser-duration: 6.41s;
  --laser-delay: -0.49s;
}

.reference-laser-sweep.piece-bottom {
  --laser-origin: 65% 65%;
  --laser-duration: 9.33s;
  --laser-delay: -2.8s;
}

.reference-scene {
  animation: reference-inner-trace 72s linear -8s infinite;
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}

.reference-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  background: transparent;
}

.reference-backdrop {
  position: absolute;
  left: calc(120px * var(--u, 1));
  top: calc(40px * var(--u, 1));
  width: calc(346px * var(--u, 1));
  height: calc(323px * var(--u, 1));
  clip-path: url(#glass-mask);
  backdrop-filter: blur(calc(1.2px * var(--u, 1)));
  -webkit-backdrop-filter: blur(calc(1.2px * var(--u, 1)));
}

#modalAuth .reference-backdrop { clip-path: url(#auth-glass-mask); }
#callGlassOverlay .reference-backdrop { clip-path: url(#call-glass-mask); }
#incomingCallOverlay .reference-backdrop { clip-path: url(#inc-glass-mask); }
#modalQrView .reference-backdrop { clip-path: url(#qr-glass-mask); }
#modalAddAccount .reference-backdrop { clip-path: url(#account-glass-mask); }
#modalSipCredentials .reference-backdrop { clip-path: url(#sip-glass-mask); }

.reference-glass,
.reference-pieces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.reference-glass { z-index: 1; }
.reference-pieces { z-index: 5; }

.reference-card {
  position: absolute;
  left: calc(120px * var(--u, 1));
  top: calc(40px * var(--u, 1));
  width: calc(346px * var(--u, 1));
  height: calc(323px * var(--u, 1));
  z-index: 3;
  opacity: 1;
  transition: opacity 130ms ease;
  box-sizing: border-box;
}

.reference-heading {
  position: absolute;
  top: calc(23px * var(--u, 1));
  left: calc(48px * var(--u, 1));
  right: calc(48px * var(--u, 1));
}

.reference-heading h1 {
  margin: 0;
  color: #f4f3f5;
  font-size: calc(18.5px * var(--u, 1));
  line-height: calc(22px * var(--u, 1));
  letter-spacing: calc(-0.4px * var(--u, 1));
  font-weight: 700;
}

.reference-heading em {
  font-style: normal;
  color: #f4d922;
}

.reference-heading p {
  margin: calc(1px * var(--u, 1)) 0 0;
  font-size: calc(8px * var(--u, 1));
  line-height: calc(11px * var(--u, 1));
  color: #99969e;
}

.reference-form {
  position: absolute;
  top: calc(61px * var(--u, 1));
  left: calc(26px * var(--u, 1));
  width: calc(294px * var(--u, 1));
  margin: 0;
  font-size: calc(8px * var(--u, 1));
}

.reference-card.signup .reference-form {
  top: calc(58px * var(--u, 1));
  left: calc(26px * var(--u, 1));
  width: calc(294px * var(--u, 1));
}

.reference-card.signup .reference-heading {
  top: calc(20px * var(--u, 1));
  left: calc(48px * var(--u, 1));
}

.reference-card.signup .reference-fields {
  gap: calc(5px * var(--u, 1));
}

.reference-fields {
  display: flex;
  flex-direction: column;
  gap: calc(7px * var(--u, 1));
}

.reference-field { min-width: 0; }

.reference-field label {
  display: block;
  height: calc(14px * var(--u, 1));
  color: #b7b2bb;
  line-height: calc(11px * var(--u, 1));
  font-size: calc(8px * var(--u, 1));
}

.reference-input {
  width: 100%;
  height: calc(26px * var(--u, 1));
  border: calc(1px * var(--u, 1)) solid rgba(172, 163, 176, 0.10);
  background: rgba(116, 101, 117, 0.09);
  border-radius: calc(6px * var(--u, 1));
  display: flex;
  align-items: center;
  gap: calc(5px * var(--u, 1));
  padding: 0 calc(8px * var(--u, 1));
  color: #79757f;
  transition: border-color 130ms, box-shadow 130ms;
}

.reference-input:focus-within {
  border-color: rgba(242, 215, 34, 0.65);
  box-shadow: 0 0 calc(7px * var(--u, 1)) #e7cd221c;
}

.reference-input input,
.reference-input select {
  min-width: 0;
  flex: 1;
  height: 100%;
  color: #c4bfc8;
  background: none;
  border: 0;
  outline: none;
  padding: 0;
  font: calc(8px * var(--u, 1)) Arial, Helvetica, sans-serif;
}

.reference-input select option {
  background: #19171f;
  color: #e7e5ea;
}

.reference-input input::placeholder {
  color: #77727c;
  opacity: 0.8;
}

.reference-eye {
  flex: none;
  display: flex;
  align-items: center;
  border: 0;
  background: none;
  padding: calc(2px * var(--u, 1));
  color: #88838d;
  cursor: pointer;
}

.reference-passwords {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(7px * var(--u, 1));
}

.reference-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(17px * var(--u, 1));
  margin-top: calc(4px * var(--u, 1));
  font-size: calc(8px * var(--u, 1));
  color: #aaa6b0;
}

.reference-options label {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(4px * var(--u, 1));
  cursor: pointer;
}

.reference-options input {
  position: absolute;
  opacity: 0;
  width: calc(10px * var(--u, 1));
  height: calc(10px * var(--u, 1));
  left: 0;
  margin: 0;
}

.reference-check {
  width: calc(9px * var(--u, 1));
  height: calc(9px * var(--u, 1));
  border: calc(1px * var(--u, 1)) solid #65606e;
  border-radius: calc(2px * var(--u, 1));
  display: grid;
  place-items: center;
  color: transparent;
}

.reference-options input:checked + .reference-check {
  background: #f3d721;
  border-color: #f3d721;
  color: #292219;
}

.reference-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(4px * var(--u, 1));
  width: 100%;
  height: calc(27px * var(--u, 1));
  margin-top: calc(4px * var(--u, 1));
  border: calc(1px * var(--u, 1)) solid #fae767;
  border-radius: calc(6px * var(--u, 1));
  background: linear-gradient(#ffee48 0%, #ffd009 100%);
  color: #2a240b;
  box-shadow: 0 calc(5px * var(--u, 1)) calc(12px * var(--u, 1)) #ebba0f47;
  font: 700 calc(9px * var(--u, 1)) Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: filter 120ms;
}

.reference-primary:hover { filter: brightness(1.04); }
.reference-primary:active { filter: brightness(0.94); }

.reference-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(24px * var(--u, 1));
  color: #78727b;
  font-size: calc(6.5px * var(--u, 1));
  position: relative;
}

.reference-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: calc(1px * var(--u, 1));
  background: linear-gradient(90deg, transparent, #b3a79b12, transparent);
}

.reference-divider span { position: relative; }

.reference-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(7px * var(--u, 1));
}

.reference-social button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(4px * var(--u, 1));
  height: calc(23px * var(--u, 1));
  border-radius: calc(6px * var(--u, 1));
  border: calc(1px * var(--u, 1)) solid #c7b9ce14;
  background: #ad92b20b;
  color: #c4beca;
  font: calc(8px * var(--u, 1)) Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 120ms;
}

.reference-social button:hover { background: #ad92b21b; }

.reference-footer {
  margin: calc(7px * var(--u, 1)) 0 0;
  color: #8e8794;
  text-align: center;
  font-size: calc(8px * var(--u, 1));
  line-height: calc(12px * var(--u, 1));
}

.reference-footer button {
  background: none;
  padding: 0;
  border: 0;
  color: #ddc344;
  cursor: pointer;
  font: inherit;
}

.reference-footer button:hover { color: #ffdf38; }

/* Interactive Click Light Corona */
.reference-light-clip {
  position: absolute;
  left: calc(120px * var(--u, 1));
  top: calc(40px * var(--u, 1));
  width: calc(346px * var(--u, 1));
  height: calc(323px * var(--u, 1));
  z-index: 4;
  pointer-events: none;
  clip-path: url(#glass-mask);
}

#modalAuth .reference-light-clip { clip-path: url(#auth-glass-mask); }
#callGlassOverlay .reference-light-clip { clip-path: url(#call-glass-mask); }
#incomingCallOverlay .reference-light-clip { clip-path: url(#inc-glass-mask); }

.reference-light {
  position: absolute;
  width: calc(576px * var(--u, 1));
  height: calc(400px * var(--u, 1));
  top: calc(-40px * var(--u, 1));
  left: calc(-120px * var(--u, 1));
  --light-opacity: 0;
  opacity: var(--light-opacity);
  transition: opacity 180ms ease;
}

.reference-light i {
  position: absolute;
  left: var(--light-x, 0%);
  top: var(--light-y, 0%);
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.reference-light .bloom {
  width: calc(120px * var(--u, 1));
  height: calc(120px * var(--u, 1));
  background: radial-gradient(circle, #f4d51858, #d4aa181c 40%, transparent 70%);
  filter: blur(calc(8px * var(--u, 1)));
}

.reference-light .ring {
  width: calc(76px * var(--u, 1));
  height: calc(76px * var(--u, 1));
  border: calc(1px * var(--u, 1)) solid #e6dc5477;
  box-shadow: 0 0 calc(3px * var(--u, 1)) #ffe45566, inset 0 0 calc(3px * var(--u, 1)) #ffe45544;
  filter: blur(calc(0.5px * var(--u, 1)));
}

.reference-light .corona {
  width: calc(35px * var(--u, 1));
  height: calc(35px * var(--u, 1));
  background: radial-gradient(circle, #fff44dda, #f8d523aa 50%, transparent 75%);
  filter: blur(calc(4px * var(--u, 1)));
}

.reference-light .core {
  width: calc(19px * var(--u, 1));
  height: calc(19px * var(--u, 1));
  background: radial-gradient(circle, #fffef4, #fff88f 50%, #ffdc23 85%);
  filter: blur(calc(2.5px * var(--u, 1)));
  box-shadow: 0 0 calc(8px * var(--u, 1)) #fff38288;
}

/* Call Overlay Specific Styling inside reference-card */
.call-card-layout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(22px * var(--u, 1)) calc(24px * var(--u, 1));
  text-align: center;
  box-sizing: border-box;
}

.call-avatar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
}

.call-avatar-disc {
  width: calc(72px * var(--u, 1));
  height: calc(72px * var(--u, 1));
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(70, 65, 75, 0.75), rgba(21, 18, 25, 0.9));
  border: calc(1.5px * var(--u, 1)) solid #fae767;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(24px * var(--u, 1));
  color: #f4d922;
  box-shadow: 0 0 calc(16px * var(--u, 1)) rgba(244, 217, 34, 0.25);
  position: relative;
  z-index: 2;
}

.call-pulse-ring {
  position: absolute;
  width: calc(100px * var(--u, 1));
  height: calc(100px * var(--u, 1));
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 217, 34, 0.22) 0%, transparent 70%);
  animation: pulseRecord 1.8s infinite;
  pointer-events: none;
}

.gold-btn-danger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(4px * var(--u, 1));
  height: calc(27px * var(--u, 1));
  padding: 0 calc(16px * var(--u, 1));
  border-radius: calc(14px * var(--u, 1));
  border: calc(1px * var(--u, 1)) solid rgba(255, 90, 90, 0.45);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(153, 27, 27, 0.95) 100%);
  color: #ffffff;
  box-shadow: 0 calc(4px * var(--u, 1)) calc(14px * var(--u, 1)) rgba(220, 38, 38, 0.4);
  font: 700 calc(8.5px * var(--u, 1)) Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: filter 120ms;
}

.gold-btn-danger:hover { filter: brightness(1.08); }
.gold-btn-danger:active { filter: brightness(0.94); }

.gold-btn-round {
  width: calc(27px * var(--u, 1));
  height: calc(27px * var(--u, 1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: calc(1px * var(--u, 1)) solid rgba(199, 185, 206, 0.2);
  background: rgba(173, 146, 178, 0.1);
  color: #c4beca;
  cursor: pointer;
  transition: all 120ms;
}

.gold-btn-round:hover {
  background: rgba(173, 146, 178, 0.2);
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .reference-laser-sweep,
  .reference-input::before,
  .reference-social button::before,
  .reference-primary::before,
  .gold-btn-danger::before,
  .reference-scene {
    animation: none !important;
  }
}

/* ==========================================================================
   Full-Project Gold Glass Design System (Televenta Dashboard & Messenger)
   ========================================================================== */

/* Page Shell & Typography */
html, body {
  background-color: #000000 !important;
  color: #e7e5ea !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

::selection {
  background: #f4d922;
  color: #2a240b;
}

/* Smoked Glass Panel Core */
.gold-glass-panel,
.gold-glass-card {
  background: linear-gradient(135deg, rgba(60, 55, 68, 0.45) 0%, rgba(30, 25, 34, 0.55) 55%, rgba(18, 15, 22, 0.72) 100%) !important;
  border: 1px solid rgba(225, 222, 231, 0.14) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45) !important;
  border-radius: 16px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gold-glass-panel:hover,
.gold-glass-card:hover {
  border-color: rgba(244, 217, 34, 0.35) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 16px rgba(244, 217, 34, 0.08) !important;
}

/* Header */
header {
  background: linear-gradient(180deg, rgba(28, 24, 33, 0.9) 0%, rgba(16, 14, 20, 0.94) 100%) !important;
  border-bottom: 1px solid rgba(225, 222, 231, 0.12) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6) !important;
}

/* Sidebar & Navigation */
aside nav {
  background: linear-gradient(135deg, rgba(45, 40, 52, 0.45) 0%, rgba(22, 18, 26, 0.65) 100%) !important;
  border: 1px solid rgba(225, 222, 231, 0.12) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4) !important;
}

.nav-btn {
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
}

.nav-btn.active,
.gold-nav-active {
  background: linear-gradient(#ffee48 0%, #ffd009 100%) !important;
  color: #2a240b !important;
  font-weight: 700 !important;
  border: 1px solid #fae767 !important;
  box-shadow: 0 4px 14px rgba(235, 186, 15, 0.35) !important;
}

.nav-btn.active i,
.gold-nav-active i {
  color: #2a240b !important;
}

.nav-btn:not(.active):not(.gold-nav-active) {
  color: #b7b2bb !important;
  background: transparent !important;
}

.nav-btn:not(.active):not(.gold-nav-active):hover {
  color: #f4f3f5 !important;
  background: rgba(116, 101, 117, 0.15) !important;
  border-color: rgba(225, 222, 231, 0.12) !important;
}

/* Tailwind Dark Background Overrides */
.bg-\[\#111b21\],
.bg-\[\#202c33\],
.bg-\[\#0b141a\],
.bg-\[\#0c1317\] {
  background: linear-gradient(135deg, rgba(55, 48, 62, 0.45) 0%, rgba(28, 23, 33, 0.55) 55%, rgba(16, 13, 20, 0.72) 100%) !important;
  border-color: rgba(225, 222, 231, 0.12) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45) !important;
}

.border-\[\#2a3942\] {
  border-color: rgba(225, 222, 231, 0.12) !important;
}

/* Primary Gold Action Buttons */
.bg-\[\#00a884\],
.gold-btn-primary {
  background: linear-gradient(#ffee48 0%, #ffd009 100%) !important;
  color: #2a240b !important;
  border: 1px solid #fae767 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(235, 186, 15, 0.35) !important;
  transition: filter 0.12s, transform 0.12s !important;
}

.bg-\[\#00a884\]:hover,
.gold-btn-primary:hover,
.hover\:bg-\[\#008069\]:hover {
  filter: brightness(1.06) !important;
  background: linear-gradient(#ffee48 0%, #ffd009 100%) !important;
  color: #2a240b !important;
  transform: translateY(-1px);
}

.bg-\[\#00a884\]:active,
.gold-btn-primary:active {
  filter: brightness(0.95) !important;
  transform: translateY(0);
}

/* Typography & Accent Overrides */
.text-\[\#00a884\],
.text-\[\#25D366\],
.gold-accent {
  color: #f4d922 !important;
}

.text-\[\#8696a0\],
.text-\[\#aebac1\] {
  color: #99969e !important;
}

.gold-heading {
  color: #f4f3f5 !important;
  font-weight: 700 !important;
}

.gold-heading em {
  color: #f4d922 !important;
  font-style: normal;
}

/* Inputs & Selects */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
select,
textarea {
  background: rgba(116, 101, 117, 0.1) !important;
  border: 1px solid rgba(172, 163, 176, 0.15) !important;
  color: #c4bfc8 !important;
  border-radius: 8px !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(242, 215, 34, 0.7) !important;
  box-shadow: 0 0 10px rgba(231, 205, 34, 0.22) !important;
  outline: none !important;
}

/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar-track {
  background: #000000 !important;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(172, 163, 176, 0.25) !important;
  border-radius: 4px !important;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 217, 34, 0.5) !important;
}

/* Tables & Dividers */
table thead {
  border-bottom: 1px solid rgba(225, 222, 231, 0.12) !important;
}

table thead th {
  color: #99969e !important;
  font-weight: 600 !important;
}

table tbody tr {
  transition: background 0.12s ease;
}

table tbody tr:hover {
  background: rgba(244, 217, 34, 0.05) !important;
}

.divide-\[\#2a3942\]\/50 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(225, 222, 231, 0.08) !important;
}

/* Badges */
.bg-\[\#00a884\]\/20 {
  background: rgba(244, 217, 34, 0.15) !important;
  color: #f4d922 !important;
  border-color: rgba(244, 217, 34, 0.35) !important;
}

/* Code Pre Blocks */
pre {
  background: rgba(15, 13, 19, 0.9) !important;
  border: 1px solid rgba(225, 222, 231, 0.12) !important;
  color: #f4d922 !important;
}

/* ==========================================================================
   Major Blocks with Floating Chamfered Corners
   Corners appear with 1s delay and smooth authentic spline fly-in
   ========================================================================== */
.gold-major-block {
  position: relative;
  isolation: isolate;
  background: transparent !important;
}

.gold-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.45));
}

.gold-major-block > .gold-chamfer-surface,
.gold-major-block > .gold-card-content {
  position: relative;
  z-index: 3;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.gold-major-block > .gold-chamfer-surface {
  padding-left: clamp(24px, 4vw, 44px);
  padding-right: clamp(24px, 4vw, 44px);
}

.gold-major-block > .gold-chamfer-surface.wa-flush,
.gold-major-block > .gold-chamfer-surface:has(.wa-app-container) {
  padding: 0 !important;
}

.gold-major-block > .gold-chamfer-surface::before {
  display: none !important;
}

.gold-corner-svg-wrap {
  position: absolute;
  width: 58px;
  height: 58px;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

.gold-corner-svg-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 1 !important;
}

.gold-corner-top {
  top: 0;
  left: 0;
  opacity: 1 !important;
  transform: translate(0, 0) !important;
  animation: none !important;
  will-change: auto;
}

.gold-corner-bottom {
  bottom: 0;
  right: 0;
  opacity: 1 !important;
  transform: translate(0, 0) !important;
  animation: none !important;
  will-change: auto;
}

/* For full-scene SVG modals and overlays (modalAuth, modalAddAccount, modalQrView, callGlassOverlay) */
.piece-g-top {
  animation: gold-piece-svg-fly-top 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) 1s backwards;
  will-change: transform, opacity;
}

.piece-g-bottom {
  animation: gold-piece-svg-fly-bottom 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) 1s backwards;
  will-change: transform, opacity;
}

@keyframes gold-piece-svg-fly-top {
  0% {
    opacity: 0;
    transform: translate(265px, 172px) scale(0.85);
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(120px, 40px) scale(1);
  }
}

@keyframes gold-piece-svg-fly-bottom {
  0% {
    opacity: 0;
    transform: translate(273px, 179px) scale(0.85);
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(416px, 313px) scale(1);
  }
}

/* ==========================================================================
   Gold Glass White Matrix Digital Rain Background
   ========================================================================== */
.gold-matrix-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.29;
  background: #000000;
  transform: translateZ(0);
  will-change: transform;
}



