/* ========================================================
   1. VIDEO POZADINA (POSTAVLJENA IZA SVEGA)
   ======================================================== */
#login_bg_video {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  pointer-events: none !important;
  z-index: -1 !important;
  filter: brightness(0.5) contrast(1.15) !important;
}

/* ========================================================
   2. PROZIRNI PANELI - VIDEO JE 100% VIDLJIV
   ======================================================== */
.left-panel,
.right-panel,
.store-box,
.stream-box,
#main_footer,
.cookie_wrap {
  background: rgba(7, 12, 28, 0.70) !important;
  border: 1px solid rgba(0, 210, 255, 0.35) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 210, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.gradient-button,
.button-bg,
.login-tabs-nav .tab-btn.active .button-bg {
  background: linear-gradient(135deg, #00d2ff 0%, #2563eb 100%) !important;
}

:root{
  --bg: #030712;
  --text-main: #00d2ff;
  --text-muted: #00d2ff;

  /* Boje usklađene s videom (Electric Stage) */
  --c-cyan: #00d2ff;
  --c-cyan-glow: rgba(0, 210, 255, 0.45);
  --c-blue: #2563eb;
  --c-blue-stage: #1d4ed8;
  --c-purple: #8b5cf6;
  --c-purple-glow: rgba(139, 92, 246, 0.35);

  /* Poluprozirne scenske površine */
  --card-bg: rgba(6, 11, 25, 0.72);
  --card-bg-hover: rgba(10, 18, 38, 0.85);
  --card-border: rgba(0, 210, 255, 0.28);
  --input-bg: rgba(3, 7, 18, 0.78);
  --input-border: rgba(0, 210, 255, 0.22);

  --c1: var(--c-cyan);
  --c2: var(--c-purple);
  --c3: #38bdf8;
  --noise: rgba(255, 255, 255, 0.04);
}

#login_wrap,
#login_wrap *{
  caret-color: var(--c-cyan);
  box-sizing: border-box;
}

/* ==============================
   WRAP / VIDEO BACKGROUND
   ============================== */

#login_wrap{
  background: transparent !important;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  padding: 24px 0;
  color: #00d2ff !important;
}

#login_wrap::before{
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(3, 7, 18, 0.15) 0%, rgba(3, 7, 18, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

#login_wrap::after{
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0px, rgba(0, 0, 0, 0.12) 1px, transparent 1px, transparent 2px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 2;
}

.login-fog{
  display: none;
}

#login_visualizer{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: 3;
  max-width: none;
}

.login-container{
  position: relative;
  z-index: 5;
  width: min(1280px, 94%);
  margin: 0 auto;
  padding: 20px 0;
}

/* ==============================
   MAIN LAYOUT
   ============================== */

.login-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.left-panel,
.right-panel,
.store-box{
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(0, 210, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.left-panel{
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.right-panel{
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.login-menu-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 24px;
  flex: 0 0 auto;
}

.login-tabs-nav{
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(3, 7, 18, 0.85);
  overflow-x: auto;
  scrollbar-width: none;
}

.auth-forms-wrap{
  width: 100%;
  display: block;
  flex: 1 1 auto;
}

.login-tab-panel{
  width: 100%;
  display: block;
}

.stream-box {
  grid-column: 1 / -1 !important;
  position: relative !important;
  width: 100% !important;
  padding: 24px 28px !important;
  background: rgba(6, 11, 25, 0.72) !important;
  border: 1px solid rgba(0, 210, 255, 0.35) !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 210, 255, 0.12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 3 !important;
  text-align: center !important;
}

.store-box{
  grid-column: 1 / -1;
  width: 100%;
  padding: 24px;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ==============================
   LEFT PANEL (Brand & Socials)
   ============================== */

.language-switch img{
  width: 32px;
  height: auto;
  cursor: pointer;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.site-brand{
  margin: 14px 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-panel .centered_element{
  text-align: center;
}

.left-panel #login_logo{
  display: block;
  max-width: min(240px, 70vw) !important;
  height: auto !important;
  margin: 0 auto 14px !important;
  filter: drop-shadow(0 0 16px var(--c-cyan-glow)) drop-shadow(0 0 28px rgba(139, 92, 246, 0.4));
}

.login_text{
  margin-bottom: 22px;
  color: #00d2ff !important;
}

#sonic_title{
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  color: #00d2ff !important;
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px var(--c-cyan-glow);
}

#social_section{
  margin-top: auto;
  padding-top: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.social_container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.social_element{
  flex: 0 0 auto;
}

.social_element a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--c-cyan);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social_element i{
  font-size: 24px;
  line-height: 1;
  transition: transform 0.22s ease;
}

.social_element a:hover{
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-blue) 100%);
  border-color: var(--c-cyan);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px var(--c-cyan-glow);
}

.social_element a:hover i{
  transform: scale(1.12);
}

/* ==============================
   RIGHT PANEL / FORMS
   ============================== */

.form-group{
  margin-bottom: 18px;
  position: relative;
}

.input-container{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--input-bg);
}

