@tailwind base; @tailwind components; @tailwind utilities; html { direction: rtl; overflow: hidden; max-width: 100%; } body { font-family: irancell; margin: 0; padding: 0; width: 100%; direction: rtl; overflow: hidden !important; background: #eceef6; font-weight: 300; overflow: hidden; font-feature-settings: "lnum"; /* اطمینان از نمایش اعداد انگلیسی */ } html, body { height: 100%; margin: 0; overflow: hidden !important; /* اعمال overflow: hidden با !important */ } html, body, #root { min-height: 100% !important; height: 100%; } * { outline: none; } input::placeholder, textarea::placeholder { color: #888888; } @layer components { .rowTwoInput { @apply flex flex-col items-start sm:flex-row sm:gap-5 gap-5; } .td { @apply px-6 py-4 whitespace-nowrap text-xs; } .thead { @apply h-[69px] bg-white text-sm text-[#8C90A3] rounded-3xl overflow-hidden; } .tr { @apply w-full h-[74px] bg-white border-t border-[#EAEDF5] hover:bg-secondary; } } tbody tr { background-color: white; } .thead tr td:first-child { border-top-right-radius: 23px; /* border-bottom-right-radius: 23px; */ } .thead tr td:last-child { border-top-left-radius: 23px; /* border-bottom-left-radius: 23px; */ } .rmdp-input { min-height: 40px; border-radius: 12px !important; border: 1px solid #d0d0d0 !important; font-size: 12px !important; width: 100% !important; margin: 0px; padding-right: 16px !important; } .readOny .rmdp-input { background-color: #f5f5f5 !important; border: none !important; } .rmdp-container { width: 100%; } .dltr { direction: ltr; } .drtl { direction: rtl; } .otp div { width: 100%; } .no-scrollbar::-webkit-scrollbar { display: none; } .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; } .borderDashed { background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' rx='24' ry='24' stroke='%238C90A3' stroke-width='2' stroke-dasharray='6%2C 14' stroke-dashoffset='25' stroke-linecap='square'/%3E%3C/svg%3E"); border-radius: 24px; /* تطابق با rx و ry */ overflow: hidden; /* برای رفع مشکلات برش */ } .modalGlass { background: rgba(0, 0, 0, 0.436); background-blend-mode: multiply; backdrop-filter: blur(7px); } .modalGlass2 { background: rgba(255, 255, 255, 0.502); background-blend-mode: multiply; /* backdrop-filter: blur(5px); */ } .modalGlass3 { background: rgba(62, 61, 61, 0.2); background-blend-mode: multiply; backdrop-filter: blur(44px); } .carousel .left-4 { left: 0px; } .carousel .right-4 { right: 0px; } .rc-rate-star { margin-right: 3px !important; /* فاصله بین ستاره‌ها */ } .overflowX { overflow-x: scroll; scrollbar-width: none; } .overflowX::-webkit-scrollbar { display: none; } .Toastify__toast { direction: rtl; font-family: "irancell" !important; } /* loader */ .loader { width: 22px; height: 22px; border-radius: 50%; position: relative; animation: rotate 1s linear infinite; } .loader::before, .loader::after { content: ""; box-sizing: border-box; position: absolute; inset: 0px; border-radius: 50%; border: 2px solid #0047ff; animation: prixClipFix 2s linear infinite; } .loader::after { border-color: #000; animation: prixClipFix 2s linear infinite, rotate 0.5s linear infinite reverse; inset: 6px; } @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes prixClipFix { 0% { clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .has-latin, .number, .has-number { font-family: Roboto !important; } .skeleton-box { display: inline-block; height: 1em; position: relative; overflow: hidden; background-color: #dddbdd; } .skeleton-box:after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translateX(-100%); background-image: linear-gradient( 90deg, rgba(#fff, 0) 0, rgba(#fff, 0.2) 20%, rgba(#fff, 0.5) 60%, rgba(#fff, 0) ); animation: shimmer 5s infinite; content: ""; } * { scrollbar-width: none; /* برای فایرفاکس */ -ms-overflow-style: none; /* برای اینترنت اکسپلورر و اج */ } /* برای Webkit (کروم، سافاری و اپرا) */ *::-webkit-scrollbar { display: none; } html, body { overflow-x: hidden; max-width: 100vw; }