﻿@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: 'Shabnam';
    src: url('/fonts/Shabnam.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Shabnam';
    src: url('/fonts/Shabnam-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Shabnam';
    src: url('/fonts/Shabnam-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Shabnam';
    src: url('/fonts/Shabnam-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Shabnam';
    src: url('/fonts/Shabnam-Thin.ttf') format('truetype');
    font-weight: 100;
}
/* فقط برای اعداد 0-9 لاتین */
/*@font-face {
    font-family: 'FaDigits';
    src: url('/fonts/IRANSansFaNum.woff2') format('woff2'), url('/fonts/IRANSansFaNum.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;*/ /* 0–9 */
/*}*/

/* (اختیاری اما پیشنهادی) اگر گاهی اعداد عربی/فارسی تایپ می‌کنی */
/*@font-face {
    font-family: 'FaDigits';
    src: url('/fonts/IRANSansFaNum.woff2') format('woff2'), url('/fonts/IRANSansFaNum.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    unicode-range: U+06F0-06F9, U+0660-0669;*/ /* ۰–۹ فارسی و عربی */
/*}*/
@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 100;
    src: url('/fonts/IRANSansXFaNum-Thin.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 200;
    src: url('/fonts/IRANSansXFaNum-UltraLight.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/IRANSansXFaNum-Light.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/IRANSansXFaNum-Medium.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/IRANSansXFaNum-DemiBold.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 800;
    src: url('/fonts/IRANSansXFaNum-ExtraBold.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 900;
    src: url('/fonts/IRANSansXFaNum-Black.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 950;
    src: url('/fonts/IRANSansXFaNum-ExtraBlack.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: 1000;
    src: url('/fonts/IRANSansXFaNum-Heavy.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: bold;
    src: url('/fonts/IRANSansXFaNum-Bold.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'FaDigits';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/IRANSansXFaNum-Regular.woff2') format('woff2');
    unicode-range: U+0030-0039,  U+06F0-06F9, U+0660-0669;
}

:root {
    font-family: 'FaDigits','Shabnam', system-ui, Avenir, Helvetica, Arial, sans-serif;
    background-color: #F2F2F2;
}


body {
}


.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}



/* From Uiverse.io by arghyaBiswasDev */
/* The switch - the box around the slider */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 2.7em;
    height: 1.5em;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border: 0.5px solid #adb5bd;
    transition: .4s;
    border-radius: 30px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 1em;
        width: 1em;
        border-radius: 20px;
        left: 0.1em;
        bottom: 0.23em;
        background-color: #adb5bd;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #3F72AF;
    border: 1px solid #3F72AF;
}

input:focus + .slider {
    box-shadow: 0 0 1px #3F72AF;
}

input:checked + .slider:before {
    transform: translateX(1.4em);
    background-color: #fff;
}
