/*===============  FONTS ===============*/
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  --primary-color: hsl(240, 90%, 58%);
  --secondary-color: hsl(309, 90%, 56%);
  --accent-color: hsl(44, 94%, 72%);
  --gradient-start: hsl(240, 90%, 58%);
  --gradient-end: hsl(309, 90%, 56%);

  --title-color: hsl(240, 80%, 12%);
  --text-color: hsl(240, 24%, 56%);
  --body-color: hsl(240, 52%, 96%);
  --container-color: hsl(240, 52%, 92%);

  --success-color: hsl(120, 90%, 40%);
  --error-color: hsl(0, 90%, 50%);
  --warning-color: hsl(45, 100%, 51%);

  --shadow-color: hsla(240, 90%, 24%, 0.1);
  --glass-color: hsla(240, 52%, 96%, 0.8);

  /*========== Font and typography ==========*/
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --tiny-font-size: 0.75rem;
  --h1-font-size: 2.5rem;
  --h2-font-size: 1.75rem;

  /*========== Border radius ==========*/
  --border-radius: 2rem;
  --border-radius-small: 1rem;
  --border-radius-circle: 50%;

  /*========== Transitions ==========*/
  --transition-fast: 0.3s;
  --transition-normal: 0.4s;
  --transition-slow: 0.6s;

  /*========== Z-index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/*=============== DARK MODE ===============*/
.dark-mode {
  --primary-color: hsl(240, 90%, 70%);
  --secondary-color: hsl(309, 90%, 65%);
  --accent-color: hsl(44, 94%, 72%);

  --title-color: hsl(240, 20%, 95%);
  --text-color: hsl(240, 10%, 70%);
  --body-color: hsl(240, 20%, 12%);
  --container-color: hsl(240, 20%, 18%);

  --success-color: hsl(120, 90%, 60%);
  --error-color: hsl(0, 90%, 60%);
  --warning-color: hsl(45, 100%, 61%);

  --shadow-color: hsla(240, 90%, 10%, 0.2);
  --glass-color: hsla(240, 20%, 18%, 0.8);
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', 'Noto Naskh Arabic', sans-serif;
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

input,
button {
  border: none;
  outline: none;
  background: transparent;
}

/*=============== BACKGROUND ANIMATION ===============*/
.background {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.gradient-circle {
  position: absolute;
  border-radius: var(--border-radius-circle);
  filter: blur(60px);
  opacity: 0.6;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(30px, -30px);
  }
  66% {
    transform: translate(-20px, 20px);
  }
}

.circle-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  bottom: 10%;
  left: 10%;
  animation-delay: -5s;
}

.circle-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-color)
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.1;
  animation: float-element 15s infinite linear;
}

@keyframes float-element {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(100px, -100px) rotate(360deg);
  }
}

.floating-element:nth-child(1) {
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}
.floating-element:nth-child(2) {
  top: 40%;
  left: 20%;
  animation-delay: -3s;
}
.floating-element:nth-child(3) {
  bottom: 30%;
  right: 25%;
  animation-delay: -6s;
}
.floating-element:nth-child(4) {
  bottom: 20%;
  left: 15%;
  animation-delay: -9s;
}
.floating-element:nth-child(5) {
  top: 60%;
  left: 30%;
  animation-delay: -12s;
}

/*=============== THEME TOGGLE ===============*/
.theme-toggle {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: var(--z-modal);
}

.theme-btn {
  width: 50px;
  height: 50px;
  background: var(--container-color);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.theme-btn:hover {
  transform: rotate(30deg);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

/*=============== LANGUAGE TOGGLE ===============*/
.language-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: var(--z-modal);
}

.lang-btn {
  padding: 0.5rem 1rem;
  background: var(--container-color);
  border-radius: var(--border-radius);
  font-size: var(--small-font-size);
  color: var(--text-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.lang-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

/*=============== MAIN CONTAINER ===============*/
.my-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

/*=============== LOGIN CARD ===============*/
.my-login-card {
  background: var(--glass-color);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  width: 100%;
  max-width: 520px;
  box-shadow:
    0 20px 40px var(--shadow-color),
    inset 0 1px 0 hsla(240, 52%, 96%, 0.3);
  border: 1px solid hsla(240, 52%, 96%, 0.2);
  position: relative;
  overflow: hidden;
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}

.my-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.my-login-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 600px;
  height: 600px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--primary-color) 60deg,
    var(--secondary-color) 180deg,
    var(--accent-color) 300deg,
    transparent 360deg
  );
  border-radius: var(--border-radius-circle);
  z-index: -1;
  animation: rotate 20s linear infinite;
  opacity: 0.05;
}

