@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;300;400;500;700;900&display=swap');

:root {
    --primary-color: #00b894;
    --primary-dark: #00b894;
    --secondary-color: #0984e3;
    --bg-color: #f5f6fa;
    --card-bg: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #0f172a;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    overflow-x: hidden;
}

.app-container {
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    background-color: var(--bg-color);
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 85px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 70px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    z-index: 50;
    padding: 0 10px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8a8d99;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 20%;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.bottom-nav-home-wrapper {
    position: relative;
    width: 20%;
    display: flex;
    justify-content: center;
}

.bottom-nav-home-btn {
    position: absolute;
    bottom: 15px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--primary-color), #05c46b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.4);
    border: 5px solid #ffffff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 60;
}

.bottom-nav-home-btn:hover {
    transform: scale(1.08);
}

.bottom-nav-home-btn i {
    font-size: 24px;
}

.bottom-nav::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 45px;
    background: #ffffff;
    border-radius: 50px 50px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    z-index: -1;
}

@keyframes pulse-shimmer {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.shimmer {
    animation: pulse-shimmer 1.5s infinite ease-in-out;
}

.toast-notification {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #2d3436;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-success {
    background-color: var(--primary-color);
}

.toast-error {
    background-color: #ff7675;
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.closed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    pointer-events: all;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

#map-picker {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    z-index: 10;
}