@import url('../fonts/iranyekan.css');

img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body {
  font-family: IRANYekanWeb, sans-serif;
}

.bg-overlay {
  backdrop-filter: blur(3px);
}

.slideshow-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* opacity: 0; */
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
  will-change: transform, opacity;
}

.slideshow-image.active {
  opacity: 1;
  transform: scale(1.08);
}

.content-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-primary {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.12);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3), 0 4px 6px -2px rgba(79, 70, 229, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
}

.input-field {
  transition: all 0.2s ease;
}

.input-field:focus {
  box-shadow: 0 0 0 3px rgba(199, 210, 254, 0.5);
}

.float-label-container {
  position: relative;
  direction: rtl;
}

.float-label-container input {
  text-align: left;
  /* متن کاربر چپ‌چین */
}

.float-label-container label {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  transition: all 0.2s ease;
  background: white;
  padding: 2px 8px;
  border-radius: 5px;
}

.float-label-container input:focus+label,
.float-label-container input:not(:placeholder-shown)+label {
  top: 0;
  right: 12px;
  font-size: 0.75rem;
  color: #000;
}