@keyframes rotate {
  0% {
    transform: translate(50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(50%, -50%) rotate(360deg);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-50px);
  }
}

/*=============== FORM SWITCHER ===============*/
.form-switcher {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  background: var(--container-color);
  padding: 0.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.switch-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-size: var(--normal-font-size);
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.switch-btn.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  box-shadow: 0 4px 12px hsla(240, 90%, 58%, 0.3);
}

.switch-btn:not(.active):hover {
  color: var(--primary-color);
  background: hsla(240, 90%, 58%, 0.1);
}

/*=============== LOGIN HEADER ===============*/
.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.logo-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 20px hsla(240, 90%, 58%, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px hsla(240, 90%, 58%, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 12px 30px hsla(240, 90%, 58%, 0.4);
  }
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.login-subtitle {
  color: var(--text-color);
  font-size: var(--small-font-size);
}

/*=============== LOGIN FORM ===============*/
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all var(--transition-normal);
}

.form-hidden {
  display: none;
}

/*=============== INPUT GROUP ===============*/
.input-group {
  position: relative;
}

.input-box {
  position: relative;
  height: 60px;
  border-radius: var(--border-radius);
  background: var(--container-color);
  box-shadow:
    0 4px 12px var(--shadow-color),
    inset 0 2px 4px hsla(240, 90%, 24%, 0.05);
  transition: all var(--transition-normal);
}

.input-box:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px var(--shadow-color),
    inset 0 2px 4px hsla(240, 90%, 24%, 0.05);
}

.input-box:focus-within {
  box-shadow:
    0 0 0 2px var(--primary-color),
    0 8px 20px hsla(240, 90%, 58%, 0.2);
}

.input-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    hsla(240, 90%, 58%, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.input-box:focus-within::before {
  transform: translateX(100%);
}

.input-field {
  width: 100%;
  height: 100%;
  padding: 0 4rem 0 1.5rem;
  font-size: var(--normal-font-size);
  font-weight: 500;
  color: var(--title-color);
  direction: rtl;
}

.input-field::placeholder {
  color: var(--text-color);
  opacity: 0.7;
}

.input-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
  font-size: 1.25rem;
  transition: color var(--transition-normal);
}

.input-box:focus-within .input-icon {
  color: var(--primary-color);
}

.input-label {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
  font-size: var(--normal-font-size);
  transition: all var(--transition-normal);
  pointer-events: none;
  background: var(--container-color);
  padding: 0 0.5rem;
}

.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
  top: 0;
  right: 3.5rem;
  font-size: var(--tiny-font-size);
  color: var(--primary-color);
  background: var(--container-color);
}

.input-toggle {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  z-index: var(--z-tooltip);
}

.input-toggle:hover {
  color: var(--primary-color);
}

/* Password strength indicator */
.password-strength {
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

.strength-bar {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.strength-segment {
  height: 4px;
  flex: 1;
  background: var(--container-color);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.strength-segment.active:nth-child(1) {
  background: var(--error-color);
}

.strength-segment.active:nth-child(2) {
  background: var(--warning-color);
}

.strength-segment.active:nth-child(3) {
  background: var(--success-color);
}

.strength-segment.active:nth-child(4) {
  background: var(--success-color);
}

.strength-text {
  font-size: var(--tiny-font-size);
  color: var(--text-color);
}

/* Terms checkbox */
.terms-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin: 0.5rem 0;
}

.terms-checkbox .checkbox {
  width: 18px;
  height: 18px;
}

.terms-checkbox .checkbox-label {
  font-size: var(--small-font-size);
}

.terms-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.terms-link:hover {
  text-decoration: underline;
}

/*=============== REMEMBER & FORGOT ===============*/
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-color);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkbox:checked {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-color: transparent;
}

.checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

.checkbox-label {
  font-size: var(--small-font-size);
  color: var(--text-color);
  cursor: pointer;
}

.forgot-password {
  font-size: var(--small-font-size);
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.forgot-password::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.forgot-password:hover {
  color: var(--secondary-color);
}

.forgot-password:hover::after {
  width: 100%;
}

/*=============== SUBMIT BUTTON ===============*/
.submit-btn {
  height: 56px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--border-radius);
  color: white;
  font-size: var(--normal-font-size);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 8px 20px hsla(240, 90%, 58%, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px hsla(240, 90%, 58%, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    hsla(0, 0%, 100%, 0.2),
    transparent
  );
  transform: translateX(-100%);
}

.submit-btn:hover::before {
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.submit-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.submit-btn.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*=============== SOCIAL LOGIN ===============*/
.social-login {
  margin: 2rem 0;
}

.social-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--text-color),
    transparent
  );
}