.input-bg{
  position: absolute;
  inset: 0;
  border-width: 1px;
  border-style: solid;
  border-color: var(--input-border);
  background: var(--input-bg);
  border-radius: 14px;
  transition: all 0.25s ease;
}

.input-container:focus-within .input-bg{
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 2px var(--c-cyan-glow), 0 0 20px rgba(0, 210, 255, 0.2);
}

.input-container input{
  width: 100%;
  background: transparent;
  padding: 26px 20px 12px 20px;
  font-size: 15px;
  font-weight: 800;
  color: #00d2ff !important;
  outline: none;
  border: none;
  position: relative;
  z-index: 2;
}

.input-container input::placeholder{
  opacity: 0 !important;
}

.input-container label{
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 800;
  color: #00d2ff !important;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 3;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label{
  top: 10px;
  font-size: 11px;
  color: var(--c-cyan);
  transform: translateY(0);
}

.input-wave{
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-purple), transparent);
  transition: all 0.3s ease;
  z-index: 4;
}

.input-container:focus-within .input-wave{
  left: 100%;
  animation: inputWaveFlow 1s ease-in-out;
}

.password-container{
  position: relative;
}

.password-toggle{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d2ff !important;
  z-index: 5;
  transition: color 0.2s;
}

.password-toggle:hover{
  color: #ffffff !important;
}

.password-toggle .hide-icon{
  display: none;
}

.form-options{
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
  margin-bottom: 18px;
}

.forgot-password,
.forgot_password{
  font-size: 14px;
  font-weight: 800;
  color: #00d2ff !important;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password:hover,
.forgot_password:hover{
  color: #ffffff !important;
  text-shadow: 0 0 8px var(--c-cyan-glow);
}

.form-group.error .input-bg{
  background: rgba(255, 45, 85, 0.12);
  border-color: rgba(255, 45, 85, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.25);
}

.form-group .error-message{
  display: none;
  margin-top: 8px;
  font-size: 13px;
  background: rgba(255, 45, 85, 0.15);
  border: 1px solid rgba(255, 45, 85, 0.4);
  color: #ff7b92;
  padding: 6px 12px;
  border-radius: 8px;
}

.form-group.error .error-message{
  display: block;
}

/* ========================================================
   CAPS LOCK TEKST ISPOD POLJA
   ======================================================== */

.caps-warning-text {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: #ff335c !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: 0 0 10px rgba(255, 51, 92, 0.45);
  animation: fadeIn 0.25s ease-in-out;
}

.caps-warning-text i {
  font-size: 14px;
}

/* ==============================
   BUTTONS / DIVIDERS
   ============================== */

.gradient-button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  margin-bottom: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-blue-stage) 50%, var(--c-purple) 100%) !important;
  box-shadow: 0 8px 25px var(--c-cyan-glow), 0 0 15px var(--c-purple-glow) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-bg{
  display: none;
}

