* {
    -ms-overflow-style: none;
}


    /* مخفی کردن نوار اسکرول برای کروم، سافاری و اپرا جدید */
::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* یا background: #fff; برای نمایش پس‌زمینه */
}


        @font-face {
		    font-family: 'IRANSansWeb';
		    src: url('../fonts/BNazanin.woff2') format('woff2');
		    font-weight: normal;
		    font-style: normal;
		    font-display: swap; /* برای سرعت لود بهتر: ابتدا فونت سیستم و سپس جایگزینی */
		}
		
		/* ۲. اعمال فونت به کل سایت */
		html, body, button, input, select, textarea {
		    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
            scrollbar-width: none;
		}

		 body {
            margin: 0;
            padding: 0;
            font-family: 'Vazirmatn', sans-serif;
            background-color: #f3f4f6; /* رنگ پس‌زمینه کل سایت (خارج از هدر) */
			
        }

        .fixed-bottom-center {
            position: fixed;
            bottom: 75px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            }

         @media (min-width: 768px) {
                .fixed-bottom-center {
                    top: 24px;
                    bottom: auto;
                    left: 24px;
                    transform: none;
                    }
        }

                    /* استایل دکمه */
        .draggable-btn {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            
            /* ظاهر دکمه */
            padding: 12px 24px;
            background: linear-gradient(135deg, #ff416c, #ff4b2b);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: bold;
            cursor: grab;
            box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4);
            user-select: none; /* جلوگیری از انتخاب متن */
            touch-action: none; /* جلوگیری از اسکرول صفحه هنگام لمس دکمه */
        }

        .draggable-btn:active {
            cursor: grabbing;
            transform: scale(0.95);
        }
 
 
                   /*نقشه فوری*/


                 /* دکمه تست برای فراخوانی تابع */
        .urgentbtn-test {
            padding: 15px 30px;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
        }


                 /* استایل لیفت‌لت (پوشش تمام صفحه) */
        #location-modal {
            display: none; /* پیش‌فرض مخفی */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        /* کانتینر نقشه */
        .urgentmap-container {
            width: 90%;
            max-width: 600px;
            height: 70vh; /* 70 درصد ارتفاع صفحه */
            background: white;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        }

        /* المان نقشه */
        #map {
            width: 100%;
            height: 100%;
        }

        /* دکمه‌های کنترل پایین نقشه */
        .urgentmap-controls {
            margin-top: 15px;
            display: flex;
            gap: 10px;
            width: 90%;
            max-width: 600px;
        }

        .urgentbtn-map {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            font-weight: bold;
        }

        .urgentbtn-confirm {
            background: #28a745;
            color: white;
        }
        
        .urgentbtn-cancel {
            background: #dc3545;
            color: white;
        }

        /* راهنمای کلیک روی نقشه */
        .urgentmap-hint {
            color: white;
            margin-bottom: 10px;
            text-align: center;
        }


            /*نقشه فوری*/
        

    
 

		/* --- استایل‌های اختصاصی هدر پاب کر (Native Style) --- */

/* کانتینر اصلی هدر */
.pc-native-header {
    position: relative;
    width: 100%;
   	min-height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); /* رنگ آبی پاب کر */
     overflow: hidden;
   /* اطمینان از اینکه هدر زیر منوهای دیگر نمی‌رود اگر sticky دارید */
    z-index: 1000; 
}

/* اشکال هندسی پس‌زمینه */
.pc-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    z-index: 1;
}

.pc-shape-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: pc-morph 8s ease-in-out infinite;
}

.pc-shape-circle-2 {
    width: 200px;
    height: 200px;
    bottom: 150px;
    right: -50px;
    border-radius: 50%;
    animation: pc-float 6s ease-in-out infinite;
}

.pc-shape-square {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 10%;
    transform: rotate(45deg);
    border-radius: 20px;
    opacity: 0.5;
}

/* انیمیشن‌ها */
@keyframes pc-morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes pc-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* محتوای متنی و دکمه‌ها */
.pc-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
}

.pc-auth-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pc-auth-btn-icon {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pc-auth-btn-icon:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.pc-splash-title {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pc-user-info {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pc-user-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: bold;
}

.pc-user-dropdown-btn {
    border-radius: 12px;
}

.pc-dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pc-dropdown-item {
    padding: 0.8rem 1.5rem;
    transition: background 0.2s;
}

.pc-dropdown-item:hover {
    background-color: #f8f9fa;
}

.pc-wallet-preview {
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* دکمه نوتیفیکیشن */
.pc-btn-icon {
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* موج پایین هدر */
.pc-header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
	border-bottom: none;
    width: 100%;
    line-height: 0;
    z-index: 20;
}

.pc-header-wave svg {
    display: block;
    width: 100%;
    height: 100px; /* ارتفاع موج */
}

.pc-wave-path {
    fill: #f3f4f6; /* این رنگ باید با رنگ پس‌زمینه بدنه سایت شما (body) یکی باشد */
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .pc-native-header {
        min-height: 10vh;
        padding: 1.5rem;
    }
    .pc-splash-title {
        font-size: 1.8rem;
    }
    .pc-shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    .pc-header-wave svg {
        height: 60px;
    }
}