.divider-text {
  font-size: var(--small-font-size);
  color: var(--text-color);
  opacity: 0.8;
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.social-btn {
  height: 48px;
  background: var(--container-color);
  border: 1px solid hsla(240, 24%, 56%, 0.2);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  transform: translateY(-2px);
  background: var(--body-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/*=============== FORM FOOTER ===============*/
.form-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: var(--small-font-size);
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
}

.form-footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.form-footer a:hover {
  color: var(--secondary-color);
}

.form-footer a:hover::after {
  width: 100%;
}

/*=============== NOTIFICATION ===============*/
.notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--container-color);
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 24px var(--shadow-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: var(--z-modal);
  border-right: 4px solid var(--primary-color);
  max-width: 350px;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notification.success .notification-icon {
  background: hsla(120, 90%, 40%, 0.1);
  color: var(--success-color);
}

.notification.error .notification-icon {
  background: hsla(0, 90%, 50%, 0.1);
  color: var(--error-color);
}

.notification.warning .notification-icon {
  background: hsla(45, 100%, 51%, 0.1);
  color: var(--warning-color);
}

.notification-content h4 {
  color: var(--title-color);
  margin-bottom: 0.25rem;
  font-size: var(--normal-font-size);
}

.notification-content p {
  font-size: var(--small-font-size);
  color: var(--text-color);
}

/*=============== RESPONSIVE ===============*/
@media (max-width: 768px) {
  .my-login-container {
    padding: 1rem;
  }

  .my-login-card {
    padding: 2rem 1.5rem;
  }

  .logo-text {
    font-size: 1.75rem;
  }

  .social-buttons {
    grid-template-columns: 1fr;
  }

  .theme-toggle {
    top: 1rem;
    left: 1rem;
  }

  .language-toggle {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .login-title {
    font-size: 1.5rem;
  }

  .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .form-switcher {
    flex-direction: column;
  }
}
/*=============== FIX AUTOFILL STYLES ===============*/
/* رفع مشکل پس‌زمینه زرد کروم در حالت عادی */
.input-field:-webkit-autofill,
.input-field:-webkit-autofill:hover,
.input-field:-webkit-autofill:focus,
.input-field:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--container-color) inset !important;
  box-shadow: 0 0 0 30px var(--container-color) inset !important;
  -webkit-text-fill-color: var(--title-color) !important;
  caret-color: var(--title-color);
  background-color: transparent !important;
  background: transparent !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* برای حالت dark mode */
.dark-mode .input-field:-webkit-autofill,
.dark-mode .input-field:-webkit-autofill:hover,
.dark-mode .input-field:-webkit-autofill:focus,
.dark-mode .input-field:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--container-color) inset !important;
  box-shadow: 0 0 0 30px var(--container-color) inset !important;
  -webkit-text-fill-color: var(--title-color) !important;
}

/* رفع مشکل پس‌زمینه در فایرفاکس */
.input-field:autofill {
  background: var(--container-color) !important;
  color: var(--title-color) !important;
  box-shadow: 0 0 0 30px var(--container-color) inset !important;
}

/* برای Edge (کرومیوم) */
@supports (-ms-ime-align: auto) {
  .input-field:-webkit-autofill {
    background: var(--container-color) !important;
  }
}

/* اطمینان از ثابت ماندن استایل input-box هنگام autofill */
.input-box:has(.input-field:-webkit-autofill) {
  background: var(--container-color);
  box-shadow: 0 4px 12px var(--shadow-color);
}

/* رفع مشکل تغییر فونت در اندروید */
.input-field {
  font-family: 'Vazirmatn', 'Noto Naskh Arabic', sans-serif !important;
}

/* انیمیشن لیبل هنگام autofill */
.input-field:-webkit-autofill + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
  top: 0;
  right: 3.5rem;
  font-size: var(--tiny-font-size);
  color: var(--primary-color);
  background: var(--container-color);
  padding: 0 0.5rem;
  z-index: 2;
}

/* برای حالت focus */
.input-box:focus-within .input-field:-webkit-autofill + .input-label {
  color: var(--primary-color);
}