.gradient-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 210, 255, 0.6), 0 0 25px rgba(139, 92, 246, 0.5) !important;
}

.gradient-button:active{
  transform: translateY(0);
}

.button-content{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
}

.gradient-button .button-content i{
  margin-right: 8px;
}

.signup-link{
  margin: 16px 0;
  text-align: center;
  font-size: 15px;
  animation: fadeIn 0.8s ease;
}

.signup-link p{
  margin: 0;
  color: #00d2ff !important;
}

.signup-link .bclick{
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  color: #00d2ff !important;
}

.signup-link .bclick:hover{
  color: #ffffff !important;
  text-decoration: underline;
  text-shadow: 0 0 8px var(--c-cyan-glow);
}

.divider{
  display: flex;
  align-items: center;
  margin: 12px 0;
  gap: 14px;
}

.divider-line{
  flex: 1;
  height: 1px;
  position: relative;
  overflow: hidden;
  background: var(--card-border);
}

.line-gradient{
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-purple), transparent);
  animation: lineFlow 3s ease-in-out infinite;
}

.right-panel .divider span,
.store-box .divider span{
  font-size: 14px;
}

.divider span{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #00d2ff !important;
  text-transform: uppercase;
}

/* ==============================
   TOP NOTIFY
   ============================== */

.top_notify_placeholder .top_notify .close_notify,
.top_notify_placeholder .top_notify .fa-times,
.top_notify_placeholder .top_notify button,
.top_notify_icon img{
  display: none;
}

.top_notify_placeholder{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px 0;
}

.top_notify_placeholder .top_notify{
  display: inline-block;
  max-width: 100%;
  color: #fff;
  background: rgba(139, 92, 246, 0.25);
  border-radius: 14px;
  border: 1px solid var(--c-purple);
  box-shadow: 0 0 16px var(--c-purple-glow);
  font-weight: 900;
  font-size: 15px;
  text-align: center;
  line-height: 1.4em;
  padding: 8px 18px;
  animation: fadeIn 0.25s ease-in-out;
}

/* ==============================
   SELECTBOXIT
   ============================== */

.selectboxit-btn.selectboxit-enabled,
.selectboxit-btn.selectboxit-enabled:focus,
.selectboxit-btn.selectboxit-enabled:active{
  background: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  color: #00d2ff !important;
  font-weight: 800;
  box-shadow: none !important;
  text-decoration: none !important;
}

.selectboxit-btn.selectboxit-enabled:hover{
  background: var(--card-bg-hover) !important;
  border: 1px solid var(--c-cyan) !important;
  box-shadow: 0 0 12px var(--c-cyan-glow) !important;
  text-decoration: none !important;
}

.selectboxit-list .selectboxit-option-anchor,
.selectboxit-list .selectboxit-focus .selectboxit-option-anchor,
.selectboxit-list > .selectboxit-disabled > .selectboxit-option-anchor{
  font-weight: 800;
  box-shadow: none !important;
  transition: all 0.2s ease;
  color: #00d2ff !important;
  text-decoration: none !important;
}

.selectboxit-list .selectboxit-option-anchor:hover,
.selectboxit-list .selectboxit-focus .selectboxit-option-anchor:hover{
  background: linear-gradient(90deg, var(--c-cyan), var(--c-blue)) !important;
  color: #fff !important;
  text-decoration: none !important;
}

.selectboxit-container span{
  font-size: 15px;
  font-weight: 800;
}

.selectboxit-options{
  background: #060b19 !important;
  border: 1px solid var(--c-cyan) !important;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px var(--c-cyan-glow);
  overflow: hidden;
  backdrop-filter: none !important;
}

.selectboxit-options .selectboxit-option,
.selectboxit-options .selectboxit-option .selectboxit-option-anchor{
  background: transparent !important;
  text-decoration: none !important;
}

