@tailwind base; @tailwind components; @tailwind utilities; @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-Thin.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; } @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-ExtraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; } @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; } @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; } @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; } @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; } @font-face { font-family: Vazirmatn; src: url('./assets/fonts/Vazirmatn-FD/Vazirmatn-FD-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; } @font-face { font-family: 'IranNastaliq'; src: url('./assets/fonts/IranNastaliq/IranNastaliq.woff2') format('woff2'), url('./assets/fonts/IranNastaliq/IranNastaliq.woff') format('woff'), url('./assets/fonts/IranNastaliq/IranNastaliq.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Boblious'; src: url('./assets/fonts/Boblious.ttf'); } @font-face { font-family: 'Hayat'; src: url('./assets/fonts/Hayat.ttf'); } @font-face { font-family: 'DigiMadasi'; src: url('./assets/fonts/DigiMadasi.ttf'); } @layer base { :root { --background: 0 0% 100%; --foreground: 0 0% 3.9%; --card: 0 0% 100%; --card-foreground: 0 0% 3.9%; --popover: 0 0% 100%; --popover-foreground: 0 0% 3.9%; --primary: 0 0% 9%; --primary-foreground: 0 0% 98%; --secondary: 0 0% 96.1%; --secondary-foreground: 0 0% 9%; --muted: 0 0% 96.1%; --muted-foreground: 0 0% 45.1%; --accent: 0 0% 96.1%; --accent-foreground: 0 0% 9%; --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; --border: 0 0% 89.8%; --input: 0 0% 89.8%; --ring: 0 0% 3.9%; --radius: 0.5rem; --chart-1: 12 76% 61%; --chart-2: 173 58% 39%; --chart-3: 197 37% 24%; --chart-4: 43 74% 66%; --chart-5: 27 87% 67%; } * { @apply border-border; box-sizing: border-box; } html { @apply relative; direction: rtl; color-scheme: light; scroll-behavior: smooth; -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } body { @apply !font-vazirmatn relative tracking-normal bg-background text-foreground overflow-x-hidden select-none; -moz-font-feature-settings: 'ss02' !important; -webkit-font-feature-settings: 'ss02' !important; font-feature-settings: 'ss02' !important; } .break-word { word-break: break-word; } .dark { --background: 0 0% 3.9%; --foreground: 0 0% 98%; --card: 0 0% 3.9%; --card-foreground: 0 0% 98%; --popover: 0 0% 3.9%; --popover-foreground: 0 0% 98%; --primary: 0 0% 98%; --primary-foreground: 0 0% 9%; --secondary: 0 0% 14.9%; --secondary-foreground: 0 0% 98%; --muted: 0 0% 14.9%; --muted-foreground: 0 0% 63.9%; --accent: 0 0% 14.9%; --accent-foreground: 0 0% 98%; --destructive: 0 62.8% 30.6%; --destructive-foreground: 0 0% 98%; --border: 0 0% 14.9%; --input: 0 0% 14.9%; --ring: 0 0% 83.1%; --chart-1: 220 70% 50%; --chart-2: 160 60% 45%; --chart-3: 30 80% 55%; --chart-4: 280 65% 60%; --chart-5: 340 75% 55%; } } @media (prefers-color-scheme: dark) { body { @apply bg-background text-foreground; } } @media (forced-colors: active) { html { forced-color-adjust: none; } } div[role='dialog'] { @apply font-vazirmatn; } .swal2-modal { @apply p-5; } .swal2-title { @apply py-0; } .swal2-icon { @apply !mt-0; } .swal2-backdrop-show { @apply !bg-black/80; } .swal2-footer { @apply !border-none; } .swal2-cancel { background-color: white; color: hsl(var(--primary)); } .swal2-html-container { @apply !p-2; } img:where(.swal2-image) { @apply !mx-auto !my-0; } /* Hide arrow icons in Firefox */ input[type='number'] { -moz-appearance: textfield; } /* Hide arrow icons in Chrome, Safari, Edge, and other WebKit browsers */ input[type='number']::-webkit-outer-spin-button, input[type='number']::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } input[inputMode='tel'] { direction: ltr; text-align: right; } .rmdp-calendar-container-mobile { z-index: 1000 !important; pointer-events: all; @media screen and (min-width: 300px) { scale: 1.3; } @media screen and (min-width: 1024px) { scale: 1.2; } } .purple .rmdp-day { --rmdp-hover-purple: hsl(var(--secondary)); .rmdp-day-hidden span:hover { --rmdp-hover-purple: rgba(0, 0, 0, 255) !important; } } .purple .rmdp-day.rmdp-selected span:not(.highlight) { background-color: hsl(var(--secondary)) !important; } .purple .rmdp-week .rmdp-day.rmdp-disabled span:hover { background-color: transparent !important; } .leaflet-control-attribution.leaflet-control { @apply !hidden; } .pulse-animation { animation: pulse-animation 1500ms infinite; } @keyframes pulse-animation { 0% { box-shadow: 0 0 0 0px rgb(188, 43, 255, 0.3); } 100% { box-shadow: 0 0 0 20px rgba(0, 0, 0, 0); } } .parallelogram { clip-path: polygon(0% 0%, 80% 0%, 100% 100%, 20% 100%); } .recharts-brush-texts text.recharts-text:first-child { transform: translateY(-42px); } .recharts-brush-texts text.recharts-text:last-child { transform: translateY(38px); } .recharts-tooltip-item-value { display: inline-block; direction: ltr; } .rhap_container { box-shadow: none !important; background: transparent !important; .rhap_main-controls-button { color: hsl(var(--primary)) !important; } .rhap_controls-section { flex: none; } } .loginBackground { background-image: url('assets/images/loginbackground.svg'); } /* Cover image container */ .relative { position: relative; } /* Hide ReactPlayer initially */ .player-wrapper { width: auto; height: auto; } .react-player { padding-top: 56.25%; position: relative; } .react-player > div { position: absolute; } @layer base { * { @apply border-border; } body { @apply bg-background text-foreground; } }