/* container */
.tmn-disclosure-box {
  background: #1e0f2f;
  color: #3be477; /* <-- neon green text! */
  font-family: 'Nunito','Orbitron',Arial,sans-serif;
  font-size: 1.05em;
  line-height: 1.6;
  border-radius: 1rem;
  padding: var(--tmn-padding, 1.2em);
  margin: var(--tmn-margin, 1.5em auto);
  width: var(--tmn-width, 70%);
  display: block;
  /* alignment */
  margin-left: auto;
  margin-right: auto;
  /* override if left/right */
  text-align: left;
  /* color variables (defaults, can be overridden inline) */
  --c-border: #49ED49;
  --c-glow:   #33FFFF;
}

/* Allow PHP to override via inline variables: --c-border, --c-glow */
/* (the plugin outputs them inline) */

.tmn-disclosure-box[style*="--tmn-align:left"] {
  margin-left: 0;
  margin-right: auto;
}
.tmn-disclosure-box[style*="--tmn-align:right"] {
  margin-left: auto;
  margin-right: 0;
}

/* Breathing glow */
@keyframes tmn-breathe {
  0%,100%   { box-shadow:0 0 4px var(--c-glow, #33FFFF), 0 0 8px var(--c-glow, #33FFFF); }
  50%       { box-shadow:0 0 var(--tmn-glow,12px) var(--c-glow, #33FFFF), 0 0 calc(var(--tmn-glow,12px)*2) var(--c-glow, #33FFFF); }
}
.tmn-effect-breathing {
  border:2px solid var(--c-border, #49ED49);
  animation: tmn-breathe var(--tmn-speed, 1.2s) ease-in-out infinite;
}

/* Rainbow pulse (hue rotation on border and glow) */
@keyframes tmn-rainbow {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
.tmn-effect-rainbow {
  border:2px solid var(--c-border, #49ED49);
  box-shadow: 0 0 var(--tmn-glow,12px) var(--c-glow, #33FFFF);
  animation: tmn-rainbow var(--tmn-speed, 1.2s) linear infinite;
}

/* Strobe flicker */
@keyframes tmn-strobe {
  0%,100% { opacity:1; }
  50%     { opacity:0.3; }
}
.tmn-effect-strobe {
  border:2px solid var(--c-border, #49ED49);
  box-shadow: 0 0 var(--tmn-glow,12px) var(--c-glow, #33FFFF);
  animation: tmn-strobe var(--tmn-speed, 1.2s) step-end infinite;
}

/* Morphing outline (animated color glow) */
@keyframes tmn-morph {
  0%   { box-shadow:0 0 var(--tmn-glow,12px) var(--c-glow, #33FFFF), 0 0 0 red; }
  25%  { box-shadow:0 0 var(--tmn-glow,12px) var(--c-glow, #33FFFF), 0 0 0 magenta; }
  50%  { box-shadow:0 0 var(--tmn-glow,12px) var(--c-glow, #33FFFF), 0 0 0 cyan; }
  75%  { box-shadow:0 0 var(--tmn-glow,12px) var(--c-glow, #33FFFF), 0 0 0 yellow; }
  100% { box-shadow:0 0 var(--tmn-glow,12px) var(--c-glow, #33FFFF), 0 0 0 red; }
}
.tmn-effect-morph {
  border:2px solid var(--c-border, #49ED49);
  animation: tmn-morph var(--tmn-speed, 1.2s) ease-in-out infinite;
}

/* Hover only */
.tmn-hover-only {
  animation-play-state: paused !important;
}
.tmn-hover-only:hover {
  animation-play-state: running !important;
}

/* ensure visibility */
.tmn-disclosure-box {
  opacity: 1 !important;
}
