body {
    background: #0a0d14;
    position: relative;
    overflow: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    opacity: 10%;
}

.background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}


.background-image,
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.background-video {
    object-fit: cover;
    opacity: 0.8;
}

.animated-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0d14, #141824);
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    mix-blend-mode: screen;
}

.wave-1 {
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 300 Q 200 250 400 300 T 800 300 L 800 800 L 0 800' fill='rgba(0, 108, 255, 0.1)'/%3E%3C/svg%3E") repeat-x;
    background-size: 800px 800px;
    animation: wave 20s linear infinite;
    opacity: 0.2;
}

.wave-2 {
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 300 Q 200 350 400 300 T 800 300 L 800 800 L 0 800' fill='rgba(0, 149, 255, 0.1)'/%3E%3C/svg%3E") repeat-x;
    background-size: 800px 800px;
    animation: wave 15s linear infinite;
    opacity: 0.15;
}

.wave-3 {
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 300 Q 200 200 400 300 T 800 300 L 800 800 L 0 800' fill='rgba(65, 184, 255, 0.1)'/%3E%3C/svg%3E") repeat-x;
    background-size: 800px 800px;
    animation: wave 10s linear infinite;
    opacity: 0.1;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 800px;
    }
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
        rgba(65, 184, 255, 0.1) 0%,
        transparent 50%);
    animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Додаткові світлові ефекти */
.light-beam {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(65, 184, 255, 0.1),
        transparent
    );
    animation: beam 8s ease-in-out infinite;
}

.light-beam:nth-child(1) { left: 20%; animation-delay: 0s; }
.light-beam:nth-child(2) { left: 40%; animation-delay: 2s; }
.light-beam:nth-child(3) { left: 60%; animation-delay: 4s; }
.light-beam:nth-child(4) { left: 80%; animation-delay: 6s; }

@keyframes beam {
    0% {
        transform: translateY(-100%) scaleX(1);
        opacity: 0;
    }
    50% {
        transform: translateY(100%) scaleX(5);
        opacity: 1;
    }
    100% {
        transform: translateY(200%) scaleX(1);
        opacity: 0;
    }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  color: #fff;
}

p {
  color: #b3b3b3;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}
a:hover {
  text-decoration: none !important;
}

.content {
  padding: 2rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.container {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #979ea3;
    z-index: 1;
}

.form-group label i {
    font-size: 18px;
}

.nz-login-act.tpl-5 .form-control {
    height: 48px;
    color: #fff !important;
    border: none;
    padding-left: 40px !important;
    padding-right: 40px !important;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    /*background: rgba(255, 255, 255, 0.1) !important;*/
    box-shadow: none;
}

.form-control::placeholder {
    color: #979ea3;
    opacity: 0.7;
}

.password-field {
    position: relative;
}

.password-field .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #979ea3;
    padding: 5px;
    z-index: 10;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #fff;
}

.password-toggle:focus {
    outline: none;
}

.password-toggle i {
    font-size: 18px;
}

.btn-primary {
    background: #2962ff !important;
    border: none;
    height: 48px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1e4bd8 !important;
    transform: translateY(-1px);
}

.nz-resetpassword-view {
    color: #979ea3;
    font-size: 14px;
    transition: color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.nz-resetpassword-view:hover {
    color: #fff;
    text-decoration: none;
}

.nz-i-msg-f-kr_usr_email span,
.nz-i-msg-f-kr_usr_pwd span {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    margin-left: 34px;
}

.social-login {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 20px 0;
}

.social-login a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin: 0;
    transition: all 0.3s ease;
}

.social-login a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-login a {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 8px 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-block;
}

.social-login a span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.social-login a:hover {
  color: #fff;
}

.social-login a.facebook {
  background: #3b5998;
}

.social-login a.facebook:hover {
  background: #344e86;
}

.social-login a.twitter {
  background: #1da1f2;
}

.social-login a.twitter:hover {
  background: #0d95e8;
}

.social-login a.google {
  background: #ea4335;
}

.social-login a.google:hover {
  background: #e82e1e;
}

.control {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 14px;
}

.control .caption {
  position: relative;
  top: .2rem;
  color: #888;
}

.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.control__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #e6e6e6;
  border-radius: 4px;
}

.control--radio .control__indicator {
  border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
  background: #ccc;
}

.control input:checked ~ .control__indicator {
  background: #38d39f;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
  background: #4dd8a9;
}

.control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.9;
  pointer-events: none;
}

