/* Login cover: form on the right, 3D testimonials on the left (RTL). */
.vb-login-cover {
  background: #f8f9fa;
}

@media (min-width: 992px) {
  .vb-login-cover,
  .vb-login-cover .authentication-inner {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }

  .vb-login-cover .vb-auth-form-col {
    max-height: 100vh;
    overflow: auto;
    background: #fff;
    z-index: 2;
  }

  .vb-login-cover .vb-auth-visual-col {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background: #f8f9fa;
  }
}

.vb-auth-form-inner,
.vb-login-form,
.vb-login-form .form-label,
.vb-login-form .login-label,
.vb-login-form .form-check-label {
  font-family: "Vazirmatn", Tahoma, sans-serif;
}

.vb-auth-form-inner .app-brand {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 80px;
  align-items: center;
}

.vb-auth-form-inner .app-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.vb-auth-form-inner .app-brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.vb-auth-form-inner .vb-auth-brand-logo,
.vb-auth-form-inner .app-brand-logo img,
.vb-auth-form-inner .app-brand-logo svg {
  height: 75px;
  width: auto;
  max-height: 80px;
  object-fit: contain;
}

.vb-auth-form-inner .app-brand-text {
  font-size: 2.55rem !important;
  font-weight: 700;
  margin-right: -0.8rem;
  line-height: 1.2;
  color:#318f59;
}

.vb-login-form {
  direction: rtl;
  text-align: right;
}

.vb-login-form .form-label,
.vb-login-form .login-label {
  display: block;
  text-align: right;
}

.vb-login-form .form-control[dir="ltr"],
.vb-login-form .login-captcha__input {
  direction: ltr;
  text-align: right;
}

.vb-login-form .d-flex.justify-content-between {
  direction: rtl;
}

.vb-login-form .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  min-height: 1.5rem;
  text-align: right;
}

.vb-login-form .form-check .form-check-input {
  float: none;
  margin: 0;
  position: static;
}

.vb-login-form .login-captcha,
.vb-login-form .login-captcha__row {
  direction: rtl;
}

.vb-login-form .login-captcha__hint,
.vb-login-form .text-center {
  text-align: center;
}

.vb-t3d {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 30% 0%, rgba(59, 130, 246, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(14, 165, 233, 0.08), transparent 50%),
    #f8f9fa;
  font-family: "Vazirmatn", Tahoma, sans-serif;
}

.vb-t3d__perspective {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 400px;
  perspective-origin: 50% 40%;
}

.vb-t3d__stage {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  transform: translateX(30px) translateY(0px) translateZ(-60px) rotateX(15deg) rotateY(15deg) rotateZ(-10deg);
  transform-style: preserve-3d;
}

.vb-t3d__col {
  width: 270px;
  flex: 0 0 270px;
}

.vb-t3d__track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: marquee-vertical 28s linear infinite;
  will-change: transform;
}

.vb-t3d__col:nth-child(2) .vb-t3d__track {
  animation-duration: 36s;
  animation-direction: reverse;
}

.vb-t3d__col:nth-child(3) .vb-t3d__track {
  animation-duration: 24s;
}

.vb-t3d:hover .vb-t3d__track {
  animation-play-state: paused;
}

@keyframes marquee-vertical {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.vb-t3d-card {
  width: 270px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  text-align: right;
  direction: rtl;
  transition: box-shadow 0.2s ease;
}

.vb-t3d-card:hover {
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.28);
}

.vb-t3d-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.vb-t3d-card__avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.vb-t3d-card__id {
  min-width: 0;
}

.vb-t3d-card__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  line-height: 1.4;
}

.vb-t3d-card__badge {
  flex: 0 0 16px;
  display: block;
}

.vb-t3d-card__user {
  font-size: 0.75rem;
  color: #64748b;
  text-align: right;
  line-height: 1.4;
}

.vb-t3d-card__role {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}

.vb-t3d-card__quote {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.75;
  color: #334155;
}

.vb-t3d__fade {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.vb-t3d__fade--top,
.vb-t3d__fade--bottom {
  left: 0;
  right: 0;
  height: 18%;
}

.vb-t3d__fade--top {
  top: 0;
  background: linear-gradient(to bottom, #f8f9fa 10%, rgba(248, 249, 250, 0));
}

.vb-t3d__fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, #ffffff 8%, rgba(255, 255, 255, 0));
}

.vb-t3d__fade--side {
  top: 0;
  bottom: 0;
  width: 14%;
}

.vb-t3d__fade--side-start {
  inset-inline-start: 0;
  background: linear-gradient(to left, #f8f9fa, rgba(248, 249, 250, 0));
}

.vb-t3d__fade--side-end {
  inset-inline-end: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

@media (max-width: 1199.98px) {
  .vb-t3d__col:nth-child(3) {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .vb-auth-form-col {
    min-height: 100vh;
  }

  .vb-auth-form-inner {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vb-t3d__track {
    animation: none;
  }
}