/* ========================================================
   DODATNA PRAVILA - UKLANJANJE PODCRTAVANJA
   ======================================================== */

/* Direktno gađanje svih linkova unutar selectbox dropdowna */
.selectboxit-options a,
.selectboxit-list a,
.selectboxit-container a,
.selectboxit-btn a {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Hover stanja */
.selectboxit-options a:hover,
.selectboxit-list a:hover,
.selectboxit-container a:hover,
.selectboxit-btn a:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Jači selektori ako #login_wrap * forsira underline */
#login_wrap .selectboxit-options a,
#login_wrap .selectboxit-list a,
#login_wrap .selectboxit-container a {
  text-decoration: none !important;
}

/* Reset na sve unutar selectboxit dropdowna */
.selectboxit-dropdown *,
.selectboxit-options * {
  text-decoration: none !important;
}

/* ========================================================
   TABS (PRIJAVA / REGISTRIRAJ SE / GOST)
   ======================================================== */

.login-menu-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 24px;
}

.login-tabs-nav {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(4, 9, 22, 0.90) !important;
  border: 1px solid rgba(0, 210, 255, 0.35) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 210, 255, 0.1) !important;
  width: fit-content;
  max-width: 100%;
}

.login-tabs-nav .tab-indicator {
  display: none !important;
}

.login-tabs-nav .tab-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #00d2ff !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  transition: all 0.25s ease-in-out !important;
  overflow: hidden;
  text-decoration: none;
}

.login-tabs-nav .tab-btn .button-content {
  position: relative;
  z-index: 2;
  color: inherit !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.login-tabs-nav .tab-btn:hover {
  color: #ffffff !important;
  background: rgba(0, 210, 255, 0.18) !important;
  border-color: rgba(0, 210, 255, 0.5) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25) !important;
}

.login-tabs-nav .tab-btn.active,
.login-tabs-nav .tab-btn[aria-selected="true"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #00d2ff 0%, #2563eb 100%) !important;
  border-color: #00d2ff !important;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5), 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(0);
}

.login-tabs-nav .tab-btn.active:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #26d8ff 0%, #3b82f6 100%) !important;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.65) !important;
}

.login-tabs-nav .tab-btn .button-bg {
  display: none !important;
}

@media (max-width: 640px) {
  .login-tabs-nav {
    width: 100% !important;
    display: flex !important;
    gap: 4px;
  }
  .login-tabs-nav .tab-btn {
    flex: 1 1 50% !important;
    padding: 0 10px !important;
    min-height: 42px;
    font-size: 13px !important;
  }
}

/* ==============================
   CAROUSEL
   ============================== */

.wc-carousel{
  width: 100%;
  overflow: hidden;
  position: relative;
}

.wc-track{
  display: flex;
  gap: 12px;
  will-change: transform;
}

.wc-carousel:hover .wc-track{
  cursor: pointer;
}

.wc-item{
  flex: 0 0 auto;
  width: 175px;
  text-align: center;
}

.wc-item img{
  width: 175px;
  height: 175px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--input-border);
}

.wc-title{
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  margin-top: 10px;
  color: #00d2ff !important;
}

#catTrack,
#hotTrack{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

#catTrack > .wc-item,
#hotTrack > .wc-item{
  flex: 0 0 200px !important;
  width: 200px !important;
}

/* ========================================================
   KOLAČIĆI (COOKIE BANNER) - JEDINSTVENI CIJAN TEKST
   ======================================================== */

#login_wrap .cookie_wrap,
#login_wrap .cookie_wrap.back_modal,
#login_wrap #cookie_bar,
.cookie_wrap,
.cookie_wrap.back_modal {
  grid-column: 1 / -1 !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  padding: 22px !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  z-index: 3 !important;
  color: #00d2ff !important;
}

