@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url('../font/webfonts/Vazirmatn-RD-FD-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NotoColorEmoji";
  src: url("../font/ttf/NotoColorEmoji-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: Vazir, "NotoColorEmoji", "Apple Color Emoji", sans-serif;
  background: radial-gradient(circle at center, #0f0c29, #302b63, #24243e);
}
textarea {
  font-family: Vazir, "NotoColorEmoji", "Apple Color Emoji", sans-serif !important;
}
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #10b981, #059669);
  border-radius: 8px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #059669, #047857);
}

html {
  scroll-behavior: smooth;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-5px); }
  40%,80% { transform: translateX(5px); }
}
.animate-shake {
  animation: shake 0.4s ease;
}
.animate-fadeIn {
  animation: fadeIn 0.3s ease forwards;
}

.animate-fadeOut {
  animation: fadeOut 0.3s ease forwards;
}

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

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}
@keyframes highlightFade {
  0% { box-shadow: inset 0 0 0 9999px rgba(255, 255, 0, 0.4); }
  50% { box-shadow: inset 0 0 0 9999px rgba(255, 255, 0, 0.2); }
  100% { box-shadow: inset 0 0 0 9999px rgba(255, 255, 0, 0); }
}

.highlighted {
  animation: highlightFade 2s ease;
}
.filerobot-image-editor__save-btn,
.filerobot-image-editor__close-btn {
  display: none !important;
}