.control__indicator:after {
  font-family: 'icomoon';
  content: '\e5ca';
  position: absolute;
  display: none;
  font-size: 16px;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.control input:checked ~ .control__indicator:after {
  display: block;
  color: #fff;
}

.control--checkbox .control__indicator:after {
  top: 50%;
  left: 50%;
  margin-top: -1px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}

.control--checkbox input:disabled:checked ~ .control__indicator {
  background-color: #7e0cf5;
  opacity: .2;
}

.trading-chart-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-axis {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 3;
}

.price-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  animation: priceFloat 3s ease-in-out infinite;
}

.trading-indicators {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.indicator-dot.green { background: #00C087; }
.indicator-dot.red { background: #FF5631; }
.indicator-dot.blue { background: #3498db; }

.indicator-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-family: 'Inter', sans-serif;
}

.indicator-value {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  position: relative;
  animation: valueUpdate 1s ease-out;
}

.ma-line {
  animation: dashFlow 15s linear infinite;
}

.volume-bars rect {
  animation: volumePulse 2s ease-in-out infinite;
}

.chart-tooltips {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.tooltip-item {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px;
  backdrop-filter: blur(8px);
  animation: fadeInOut 3s ease-in-out infinite;
}

.tooltip-header {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}

.tooltip-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
}

.chart-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.glow-effect {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,192,135,0.1) 0%, rgba(0,192,135,0) 70%);
  animation: moveGlow 8s infinite;
  pointer-events: none;
}

.line-effect {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
  animation: moveLine 3s infinite;
  pointer-events: none;
}

.trading-chart-large {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.grid-background {
  opacity: 0.15;
  animation: gridPulse 4s ease-in-out infinite;
}

.trend-line {
  stroke-dasharray: 5, 5;
  animation: dashMove 15s linear infinite;
}

.trend-line-1 {
  animation-delay: -5s;
}

.trend-line-2 {
  animation-delay: -10s;
}

.candlesticks-group {
  transform-origin: center;
  will-change: transform;
}

.group-1 {
  animation: slideChart 20s linear infinite;
}

.group-2 {
  animation: slideChart 20s linear infinite;
  animation-delay: -15s;
}

.group-3 {
  animation: slideChart 20s linear infinite;
  animation-delay: -10s;
}

.group-4 {
  animation: slideChart 20s linear infinite;
  animation-delay: -5s;
}

.candlestick {
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 3px rgba(0, 192, 135, 0.2));
  animation: candlePop 0.5s ease-out;
}

.candlestick:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px rgba(0, 192, 135, 0.4));
  z-index: 10;
}

.floating-indicators {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: pulse 2s infinite;
}

.indicator:nth-child(2) {
  animation-delay: -0.7s;
}

.indicator:nth-child(3) {
  animation-delay: -1.4s;
}

@keyframes slideChart {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  2% {
    opacity: 1;
    transform: translateX(90%);
  }
  98% {
    opacity: 1;
    transform: translateX(-90%);
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes moveGlow {
  0% {
    transform: translate(-100%, -100%) scale(1);
  }
  50% {
    transform: translate(200%, 200%) scale(1.5);
  }
  100% {
    transform: translate(-100%, -100%) scale(1);
  }
}

@keyframes moveLine {
  0% {
    transform: translateY(-100%) rotate(-45deg);
  }
  100% {
    transform: translateY(100%) rotate(-45deg);
  }
}

@keyframes pulseGrid {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -20;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
}

@keyframes candlePop {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  50% {
    transform: scaleY(1.1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0.9;
  }
}

@keyframes priceFloat {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@keyframes valueUpdate {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.market-data,
.market-data span,
.market-data .positive,
.market-data .negative {
  display: none;
}

@media (max-width: 991.98px) {
  .content .bg {
    height: 500px;
  }
}

.content .contents, .content .bg {
  width: 50%;
}

@media (max-width: 1199.98px) {
  .content .contents, .content .bg {
    width: 100%;
  }
}

.content .contents .form-group, .content .bg .form-group {
  position: relative;
}

.content .contents .form-group label, .content .bg .form-group label {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.content .contents .form-group input, .content .bg .form-group input {
  background: transparent;
  border-bottom: 1px solid #ccc;
}

.content .contents .form-group.first, .content .bg .form-group.first {
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.content .contents .form-group.last, .content .bg .form-group.last {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

.content .contents .form-group label, .content .bg .form-group label {
  font-size: 12px;
  display: block;
  margin-bottom: 0;
  color: #b3b3b3;
}

.content .contents .form-control, .content .bg .form-control {
  border: none;
  padding: 0;
  font-size: 26px;
  border-radius: 0;
}

.content .contents .form-control:active, .content .contents .form-control:focus, .content .bg .form-control:active, .content .bg .form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

@keyframes dashFlow {
  from {
    stroke-dashoffset: 20;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes volumePulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
    transform: translateY(-10px);
  }
  20%, 80% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.25;
  }
}