#login_wrap .cookie_wrap p,
#login_wrap .cookie_wrap .cookie_text p,
#login_wrap .cookie_wrap .text_med,
#login_wrap .cookie_wrap .bold,
.cookie_wrap p,
.cookie_wrap span {
  color: #00d2ff !important;
}

#login_wrap .cookie_wrap a,
#login_wrap .cookie_wrap .link_like,
#login_wrap .cookie_wrap .bclick,
.cookie_wrap a {
  color: #00d2ff !important;
  text-decoration: underline !important;
}

#login_wrap .cookie_wrap a:hover,
#login_wrap .cookie_wrap .link_like:hover,
#login_wrap .cookie_wrap .bclick:hover,
.cookie_wrap a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.8) !important;
}

.cookie_button{
  display: flex;
  align-items: center;
}

.cookie_button button,
.cookie_wrap .ok_btn,
#login_wrap .cookie_button button {
  background: linear-gradient(135deg, var(--c-cyan), var(--c-blue)) !important;
  border: 1px solid var(--c-cyan) !important;
  border-radius: 12px !important;
  color: #fff !important;
  padding: 8px 22px !important;
  transition: all 0.25s ease !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4) !important;
}

.cookie_button button:hover,
#login_wrap .cookie_button button:hover {
  box-shadow: 0 0 16px var(--c-cyan-glow) !important;
  transform: translateY(-2px) !important;
}

/* ========================================================
   FOOTER - JEDINSTVENI CIJAN TEKST I LINKOVI
   ======================================================== */

#login_wrap #main_footer,
#login_wrap .page_footer,
#main_footer,
.page_footer,
footer {
  padding: 22px !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: center !important;
  color: #00d2ff !important;
}

#login_wrap #main_footer p,
#login_wrap #main_footer span,
#login_wrap .page_footer p,
#login_wrap .page_footer span,
#main_footer p,
#main_footer span {
  color: #00d2ff !important;
}

#login_wrap #main_footer a,
#login_wrap .page_footer a,
#main_footer a,
.page_footer a,
footer a {
  text-decoration: none !important;
  color: #00d2ff !important;
  transition: all 0.2s ease !important;
}

#login_wrap #main_footer a:hover,
#login_wrap .page_footer a:hover,
#main_footer a:hover,
.page_footer a:hover,
footer a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.8) !important;
}

/* ==============================
   MODALS
   ============================== */

#small_modal_in,
#over_modal_in{
  max-width: 400px;
  width: calc(100% - 20px);
  margin: 40px auto;
  border-radius: 20px;
  background: rgba(6, 11, 25, 0.95);
  border: 1px solid var(--c-cyan);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 25px var(--c-cyan-glow);
  position: relative;
  padding: 24px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#small_modal_content .modal_title{
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  color: #00d2ff !important;
}

#small_modal_content .full_input{
  width: 100%;
  border-radius: 12px;
  background: #030712;
  border: 1px solid var(--input-border);
  outline: none;
  font-size: 15px;
  color: #00d2ff !important;
  padding: 12px 16px;
  transition: all 0.25s ease;
}

#small_modal_content .full_input:focus{
  border-color: var(--c-cyan);
  box-shadow: 0 0 16px var(--c-cyan-glow);
}

#small_modal_content .theme_btn{
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-blue));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.25s ease;
}

#small_modal_content .theme_btn:hover{
  box-shadow: 0 0 20px var(--c-cyan-glow);
  transform: translateY(-2px);
}

/* ========================================================
   REGISTRACIJSKA FORMA - FIKSIRANE CIJAN BOJE
   ======================================================== */

/* Tekst “Registriranjem pristajete na...” i svi paragrafi u formi */
#registerForm p,
#registerForm span,
#registerForm .text_xsmall,
#registerForm .sub_text,
#registerForm .rules_text,
#registerForm .rules_text_elem {
  color: #00d2ff !important;
}

/* Link “Uvjeti korištenja” */
#registerForm .rules_click,
#registerForm .bclick,
#registerForm a {
  color: #00d2ff !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}

#registerForm .rules_click:hover,
#registerForm .bclick:hover,
#registerForm a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.8) !important;
}

/* Modal s pravilima (terms modal) */
#rulesForm,
#rulesForm .modal_content,
#rulesForm h1,
#rulesForm p {
  color: #00d2ff !important;
}

#rulesForm h1 {
  text-align: center !important;
  font-weight: 900 !important;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.4) !important;
}

#rulesForm p {
  line-height: 1.6 !important;
}

/* ========================================================
   PRAVILA I UVJETI - GLOBALNO FIKSIRANE BOJE
   ======================================================== */

/* Tekst "I agree to" i svi elementi pravila */
.rules_text,
.rules_text p,
.text_xsmall,
.sub_text,
.rules_text_elem {
  color: #00d2ff !important;
}

/* Link "Terms of use" */
.rules_click,
.rules_click span {
  color: #00d2ff !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}

.rules_click:hover,
.rules_click span:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.8) !important;
}

/* Modal s pravilima */
#rulesForm,
#rulesForm .modal_content,
#rulesForm h1,
#rulesForm p,
#rulesForm * {
  color: #00d2ff !important;
}

#rulesForm h1 {
  text-align: center !important;
  font-weight: 900 !important;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.4) !important;
}

#rulesForm p {
  line-height: 1.6 !important;
}

/* ==============================
   VISUALISER (Radio Bars)
   ============================== */

.login_visualiser{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 32px;
  margin: 12px 0 14px;
}

.login_visualiser span{
  display: block;
  width: 4px;
  min-height: 8px;
  border-radius: 999px;
  background: linear-gradient(to top, var(--c-blue), var(--c-cyan));
  animation: radioBar 1s ease-in-out infinite;
  box-shadow: 0 0 12px var(--c-cyan-glow);
}

.login_visualiser span:nth-child(1)  { animation-delay: 0.0s; height: 10px; }
.login_visualiser span:nth-child(2)  { animation-delay: 0.1s; height: 20px; }
.login_visualiser span:nth-child(3)  { animation-delay: 0.2s; height: 26px; }
.login_visualiser span:nth-child(4)  { animation-delay: 0.3s; height: 14px; }
.login_visualiser span:nth-child(5)  { animation-delay: 0.4s; height: 22px; }
.login_visualiser span:nth-child(6)  { animation-delay: 0.5s; height: 30px; }
.login_visualiser span:nth-child(7)  { animation-delay: 0.6s; height: 16px; }
.login_visualiser span:nth-child(8)  { animation-delay: 0.7s; height: 24px; }
.login_visualiser span:nth-child(9)  { animation-delay: 0.8s; height: 18px; }
.login_visualiser span:nth-child(10) { animation-delay: 0.9s; height: 20px; }
.login_visualiser span:nth-child(11) { animation-delay: 1.0s; height: 20px; }
.login_visualiser span:nth-child(12) { animation-delay: 1.1s; height: 10px; }

@keyframes radioBar{
  0%, 100%{ transform: scaleY(0.4); opacity: 0.5; }
  50%{ transform: scaleY(1.15); opacity: 1; }
}

/* ==============================
   ANIMATIONS & RESPONSIVE
   ============================== */

@keyframes grain{
  to{ transform: translate(2px, -2px); }
}

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

@keyframes lineFlow{
  0%, 100%{ left: -100%; }
  50%{ left: 100%; }
}

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

@media (max-width: 980px){
  .login-layout{
    grid-template-columns: 1fr;
  }
  .left-panel,
  .right-panel{
    padding: 24px 20px;
  }
}

@media (max-width: 640px){
  .login-tabs-nav .tab-btn{
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
  }
  .login-tabs-nav .tab-btn .button-content{
    min-height: 40px;
    font-size: 13px !important;
  }
}