 :root {
            --primary-color: #11814b;
            --primary-light: #169b59;
            --bg-color: #f8faf9;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --white: #ffffff;
            --border-color: #e5e7eb;
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.08);
            --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
            --radius-md: 15px;
            --radius-lg: 20px;
            --radius-xl: 30px;
            --color-red: #ff3b30;
            --color-green: #34c759;
            --color-blue: #007aff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Vazirmatn', sans-serif;
            -webkit-tap-highlight-color: transparent;
        }
        body { display: flex; justify-content: center; align-items: center; }

        .app-container {
            width: 100%; max-width: 420px;
            height: 100dvh; max-height: 100dvh;
            background-color: var(--bg-color);
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            display: flex;
            flex-direction: column;
        }

        /* Status Bar */
        .status-bar {
            justify-content: space-between;
            padding: 10px 20px;
            font-size: 12px;
            font-weight: bold;
            color: var(--text-dark);
            z-index: 5;
            position: absolute;
            top: 0;
            width: 100%;
            transition: color 0.3s;
        }
        .status-bar.light { color: var(--white); }
        .status-icons i { margin-right: 5px; }

        /* Views System */
        .view {
            display: none;
            height: 100%;
            flex-direction: column;
            animation: fadeIn 0.3s ease;
            padding-top: 35px;
			z-index: 4;
        }
        .view.active { display: flex; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateX(10px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .view-content {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
            padding-bottom: 100px;
            scrollbar-width: none;
        }
        .view-content::-webkit-scrollbar { display: none; }

        /* Shared Screen Header (Green) */
        .screen-header {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 16px;
            font-weight: bold;
            border-bottom-left-radius: 25px;
            border-bottom-right-radius: 25px;
            box-shadow: var(--shadow-md);
            flex-shrink: 0;
            margin-top: -35px;
          
        }
        .screen-header i { cursor: pointer; font-size: 18px; }

        /* --- Home View --- */
        .home-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 5px;
            color: var(--text-dark);
        }

        /* ===== بخش آمار مهربانی (رنج بارهای کاوایی) ===== */
        .stats-section {
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-lg);
           
            margin-bottom: 15px;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(255,255,255,0.5);
        }

        .stats-text-row {
            display: flex;
            justify-content: right;
            gap: 1px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }

        .stats-text-item {
            font-size: 12px;
            border-radius: 20px;
            letter-spacing: 0.2px;
        }

        .stats-text-item.red {
            color: var(--color-red);
            text-shadow: 0 0 12px rgba(255, 59, 48, 0.2);
        }
        .stats-text-item.green {
            color: var(--color-green);
            text-shadow: 0 0 12px rgba(52, 197, 89, 0.2);
        }
        .stats-text-item.blue {
            color: var(--color-blue);
            text-shadow: 0 0 12px rgba(0, 122, 255, 0.2);
        }

        /* ===== رنج بارهای کاوایی ===== */
        .rangeWrapper {
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
            gap: 3px;
            padding: 5px 0;
        }

        [type="range"].kawaii {
            --base: #fe8ce4;
            --light: color-mix(in sRGB, var(--base) 60%, #fff);
            --lighter: color-mix(in sRGB, var(--base) 30%, #fff);
            --dark: color-mix(in sRGB, var(--base) 95%, #000);
            --transparent: color-mix(in sRGB, var(--base) 0%, #0000);
            appearance: none;
            font-size: 1em;
            width: 100%;
            max-width: 20em;
            height: 2em;
            border: 0.5em solid #fff;
            border-radius: 2em;
            box-shadow:
                0 0 1em #0001,
                0 0.25em 0.5em #0001;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s;
        }
.rangeWrapper input[type="range"]{
    width:100%;
}

.stats-text-item{
    width:100%;
    text-align:right;
    direction:rtl;
    margin-right: 50px
}
        [type="range"].kawaii:active {
            transform: scale(0.97);
        }

        [type="range"].kawaii::-webkit-slider-runnable-track {
            background:
                radial-gradient(
                    circle at 0.75em 0.6em,
                    var(--light) calc(0.2em - 1px),
                    #0000 0.2em
                ),
                radial-gradient(
                    circle at 1.25em 0.6em,
                    var(--light) calc(0.2em - 1px),
                    #0000 0.2em
                ),
                radial-gradient(
                    circle at 5em 0.6em,
                    var(--light) calc(0.2em - 1px),
                    #0000 0.2em
                ),
                linear-gradient(var(--light) 0 0) 1.25em 0.4em / 3.75em calc(0.4em - 0.5px)
                    no-repeat,
                linear-gradient(90deg, var(--base), var(--transparent) 1em),
                linear-gradient(#0000 70%, var(--dark) 80%),
                var(--base);
            border-radius: 2em;
            height: 100%;
            overflow: hidden;
        }

        [type="range"].kawaii::-webkit-slider-thumb {
            appearance: none;
            height: 2em;
            width: 2em;
            color: var(--lighter);
            background:
                radial-gradient(
                    circle at 0.75em 0.6em,
                    var(--light) calc(0.2em - 1px),
                    #0000 0.2em
                ),
                linear-gradient(90deg, #0000 0.75em, var(--base) 0) 0 0 / 100% 50% no-repeat;
            border-radius: 50%;
            box-shadow:
                inset -0.5em 0 0.5em -0.25em var(--base),
                1em 0 0 0.25em,
                2em 0 0 0.25em,
                3em 0 0 0.25em,
                4em 0 0 0.25em,
                5em 0 0 0.25em,
                6em 0 0 0.25em,
                7em 0 0 0.25em,
                8em 0 0 0.25em,
                9em 0 0 0.25em,
                10em 0 0 0.25em,
                11em 0 0 0.25em,
                12em 0 0 0.25em,
                12em 0 0 0.25em,
                13em 0 0 0.25em,
                14em 0 0 0.25em,
                15em 0 0 0.25em,
                16em 0 0 0.25em,
                17em 0 0 0.25em,
                18em 0 0 0.25em,
                19em 0 0 0.25em;
        }

        [type="range"].kawaii::-moz-range-track {
            background:
                radial-gradient(
                    circle at 0.75em 30%,
                    var(--light) calc(0.2em - 1px),
                    #0000 0.2em
                ),
                radial-gradient(
                    circle at 1.5em 30%,
                    var(--light) calc(0.2em - 1px),
                    #0000 0.2em
                ),
                radial-gradient(
                    circle at 5.5em 30%,
                    var(--light) calc(0.2em - 1px),
                    #0000 0.2em
                ),
                linear-gradient(var(--light) 0 0) 1.5em calc(15% + 0.18em) / 4em
                    calc(0.4em - 0.5px) no-repeat,
                linear-gradient(90deg, var(--base), var(--transparent) 1em),
                linear-gradient(var(--transparent) 70%, var(--dark) 80%),
                var(--base);
            border-radius: 2em;
            height: 100%;
            overflow: hidden;
        }

        [type="range"].kawaii::-moz-range-thumb {
            appearance: none;
            height: 2em;
            width: 2em;
            border: 0;
            color: var(--lighter);
            background:
                radial-gradient(
                    circle at 0.75em 0.6em,
                    var(--light) calc(0.2em - 1px),
                    #0000 0.2em
                ),
                linear-gradient(90deg, var(--transparent) 0.75em, var(--base) 0) 0 0 / 100%
                    50% no-repeat;
            border-radius: 50% 0 50% 50% 0;
            box-shadow:
                inset -0.5em 0 0.5em -0.25em var(--base),
                1em 0 0 0.25em,
                2em 0 0 0.25em,
                3em 0 0 0.25em,
                4em 0 0 0.25em,
                5em 0 0 0.25em,
                6em 0 0 0.25em,
                7em 0 0 0.25em,
                8em 0 0 0.25em,
                9em 0 0 0.25em,
                10em 0 0 0.25em,
                11em 0 0 0.25em,
                12em 0 0 0.25em,
                12em 0 0 0.25em,
                13em 0 0 0.25em,
                14em 0 0 0.25em,
                15em 0 0 0.25em,
                16em 0 0 0.25em,
                17em 0 0 0.25em,
                18em 0 0 0.25em,
                19em 0 0 0.25em;
        }

        /* تنظیم رنگ‌های اختصاصی برای هر رنج */
        .rangeWrapper .kawaii:nth-child(1) {
            --base: #dacdcd;
        }
        .rangeWrapper .kawaii:nth-child(2) {
            --base: #e53935;
        }
        .rangeWrapper .kawaii:nth-child(3) {
            --base: #e53935;
        }

        /* ===== کارت‌های اصلی ===== */
        .home-cards {
            display: flex;
            gap: 15px;
            margin-top: auto;
            margin-bottom: 0%;
        }
        .h-card {
            flex: 1;
            border-radius: var(--radius-xl);
            padding: 20px 10px;
            text-align: center;
            box-shadow: var(--shadow-md);
            cursor: pointer;
        }
        .h-card.primary { background: linear-gradient(145deg, #169b59, #11814bc9); color: var(--white); }
        .h-card.secondary { background: #ffffffeb; color: var(--text-dark); border: 1px solid var(--border-color); }
        .h-card i { font-size: 28px; margin-bottom: 10px; padding: 15px; border-radius: 50%; }
        .h-card.primary i { background: rgba(255,255,255,0.2); }
        .h-card.secondary i { background: #e8f5e9; color: var(--primary-color); }
        .h-card h3 { font-size: 14px; margin-bottom: 5px; }
        .h-card p { font-size: 10px; opacity: 0.9; }

        /* --- Publish View --- */
        .publish-banner {
            background-color: #e8f5e9;
            color: var(--primary-color);
            padding: 10px;
            border-radius: var(--radius-md);
            text-align: center;
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 20px;
        }
        .category-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        .cat-item {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 20px 10px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            cursor: pointer;
        }
        .cat-icon {
            width: 50px;
            height: 50px;
            border-radius: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 10px auto;
            font-size: 24px;
        }
        .cat-item h4 { font-size: 12px; color: var(--text-dark); }
        
        .promo-banner {
            background: linear-gradient(135deg, #11814b, #0f5132);
            border-radius: var(--radius-lg);
            padding: 20px;
            color: var(--white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 25px;
            box-shadow: var(--shadow-md);
        }
        .promo-banner button {
            background: var(--white);
            color: var(--primary-color);
            border: none;
            padding: 8px 15px;
            border-radius: 10px;
            font-weight: bold;
            font-family: inherit;
        }

        /* --- Search View --- */
        .search-bar {
            position: relative;
            margin-bottom: 15px;
        }
        .search-bar input {
            width: 100%;
            padding: 12px 40px 12px 15px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-color);
            background: var(--white);
            font-family: inherit;
            outline: none;
        }
        .search-bar i {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
        }
        .tabs {
            display: flex;
            gap: 15px;
            overflow-x: auto;
            padding-bottom: 10px;
            margin-bottom: 15px;
            scrollbar-width: none;
        }
        .tab {
            white-space: nowrap;
            font-size: 12px;
            color: var(--text-light);
            cursor: pointer;
            padding-bottom: 5px;
        }
        .tab.active {
            color: var(--primary-color);
            font-weight: bold;
            border-bottom: 2px solid var(--primary-color);
        }
        .list-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 15px;
            margin-bottom: 12px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .list-card-content h4 { font-size: 13px; color: var(--text-dark); margin-bottom: 5px; }
        .list-card-content p { font-size: 11px; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
        .list-card-icon { font-size: 20px; }

        /* --- Map View --- */
        .map-container {
            width: 100%;
            height: calc(100% - 60px);
            background: #e5e5e5;
            border-radius: var(--radius-lg);
            position: relative;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .map-controls {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--white);
            border-radius: 10px;
            box-shadow: var(--shadow-md);
            display: flex;
            flex-direction: column;
        }
        .map-controls button {
            background: none; border: none; padding: 10px; font-size: 18px; cursor: pointer; color: var(--text-dark);
        }
        .map-legend {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 15px;
            margin-top: 15px;
            box-shadow: var(--shadow-md);
        }
        .legend-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            margin-bottom: 8px;
        }
        .legend-dot { width: 12px; height: 12px; border-radius: 50%; }

        /* --- Profile View (اصلاح شده با استایل کامل) --- */
        .profile-header-ext {
            background: var(--primary-color);
            margin: -15px -15px 20px -15px;
            padding: 20px;
            border-bottom-left-radius: 30px;
            border-bottom-right-radius: 30px;
            text-align: center;
            color: var(--white);
        }
        .avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--white);
            margin: 0 auto 10px auto;
            border: 3px solid rgba(255,255,255,0.3);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 30px;
            color: var(--primary-color);
            overflow: hidden;
        }
        .stats-box {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 15px;
            display: flex;
            justify-content: space-around;
            box-shadow: var(--shadow-md);
            margin-top: -40px;
            margin-bottom: 20px;
            position: relative;
            z-index: 5;
        }
        .stat-item { text-align: center; }
        .stat-item h3 { font-size: 18px; color: var(--primary-color); margin-bottom: 2px; }
        .stat-item p { font-size: 10px; color: var(--text-light); }
        .menu-list { list-style: none; }
        .menu-list li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid var(--border-color);
            font-size: 13px;
            color: var(--text-dark);
            cursor: pointer;
        }
        .menu-list li i.fa-chevron-left { color: var(--text-light); font-size: 10px; }

        /* ===== استایل‌های صفحه پروفایل (فرم) ===== */
        .profile-form-container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 30px;
            padding: 1.5rem;
            margin-top: 10px;
            border: 1px solid rgba(255,255,255,0.6);
            box-shadow: var(--shadow-md);
        }
         .field-group {
            margin-bottom: 15px;
        }
         .field-group label {
            font-weight: 600;
            font-size: 0.9rem;
            color: #3d2a5c;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 4px;
        }
        .field-group label i {
            color: var(--primary-color);
        }
       .field-group input,
       .field-group select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e8ddf5;
            border-radius: 18px;
            font-size: 0.95rem;
            font-family: inherit;
            background: rgba(255, 255, 255, 0.7);
            outline: none;
            transition: all 0.3s ease;
        }
       .field-group input:focus,
       .field-group select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(17, 129, 75, 0.1);
        }
       .radio-group {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            padding-top: 5px;
        }
       .radio-group label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 400;
            font-size: 0.9rem;
            cursor: pointer;
        }
        .radio-group input[type="radio"] {
            accent-color: var(--primary-color);
            width: 18px;
            height: 18px;
        }
         .section-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text-dark);
            margin: 15px 0 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .section-title i {
            color: var(--primary-color);
        }
       .kindness-box {
            background: rgba(17, 129, 75, 0.04);
            border-radius: 20px;
            padding: 12px 16px;
            border: 2px solid rgba(17, 129, 75, 0.08);
            margin-bottom: 10px;
        }
        kindness-box label {
            font-weight: 700 !important;
            font-size: 0.9rem !important;
            color: var(--text-dark) !important;
        }
         .kindness-box .kindness-tag {
            display: inline-block;
            background: var(--primary-color);
            color: white;
            padding: 1px 12px;
            border-radius: 30px;
            font-size: 0.6rem;
            font-weight: 600;
            margin-right: 4px;
        }
       .kindness-box input {
            margin-top: 6px;
        }
        .dynamic-list-box {
            margin-top: 8px;
            padding: 8px 10px;
            background: rgba(255,255,255,0.6);
            border-radius: 12px;
            border: 2px dashed rgba(17, 129, 75, 0.15);
            min-height: 40px;
        }
         .dynamic-list-box .item {
            display: inline-block;
            background: rgba(17, 129, 75, 0.08);
            padding: 4px 14px;
            border-radius: 30px;
            margin: 3px 6px 3px 0;
            font-size: 0.8rem;
            color: var(--text-dark);
        }
       .dynamic-list-box .empty-msg {
            color: var(--text-light);
            font-size: 0.8rem;
        }
        inline-hint {
            font-size: 0.7rem;
            color: var(--text-light);
            margin-top: 4px;
            display: block;
        }
         .checkbox-group {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 0;
            cursor: pointer;
        }
        .checkbox-group input[type="checkbox"] {
            width: 20px;
            height: 20px;
            accent-color: var(--primary-color);
            cursor: pointer;
        }
        .checkbox-group span {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 0.9rem;
        }
        .btn-submit {
            background: var(--primary-color);
            border: none;
            padding: 14px 20px;
            border-radius: 60px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 700;
            color: white;
            width: 100%;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(17, 129, 75, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }
       .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(17, 129, 75, 0.4);
        }
       .btn-submit:active {
            transform: scale(0.97);
        }
        .preview-area {
            margin-top: 20px;
            background: rgba(255,255,255,0.6);
            border-radius: 20px;
            padding: 15px;
            border: 2px solid rgba(17, 129, 75, 0.1);
        }
        .preview-area h3 {
            color: var(--text-dark);
            font-size: 1rem;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .preview-area h3 i {
            color: var(--primary-color);
        }
        .preview-area #previewContent {
            background: white;
            border-radius: 16px;
            padding: 12px 16px;
            font-size: 0.85rem;
            line-height: 2;
            color: var(--text-dark);
            border: 1px solid var(--border-color);
            min-height: 60px;
            white-space: pre-wrap;
            word-break: break-word;
        }
         .category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 8px;
        }
        .category-pill {
            padding: 6px 16px;
            border-radius: 30px;
            font-size: 0.8rem;
            flex: 1;
            min-width: 120px;
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(17, 129, 75, 0.06);
            border: 1px solid rgba(17, 129, 75, 0.1);
        }
        .category-pill strong {
            font-weight: 700;
        }
        @media (max-width: 480px) {
            .profile-form-container {
                padding: 1rem;
            }
            .radio-group {
                gap: 8px;
            }
            .category-pill {
                min-width: 100%;
            }
        }

        /* ===== استایل‌های صفحه حامی (انرژی دوطرفه) ===== */
        .hami-container {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            border-radius: 30px;
            padding: 1.5rem 1.2rem;
            border: 1px solid rgba(39, 133, 63, 0.06);
        }
        .hami-container .energy-status {
            background: linear-gradient(135deg, #1a4a2a, #27853f);
            border-radius: 20px;
            padding: 1.2rem 1.5rem;
            margin: 0 0 1.2rem 0;
            color: white;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 0.8rem;
        }
        .hami-container .energy-status .energy-number {
            font-size: 2.2rem;
            font-weight: 800;
        }
        .hami-container .energy-status .energy-number .unit {
            font-size: 1rem;
            opacity: 0.7;
            font-weight: 400;
        }
        .hami-container .energy-status .energy-desc {
            font-size: 0.8rem;
            opacity: 0.85;
        }
        .hami-container .energy-status .energy-bar {
            width: 100%;
            height: 6px;
            background: rgba(255,255,255,0.15);
            border-radius: 10px;
            overflow: hidden;
            margin-top: 0.3rem;
        }
        .hami-container .energy-status .energy-bar .fill {
            height: 100%;
            background: linear-gradient(90deg, #f9a825, #ed1c24);
            border-radius: 10px;
            transition: width 0.8s ease;
            width: 42%;
        }
        .hami-container .hearts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.8rem;
            margin: 1rem 0;
        }
        .hami-container .heart-item {
            background: white;
            border-radius: 20px;
            padding: 1rem 0.8rem;
            text-align: center;
            border: 2px solid #eaf0ea;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .hami-container .heart-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        }
        .hami-container .heart-item.active {
            border-color: #27853f;
            box-shadow: 0 4px 16px rgba(39,133,63,0.12);
        }
        .hami-container .heart-item .icon {
            font-size: 2.2rem;
        }
        .hami-container .heart-item .name {
            font-size: 1rem;
            font-weight: 700;
            color: #1a3a22;
            margin: 0.2rem 0;
        }
        .hami-container .heart-item .price {
            font-size: 0.75rem;
            font-weight: 600;
            color: #27853f;
            background: rgba(39,133,63,0.06);
            padding: 0.1rem 0.8rem;
            border-radius: 20px;
            display: inline-block;
        }
        .hami-container .heart-item .price.free {
            color: #5a7a62;
            background: rgba(90,122,98,0.06);
        }
        .hami-container .heart-item .energy-impact {
            font-size: 0.7rem;
            color: #3d5a45;
            padding: 0.2rem 0.4rem;
            background: rgba(237,28,36,0.04);
            border-radius: 8px;
            border-right: 3px solid #ed1c24;
            margin: 0.3rem 0;
        }
        .hami-container .heart-item .energy-impact .produce {
            color: #27853f;
            font-weight: 700;
        }
        .hami-container .heart-item .energy-impact .consume {
            color: #ed1c24;
            font-weight: 700;
        }
        .hami-container .heart-item .badge {
            display: inline-block;
            font-size: 0.5rem;
            font-weight: 700;
            padding: 0.15rem 0.7rem;
            border-radius: 20px;
            color: white;
            margin-top: 0.2rem;
        }
        .hami-container .heart-item .badge.green { background: #27853f; }
        .hami-container .heart-item .badge.red { background: #ed1c24; }
        .hami-container .heart-item .badge.gold { background: #d4a017; }
        .hami-container .heart-item .badge.gray { background: #6c8c7a; }
        .hami-container .heart-item .btn-action {
            margin-top: 0.6rem;
            border: none;
            padding: 0.4rem 1rem;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 700;
            color: white;
            cursor: pointer;
            width: 100%;
            transition: all 0.25s;
            font-family: inherit;
        }
        .hami-container .heart-item .btn-action:hover { transform: scale(1.02); }
        .hami-container .heart-item .btn-action.green-btn { background: linear-gradient(135deg, #27853f, #1a6b30); }
        .hami-container .heart-item .btn-action.red-btn { background: linear-gradient(135deg, #ed1c24, #c4161a); }
        .hami-container .heart-item .btn-action.gold-btn { background: linear-gradient(135deg, #d4a017, #b8860b); }
        .hami-container .heart-item .btn-action.gray-btn { background: linear-gradient(135deg, #6c8c7a, #4a6a58); }
        .hami-container .heart-item .btn-action:disabled { opacity: 0.4; cursor: not-allowed; }
        .hami-container .detail-panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease, margin 0.4s ease;
            opacity: 0;
            margin: 0;
        }
        .hami-container .detail-panel.open {
            max-height: 400px;
            opacity: 1;
            margin: 0.8rem 0 0.3rem;
        }
        .hami-container .detail-panel .detail-content {
            background: white;
            border-radius: 20px;
            padding: 1rem 1.2rem;
            border: 2px solid #eaf0ea;
            font-size: 0.85rem;
            line-height: 1.7;
            color: #3d5a45;
        }
        .hami-container .detail-panel .detail-content .highlight-green { color: #27853f; font-weight: 700; }
        .hami-container .detail-panel .detail-content .highlight-red { color: #ed1c24; font-weight: 700; }
        .hami-container .user-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
            margin: 1rem 0 0.5rem;
            text-align: center;
        }
        .hami-container .user-stats .stat-item {
            background: rgba(39,133,63,0.04);
            padding: 0.4rem 0.3rem;
            border-radius: 12px;
            border: 1px solid rgba(39,133,63,0.06);
        }
        .hami-container .user-stats .stat-item .number {
            font-size: 1.1rem;
            font-weight: 800;
            color: #1a4a2a;
        }
        .hami-container .user-stats .stat-item .label {
            font-size: 0.6rem;
            color: #5a7a62;
        }
        .hami-container .footer-text {
            text-align: center;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 2px solid rgba(39,133,63,0.06);
            font-size: 0.7rem;
            color: #5a7a62;
        }
        @media (max-width: 480px) {
            .hami-container .hearts-grid {
                grid-template-columns: 1fr 1fr;
                gap: 0.5rem;
            }
            .hami-container .heart-item {
                padding: 0.8rem 0.4rem;
            }
            .hami-container .heart-item .icon { font-size: 1.8rem; }
            .hami-container .heart-item .name { font-size: 0.85rem; }
            .hami-container .energy-status .energy-number { font-size: 1.8rem; }
            .hami-container .user-stats {
                grid-template-columns: repeat(2, 1fr);
            }
        }
.energy-status{
    padding:15px;
    border-radius:18px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
}

.energy-grid{
    display:flex;
    gap:12px;
    margin-bottom:12px;
	width: 100%;
}

.energy-card{
    flex:1;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.1);
    border-radius:14px;
    padding:12px;
    text-align:center;
}

.energy-title{
    font-size:1rem;
    color:rgba(255,255,255,.7);
    margin-bottom:8px;
}

.energy-value{
    font-size:1.5rem;
    font-weight:700;
    color:#fff;
}

.energy-bar{
    width:100%;
    height:8px;
    border-radius:20px;
    background:rgba(255,255,255,.12);
    overflow:hidden;
}

.energy-bar .fill{
    height:100%;
    border-radius:20px;
    background:linear-gradient(90deg,#4ade80,#22c55e,#10b981);
    transition:.4s;
}
        /* ===== کاستوم الرت ===== */
        .custom-alert-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.4);
            backdrop-filter: blur(4px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .custom-alert-overlay.open {
            visibility: visible;
            opacity: 1;
        }
        .custom-alert-box {
            background: var(--white);
            border-radius: 24px;
            padding: 30px 24px 24px;
            max-width: 340px;
            width: 90%;
            text-align: center;
            box-shadow: var(--shadow-lg);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        .custom-alert-overlay.open .custom-alert-box {
            transform: scale(1);
        }
        .custom-alert-box .alert-icon {
            font-size: 48px;
            margin-bottom: 10px;
        }
        .custom-alert-box h3 {
            font-size: 18px;
            color: var(--text-dark);
            margin-bottom: 6px;
        }
        .custom-alert-box p {
            font-size: 13px;
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 18px;
        }
        .custom-alert-box .alert-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 30px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            font-family: inherit;
        }
        .custom-alert-box .alert-btn:active { transform: scale(0.95); }

        /* Auth Sheet - حذف شد چون به ماژول منتقل شده */

        #view-home{
            position: relative;
            flex: 1;
            width: 100%;
            overflow: hidden;
        }
        #view-home::before{
            content:"";
            position:absolute;
            inset:0;
            background:url('../img/bg.webp') center center / cover no-repeat;
            z-index:0;
			
  transform: scale(1.05);
        }
        #view-home>*{
            position:relative;
            z-index:1;
        }
        .view-content{
            flex:1;
            display:flex;
            flex-direction:column;
            overflow-y:auto;
            padding:15px;
            padding-bottom:100px;
        }

        /* Bottom Navigation */
        .bottom-nav {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 80px;
            background-color: var(--white);
            border-radius: 30px 30px 0 0;
            box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 0 5px;
            z-index: 100;
        }
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 10px;
            gap: 5px;
            width: 20%;
            cursor: pointer;
        }
        .nav-item i { font-size: 22px; }
        .nav-item.active { color: var(--primary-color); font-weight: bold; }
        
        .nav-fab-container { width: 20%; display: flex; justify-content: center; position: relative; }
        .nav-fab {
            width: 60px;
            height: 60px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--white);
            font-size: 24px;
            position: absolute;
            bottom: -5px;
            box-shadow: 0 5px 15px rgba(17, 129, 75, 0.4);
            border: 5px solid var(--bg-color);
            cursor: pointer;
            transition: transform 0.2s;
        }
        .nav-fab:active { transform: scale(0.95); }
        .nav-fab-container span {
            position: absolute;
            bottom: -20px;
            font-size: 9px;
            color: var(--text-light);
            white-space: nowrap;
        }

        /* energy-flash */
        .energy-flash {
            animation: flash 0.4s ease;
        }
        @keyframes flash {
            0%, 100% { background-color: var(--bg-color); }
            50% { background-color: #e8f5e9; }
        }
.field-group input,
.field-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #d4c8e0;
    border-radius: 16px;
    font-size: 0.95rem;
    font-family: 'Vazirmatn', sans-serif;
    background: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    color: #1e132e;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

 .field-group input:focus,
.field-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(17, 129, 75, 0.12), inset 0 2px 4px rgba(0,0,0,0.02);
    background: #ffffff;
}

.field-group input::placeholder {
    color: #b0a0c0;
    font-weight: 300;
    font-size: 0.9rem;
}

/* استایل مخصوص باکس‌های مهربانی */
.kindness-box input {
    background: #ffffff !important;
    border-color: rgba(17, 129, 75, 0.15) !important;
    padding: 12px 16px;
}

 .kindness-box input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(17, 129, 75, 0.1) !important;
}
		.flower-wrapper {
            position: relative;
            width: 500px;
            height: 500px;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: floatFlower 5s ease-in-out infinite;
        }

        @keyframes floatFlower {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(2deg); }
        }

        /* گل اصلی */
        .flower {
            position: relative;
            width: 400px;
            height: 400px;
            animation: spinFlower 25s linear infinite;
        }

        @keyframes spinFlower {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* هر گلبرگ */
        .petal {
            position: absolute;
            width: 110px;
            height: 170px;
            top: 50%;
            left: 50%;
            margin-left: -55px;
            margin-top: -170px;
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            opacity: 0.92;
            border: 2px solid rgba(255, 255, 255, 0.12);
            transition: all 0.3s ease;
            transform-origin: center bottom;
            box-shadow: 0 0 30px rgba(255, 100, 150, 0.2);
        }

        /* رنگ‌بندی شاد هر گلبرگ */
        .petal:nth-child(1) { 
            transform: rotate(0deg); 
            background: radial-gradient(ellipse at 30% 30%, #ff6b9d, #e8436e);
            box-shadow: 0 0 35px rgba(255, 80, 130, 0.4);
        }
        .petal:nth-child(2) { 
            transform: rotate(45deg); 
            background: radial-gradient(ellipse at 30% 30%, #ff8aae, #f06292);
            box-shadow: 0 0 35px rgba(255, 100, 150, 0.4);
        }
        .petal:nth-child(3) { 
            transform: rotate(90deg); 
            background: radial-gradient(ellipse at 30% 30%, #ffab91, #ff7043);
            box-shadow: 0 0 35px rgba(255, 150, 80, 0.4);
        }
        .petal:nth-child(4) { 
            transform: rotate(135deg); 
            background: radial-gradient(ellipse at 30% 30%, #ffcc80, #ffa726);
            box-shadow: 0 0 35px rgba(255, 180, 50, 0.4);
        }
        .petal:nth-child(5) { 
            transform: rotate(180deg); 
            background: radial-gradient(ellipse at 30% 30%, #fff59d, #fdd835);
            box-shadow: 0 0 35px rgba(255, 215, 0, 0.4);
        }
        .petal:nth-child(6) { 
            transform: rotate(225deg); 
            background: radial-gradient(ellipse at 30% 30%, #a5d6a7, #66bb6a);
            box-shadow: 0 0 35px rgba(100, 200, 100, 0.4);
        }
        .petal:nth-child(7) { 
            transform: rotate(270deg); 
            background: radial-gradient(ellipse at 30% 30%, #81d4fa, #29b6f6);
            box-shadow: 0 0 35px rgba(50, 180, 255, 0.4);
        }
        .petal:nth-child(8) { 
            transform: rotate(315deg); 
            background: radial-gradient(ellipse at 30% 30%, #ce93d8, #ab47bc);
            box-shadow: 0 0 35px rgba(180, 80, 200, 0.4);
        }

        /* === دایره مرکزی با شمارنده === */
        .center-circle {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: radial-gradient(circle at 40% 35%, #fffde7, #ffd54f);
            box-shadow: 
                0 0 60px rgba(255, 215, 0, 0.7),
                0 0 120px rgba(255, 200, 0, 0.4),
                inset 0 -10px 40px rgba(200, 150, 0, 0.3);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10;
            border: 3px solid rgba(255, 255, 255, 0.35);
            backdrop-filter: blur(5px);
            animation: pulseCenter 2.5s ease-in-out infinite;
            transition: all 0.3s ease;
        }

        @keyframes pulseCenter {
            0%, 100% { 
                transform: translate(-50%, -50%) scale(1); 
                box-shadow: 0 0 60px rgba(255, 215, 0, 0.7), 0 0 120px rgba(255, 200, 0, 0.4);
            }
            50% { 
                transform: translate(-50%, -50%) scale(1.07); 
                box-shadow: 0 0 90px rgba(255, 215, 0, 0.9), 0 0 160px rgba(255, 200, 0, 0.5);
            }
        }

        /* شمارنده داخل دایره */
        .counter-number {
            font-size: 3.8rem;
            font-weight: 800;
            color: #4e342e;
            text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
            font-family: 'Courier New', monospace;
            letter-spacing: 2px;
            line-height: 1;
            margin-top: -5px;
        }

        .counter-label {
            font-size: 0.75rem;
            font-weight: 700;
            color: #4e342e;
            letter-spacing: 2px;
            opacity: 0.85;
            margin-top: -2px;
            text-transform: uppercase;
            background: rgba(255, 215, 0, 0.15);
            padding: 2px 12px;
            border-radius: 20px;
            border: 1px solid rgba(255, 215, 0, 0.2);
        }

        /* برگ‌های تزیینی */
        .leaf {
            position: absolute;
            width: 45px;
            height: 65px;
            border-radius: 0% 50% 50% 50%;
            background: radial-gradient(ellipse at 30% 30%, #66bb6a, #2e7d32);
            box-shadow: 0 0 25px rgba(76, 175, 80, 0.3);
            opacity: 0.5;
            z-index: 1;
        }
        .leaf1 { bottom: 30px; left: 20px; transform: rotate(25deg); }
        .leaf2 { bottom: 40px; right: 10px; transform: rotate(-35deg) scaleX(-1); }

        /* نقاط نورانی */
        .sparkle {
            position: absolute;
            width: 6px;
            height: 6px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);
            animation: sparkleAnim 3s ease-in-out infinite;
            pointer-events: none;
        }
        .sparkle:nth-child(1) { top: 8%; left: 12%; animation-delay: 0s; }
        .sparkle:nth-child(2) { top: 18%; right: 8%; animation-delay: 0.7s; width: 4px; height: 4px; }
        .sparkle:nth-child(3) { bottom: 22%; left: 4%; animation-delay: 1.4s; width: 8px; height: 8px; }
        .sparkle:nth-child(4) { bottom: 12%; right: 12%; animation-delay: 2.1s; width: 5px; height: 5px; }
        .sparkle:nth-child(5) { top: 42%; left: 3%; animation-delay: 0.4s; }
        .sparkle:nth-child(6) { top: 38%; right: 3%; animation-delay: 1.1s; }

        @keyframes sparkleAnim {
            0%, 100% { opacity: 0.2; transform: scale(0.8); }
            50% { opacity: 1; transform: scale(1.5); }
        }

        /* واکنش‌گرایی */
        @media (max-width: 550px) {
            .flower-wrapper { width: 380px; height: 380px; }
            .flower { width: 300px; height: 300px; }
            .petal { width: 80px; height: 130px; margin-left: -40px; margin-top: -130px; }
            .center-circle { width: 110px; height: 110px; }
            .counter-number { font-size: 2.6rem; }
            .counter-label { font-size: 0.6rem; padding: 2px 8px; }
            .leaf { display: none; }
        }

        @media (max-width: 420px) {
            .flower-wrapper { width: 320px; height: 320px; }
            .flower { width: 250px; height: 250px; }
            .petal { width: 65px; height: 105px; margin-left: -32.5px; margin-top: -105px; }
            .center-circle { width: 90px; height: 90px; }
            .counter-number { font-size: 2rem; }
            .counter-label { font-size: 0.5rem; padding: 1px 6px; }
        }
		.flower-scale{
    width:70px;
    height:70px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.flower-wrapper{
    transform:scale(0.40);
    transform-origin:center;
	margin-bottom: 20%;
}
@keyframes floatFlower {

    0%,100%{
        
    }

    50%{
       
    }

}
@keyframes eventPulse{
    0%,100%{
        transform:scale(1);
        box-shadow:0 0 18px rgba(255,70,70,.45);
    }
    50%{
        transform:scale(1.06);
        box-shadow:0 0 28px rgba(255,70,70,.9);
    }
}

@keyframes eventDot{
    from{
        opacity:.3;
        transform:scale(.8);
    }
    to{
        opacity:1;
        transform:scale(1.4);
    }
}
.event-card{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.12);
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(0,0,0,.15);
    margin-bottom:18px;
}

.event-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 18px;
}

.event-title{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:1rem;
    font-weight:700;
    color:#fff;
}

.live-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#ff4d4f;
    box-shadow:0 0 15px #ff4d4f;
    animation:livePulse 1s infinite;
}

@keyframes livePulse{

    0%,100%{
        opacity:1;
        transform:scale(1);
    }

    50%{
        opacity:.3;
        transform:scale(1.7);
    }

}

.event-badge{
    background:linear-gradient(135deg,#ff8a00,#ff4d4f);
    color:#fff;
    font-size:.72rem;
    font-weight:700;
    padding:6px 12px;
    border-radius:50px;
}

.event-image{
    width:100%;
    object-fit:cover;
    display:block;
}

.event-footer{
    padding:15px 18px;
}

.event-info{
    display:flex;
    justify-content:space-between;
    align-items:center;
  
    color:#fff;
    font-size:.9rem;
}

.event-info strong{
    font-size:1.2rem;
    color:#4ade80;
}

.progress{
    width:100%;
    height:9px;
    background:rgba(255,255,255,.08);
    border-radius:20px;
    overflow:hidden;
   
}

.progress-fill{
    width:72%;
    height:100%;
    border-radius:20px;
    background:linear-gradient(90deg,#22c55e,#4ade80,#a3e635);
    box-shadow:0 0 15px rgba(74,222,128,.6);
    animation:progressGlow 2s ease infinite;
}

@keyframes progressGlow{

    0%,100%{
        filter:brightness(1);
    }

    50%{
        filter:brightness(1.35);
    }

}

.progress-text{
    display:flex;
    justify-content:space-between;
    color:rgba(255,255,255,.75);
    font-size:.78rem;
}
.event-image-wrapper{
    position:relative;
}

.event-header{
    position:absolute;
    top:5px;
    left:5px;
    z-index:5;
    padding:0;
    margin:0;
}

.event-badge{
    display:flex;
    align-items:center;
    gap:8px;

    width:fit-content;

    padding:8px 14px;
    border-radius:999px;

    background:rgb(149, 13, 13);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.18);

    color:#fff;
    font-size:.78rem;
    font-weight:700;
}
		/* در بخش style */
.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 auto 10px auto;
    border: 3px solid rgba(255,255,255,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar i {
    font-size: 40px;
    color: var(--primary-color);
}
.news-ticker{
    width:100%;
    overflow:hidden;
    white-space:nowrap;
    height:28px;
    display:flex;
    align-items:center;
}

.news-track{
    position:relative;
    font-size:.88rem;
    font-weight:700;
    will-change:transform;
}

.news-track.green{ color:#22c55e; }
.news-track.white{ color:#ffffff; }
.news-track.red{ color:#ef4444; }

.news-track strong{
    color:#ffd54f;
}

@keyframes tickerMove{

    /* ورود از چپ */
    0%{
        transform:translateX(-120%);
    }

    /* رسیدن به وسط */
    20%{
        transform:translateX(0%);
    }

    /* مکث */
    60%{
        transform:translateX(0%);
    }

    /* خروج به راست */
    100%{
        transform:translateX(120%);
    }

}
		        .my-avatars-container {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 60px;
            flex-wrap: nowrap;
            width: 100%;
            max-width: 900px;
            padding: 20px;
        }

        /* ===== هر آیتم آواتار ===== */
        .my-avatar-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            flex: 0 0 auto;
        }

        .my-avatar-item .my-label {
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            background: rgba(255, 255, 255, 0.06);
            padding: 5px 16px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            white-space: nowrap;
        }

        .my-avatar-item .my-label.green {
            color: #00C853;
            border-color: rgba(0, 200, 83, 0.3);
        }

        .my-avatar-item .my-label.white {
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.2);
        }

        .my-avatar-item .my-label.red {
            color: #FF1744;
            border-color: rgba(255, 23, 68, 0.3);
        }

        .my-avatar-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            border-radius: 50%;
            transition: transform 0.3s ease;
        }

        .my-avatar-wrapper:hover {
            transform: scale(1.06);
        }

        /* ===== استایل پایه آواتار ===== */
        .my-avatar {
            --avatar-size: 150px;
            height: var(--avatar-size);
            width: var(--avatar-size);
            border: 4px solid var(--border-color);
            padding: 6px;
            border-radius: 50%;
            position: relative;
            flex-shrink: 0;
        }

        .my-avatar-inner {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
        }

        .my-avatar-inner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* ===== ذرات با اندازه نسبی ===== */
        .my-avatar::before,
        .my-avatar::after {
            content: "";
            position: absolute;
            height: calc(var(--avatar-size) * 0.04);
            /* 4% اندازه آواتار */
            width: calc(var(--avatar-size) * 0.04);
            transform: rotate(45deg);
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            margin: auto;
            border-radius: 2px;
            pointer-events: none;
        }

        .my-avatar::before {
            animation: my-avatar-animate-2 1s ease-in-out infinite;
        }

        .my-avatar::after {
            transform: rotate(12deg);
            animation: my-avatar-animate-1 1s ease-in-out infinite;
        }

        /* ===== انیمیشن‌ها با اندازه نسبی ===== */
        @keyframes my-avatar-animate-1 {
            0%,
            100% {
                box-shadow: var(--my-shadow-after-start);
            }
            50% {
                box-shadow: var(--my-shadow-after-end);
            }
        }

        @keyframes my-avatar-animate-2 {
            0%,
            100% {
                box-shadow: var(--my-shadow-before-start);
            }
            50% {
                box-shadow: var(--my-shadow-before-end);
            }
        }

        /* ============================================================ */
        /* ===== آواتار سبز ===== */
        /* ============================================================ */
        .my-avatar-green .my-avatar {
            --border-color: #00C853;
            background: rgba(0, 200, 83, 0.05);
            box-shadow: 0 0 40px rgba(0, 200, 83, 0.1);
        }

        .my-avatar-green .my-avatar::before {
            --my-shadow-before-start: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.502) calc(var(--avatar-size) * 0.185) 0px #00C853,
                calc(var(--avatar-size) * 0.289) calc(var(--avatar-size) * 0.452) 0px #00C853,
                calc(var(--avatar-size) * -0.212) calc(var(--avatar-size) * 0.469) 0px #00C853,
                calc(var(--avatar-size) * -0.526) calc(var(--avatar-size) * 0.105) 0px #00C853,
                calc(var(--avatar-size) * -0.388) calc(var(--avatar-size) * -0.377) 0px #00C853,
                calc(var(--avatar-size) * 0.068) calc(var(--avatar-size) * -0.552) 0px #00C853,
                calc(var(--avatar-size) * 0.471) calc(var(--avatar-size) * -0.319) 0px #00C853;
            --my-shadow-before-end: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.430) calc(var(--avatar-size) * 0.159) 0px #00C853,
                calc(var(--avatar-size) * 0.247) calc(var(--avatar-size) * 0.387) 0px #00C853,
                calc(var(--avatar-size) * -0.182) calc(var(--avatar-size) * 0.402) 0px #00C853,
                calc(var(--avatar-size) * -0.451) calc(var(--avatar-size) * 0.090) 0px #00C853,
                calc(var(--avatar-size) * -0.333) calc(var(--avatar-size) * -0.323) 0px #00C853,
                calc(var(--avatar-size) * 0.058) calc(var(--avatar-size) * -0.473) 0px #00C853,
                calc(var(--avatar-size) * 0.404) calc(var(--avatar-size) * -0.273) 0px #00C853;
        }

        .my-avatar-green .my-avatar::after {
            --my-shadow-after-start: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.523) calc(var(--avatar-size) * 0.146) 0px #00C853,
                calc(var(--avatar-size) * 0.423) calc(var(--avatar-size) * 0.347) 0px #00C853,
                calc(var(--avatar-size) * 0.168) calc(var(--avatar-size) * 0.506) 0px #00C853,
                calc(var(--avatar-size) * -0.152) calc(var(--avatar-size) * 0.522) 0px #00C853,
                calc(var(--avatar-size) * -0.408) calc(var(--avatar-size) * 0.369) 0px #00C853,
                calc(var(--avatar-size) * -0.512) calc(var(--avatar-size) * 0.149) 0px #00C853,
                calc(var(--avatar-size) * -0.462) calc(var(--avatar-size) * -0.210) 0px #00C853,
                calc(var(--avatar-size) * -0.262) calc(var(--avatar-size) * -0.452) 0px #00C853,
                calc(var(--avatar-size) * 0.022) calc(var(--avatar-size) * -0.557) 0px #00C853,
                calc(var(--avatar-size) * 0.312) calc(var(--avatar-size) * -0.485) 0px #00C853,
                calc(var(--avatar-size) * 0.495) calc(var(--avatar-size) * -0.295) 0px #00C853,
                calc(var(--avatar-size) * 0.557) calc(var(--avatar-size) * -0.092) 0px #00C853,
                calc(var(--avatar-size) * 0.481) calc(var(--avatar-size) * 0.231) 0px #00C853,
                calc(var(--avatar-size) * 0.279) calc(var(--avatar-size) * 0.457) 0px #00C853,
                calc(var(--avatar-size) * -0.038) calc(var(--avatar-size) * 0.577) 0px #00C853;
            --my-shadow-after-end: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.480) calc(var(--avatar-size) * 0.134) 0px #00C853,
                calc(var(--avatar-size) * 0.388) calc(var(--avatar-size) * 0.319) 0px #00C853,
                calc(var(--avatar-size) * 0.154) calc(var(--avatar-size) * 0.464) 0px #00C853,
                calc(var(--avatar-size) * -0.139) calc(var(--avatar-size) * 0.479) 0px #00C853,
                calc(var(--avatar-size) * -0.374) calc(var(--avatar-size) * 0.338) 0px #00C853,
                calc(var(--avatar-size) * -0.469) calc(var(--avatar-size) * 0.137) 0px #00C853,
                calc(var(--avatar-size) * -0.423) calc(var(--avatar-size) * -0.193) 0px #00C853,
                calc(var(--avatar-size) * -0.240) calc(var(--avatar-size) * -0.415) 0px #00C853,
                calc(var(--avatar-size) * 0.020) calc(var(--avatar-size) * -0.511) 0px #00C853,
                calc(var(--avatar-size) * 0.286) calc(var(--avatar-size) * -0.444) 0px #00C853,
                calc(var(--avatar-size) * 0.454) calc(var(--avatar-size) * -0.271) 0px #00C853,
                calc(var(--avatar-size) * 0.511) calc(var(--avatar-size) * -0.085) 0px #00C853,
                calc(var(--avatar-size) * 0.441) calc(var(--avatar-size) * 0.211) 0px #00C853,
                calc(var(--avatar-size) * 0.256) calc(var(--avatar-size) * 0.419) 0px #00C853,
                calc(var(--avatar-size) * -0.035) calc(var(--avatar-size) * 0.529) 0px #00C853;
        }

        /* ============================================================ */
        /* ===== آواتار سفید ===== */
        /* ============================================================ */
        .my-avatar-white .my-avatar {
            --border-color: #ffffff;
            background: rgba(255, 255, 255, 0.03);
            box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
        }

        .my-avatar-white .my-avatar::before {
            --my-shadow-before-start: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.502) calc(var(--avatar-size) * 0.185) 0px #ffffff,
                calc(var(--avatar-size) * 0.289) calc(var(--avatar-size) * 0.452) 0px #ffffff,
                calc(var(--avatar-size) * -0.212) calc(var(--avatar-size) * 0.469) 0px #ffffff,
                calc(var(--avatar-size) * -0.526) calc(var(--avatar-size) * 0.105) 0px #ffffff,
                calc(var(--avatar-size) * -0.388) calc(var(--avatar-size) * -0.377) 0px #ffffff,
                calc(var(--avatar-size) * 0.068) calc(var(--avatar-size) * -0.552) 0px #ffffff,
                calc(var(--avatar-size) * 0.471) calc(var(--avatar-size) * -0.319) 0px #ffffff;
            --my-shadow-before-end: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.430) calc(var(--avatar-size) * 0.159) 0px #ffffff,
                calc(var(--avatar-size) * 0.247) calc(var(--avatar-size) * 0.387) 0px #ffffff,
                calc(var(--avatar-size) * -0.182) calc(var(--avatar-size) * 0.402) 0px #ffffff,
                calc(var(--avatar-size) * -0.451) calc(var(--avatar-size) * 0.090) 0px #ffffff,
                calc(var(--avatar-size) * -0.333) calc(var(--avatar-size) * -0.323) 0px #ffffff,
                calc(var(--avatar-size) * 0.058) calc(var(--avatar-size) * -0.473) 0px #ffffff,
                calc(var(--avatar-size) * 0.404) calc(var(--avatar-size) * -0.273) 0px #ffffff;
        }

        .my-avatar-white .my-avatar::after {
            --my-shadow-after-start: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.523) calc(var(--avatar-size) * 0.146) 0px #ffffff,
                calc(var(--avatar-size) * 0.423) calc(var(--avatar-size) * 0.347) 0px #ffffff,
                calc(var(--avatar-size) * 0.168) calc(var(--avatar-size) * 0.506) 0px #ffffff,
                calc(var(--avatar-size) * -0.152) calc(var(--avatar-size) * 0.522) 0px #ffffff,
                calc(var(--avatar-size) * -0.408) calc(var(--avatar-size) * 0.369) 0px #ffffff,
                calc(var(--avatar-size) * -0.512) calc(var(--avatar-size) * 0.149) 0px #ffffff,
                calc(var(--avatar-size) * -0.462) calc(var(--avatar-size) * -0.210) 0px #ffffff,
                calc(var(--avatar-size) * -0.262) calc(var(--avatar-size) * -0.452) 0px #ffffff,
                calc(var(--avatar-size) * 0.022) calc(var(--avatar-size) * -0.557) 0px #ffffff,
                calc(var(--avatar-size) * 0.312) calc(var(--avatar-size) * -0.485) 0px #ffffff,
                calc(var(--avatar-size) * 0.495) calc(var(--avatar-size) * -0.295) 0px #ffffff,
                calc(var(--avatar-size) * 0.557) calc(var(--avatar-size) * -0.092) 0px #ffffff,
                calc(var(--avatar-size) * 0.481) calc(var(--avatar-size) * 0.231) 0px #ffffff,
                calc(var(--avatar-size) * 0.279) calc(var(--avatar-size) * 0.457) 0px #ffffff,
                calc(var(--avatar-size) * -0.038) calc(var(--avatar-size) * 0.577) 0px #ffffff;
            --my-shadow-after-end: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.480) calc(var(--avatar-size) * 0.134) 0px #ffffff,
                calc(var(--avatar-size) * 0.388) calc(var(--avatar-size) * 0.319) 0px #ffffff,
                calc(var(--avatar-size) * 0.154) calc(var(--avatar-size) * 0.464) 0px #ffffff,
                calc(var(--avatar-size) * -0.139) calc(var(--avatar-size) * 0.479) 0px #ffffff,
                calc(var(--avatar-size) * -0.374) calc(var(--avatar-size) * 0.338) 0px #ffffff,
                calc(var(--avatar-size) * -0.469) calc(var(--avatar-size) * 0.137) 0px #ffffff,
                calc(var(--avatar-size) * -0.423) calc(var(--avatar-size) * -0.193) 0px #ffffff,
                calc(var(--avatar-size) * -0.240) calc(var(--avatar-size) * -0.415) 0px #ffffff,
                calc(var(--avatar-size) * 0.020) calc(var(--avatar-size) * -0.511) 0px #ffffff,
                calc(var(--avatar-size) * 0.286) calc(var(--avatar-size) * -0.444) 0px #ffffff,
                calc(var(--avatar-size) * 0.454) calc(var(--avatar-size) * -0.271) 0px #ffffff,
                calc(var(--avatar-size) * 0.511) calc(var(--avatar-size) * -0.085) 0px #ffffff,
                calc(var(--avatar-size) * 0.441) calc(var(--avatar-size) * 0.211) 0px #ffffff,
                calc(var(--avatar-size) * 0.256) calc(var(--avatar-size) * 0.419) 0px #ffffff,
                calc(var(--avatar-size) * -0.035) calc(var(--avatar-size) * 0.529) 0px #ffffff;
        }

        /* ============================================================ */
        /* ===== آواتار قرمز ===== */
        /* ============================================================ */
        .my-avatar-red .my-avatar {
            --border-color: #FF1744;
            background: rgba(255, 23, 68, 0.05);
            box-shadow: 0 0 40px rgba(255, 23, 68, 0.1);
        }

        .my-avatar-red .my-avatar::before {
            --my-shadow-before-start: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.502) calc(var(--avatar-size) * 0.185) 0px #FF1744,
                calc(var(--avatar-size) * 0.289) calc(var(--avatar-size) * 0.452) 0px #FF1744,
                calc(var(--avatar-size) * -0.212) calc(var(--avatar-size) * 0.469) 0px #FF1744,
                calc(var(--avatar-size) * -0.526) calc(var(--avatar-size) * 0.105) 0px #FF1744,
                calc(var(--avatar-size) * -0.388) calc(var(--avatar-size) * -0.377) 0px #FF1744,
                calc(var(--avatar-size) * 0.068) calc(var(--avatar-size) * -0.552) 0px #FF1744,
                calc(var(--avatar-size) * 0.471) calc(var(--avatar-size) * -0.319) 0px #FF1744;
            --my-shadow-before-end: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.430) calc(var(--avatar-size) * 0.159) 0px #FF1744,
                calc(var(--avatar-size) * 0.247) calc(var(--avatar-size) * 0.387) 0px #FF1744,
                calc(var(--avatar-size) * -0.182) calc(var(--avatar-size) * 0.402) 0px #FF1744,
                calc(var(--avatar-size) * -0.451) calc(var(--avatar-size) * 0.090) 0px #FF1744,
                calc(var(--avatar-size) * -0.333) calc(var(--avatar-size) * -0.323) 0px #FF1744,
                calc(var(--avatar-size) * 0.058) calc(var(--avatar-size) * -0.473) 0px #FF1744,
                calc(var(--avatar-size) * 0.404) calc(var(--avatar-size) * -0.273) 0px #FF1744;
        }

        .my-avatar-red .my-avatar::after {
            --my-shadow-after-start: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.523) calc(var(--avatar-size) * 0.146) 0px #FF1744,
                calc(var(--avatar-size) * 0.423) calc(var(--avatar-size) * 0.347) 0px #FF1744,
                calc(var(--avatar-size) * 0.168) calc(var(--avatar-size) * 0.506) 0px #FF1744,
                calc(var(--avatar-size) * -0.152) calc(var(--avatar-size) * 0.522) 0px #FF1744,
                calc(var(--avatar-size) * -0.408) calc(var(--avatar-size) * 0.369) 0px #FF1744,
                calc(var(--avatar-size) * -0.512) calc(var(--avatar-size) * 0.149) 0px #FF1744,
                calc(var(--avatar-size) * -0.462) calc(var(--avatar-size) * -0.210) 0px #FF1744,
                calc(var(--avatar-size) * -0.262) calc(var(--avatar-size) * -0.452) 0px #FF1744,
                calc(var(--avatar-size) * 0.022) calc(var(--avatar-size) * -0.557) 0px #FF1744,
                calc(var(--avatar-size) * 0.312) calc(var(--avatar-size) * -0.485) 0px #FF1744,
                calc(var(--avatar-size) * 0.495) calc(var(--avatar-size) * -0.295) 0px #FF1744,
                calc(var(--avatar-size) * 0.557) calc(var(--avatar-size) * -0.092) 0px #FF1744,
                calc(var(--avatar-size) * 0.481) calc(var(--avatar-size) * 0.231) 0px #FF1744,
                calc(var(--avatar-size) * 0.279) calc(var(--avatar-size) * 0.457) 0px #FF1744,
                calc(var(--avatar-size) * -0.038) calc(var(--avatar-size) * 0.577) 0px #FF1744;
            --my-shadow-after-end: 0px 0px 0px transparent,
                calc(var(--avatar-size) * 0.480) calc(var(--avatar-size) * 0.134) 0px #FF1744,
                calc(var(--avatar-size) * 0.388) calc(var(--avatar-size) * 0.319) 0px #FF1744,
                calc(var(--avatar-size) * 0.154) calc(var(--avatar-size) * 0.464) 0px #FF1744,
                calc(var(--avatar-size) * -0.139) calc(var(--avatar-size) * 0.479) 0px #FF1744,
                calc(var(--avatar-size) * -0.374) calc(var(--avatar-size) * 0.338) 0px #FF1744,
                calc(var(--avatar-size) * -0.469) calc(var(--avatar-size) * 0.137) 0px #FF1744,
                calc(var(--avatar-size) * -0.423) calc(var(--avatar-size) * -0.193) 0px #FF1744,
                calc(var(--avatar-size) * -0.240) calc(var(--avatar-size) * -0.415) 0px #FF1744,
                calc(var(--avatar-size) * 0.020) calc(var(--avatar-size) * -0.511) 0px #FF1744,
                calc(var(--avatar-size) * 0.286) calc(var(--avatar-size) * -0.444) 0px #FF1744,
                calc(var(--avatar-size) * 0.454) calc(var(--avatar-size) * -0.271) 0px #FF1744,
                calc(var(--avatar-size) * 0.511) calc(var(--avatar-size) * -0.085) 0px #FF1744,
                calc(var(--avatar-size) * 0.441) calc(var(--avatar-size) * 0.211) 0px #FF1744,
                calc(var(--avatar-size) * 0.256) calc(var(--avatar-size) * 0.419) 0px #FF1744,
                calc(var(--avatar-size) * -0.035) calc(var(--avatar-size) * 0.529) 0px #FF1744;
        }

         
            .my-avatars-container {
                gap: 15px;
                padding: 5px;
            }

            .my-avatar {
                --avatar-size: 100px !important;
                border-width: 3px !important;
                padding: 4px !important;
            }

            .my-avatar-wrapper {
                padding: 8px;
            }

            .my-avatar-item .my-label {
                font-size: 0.55rem;
                padding: 3px 10px;
                letter-spacing: 0.5px;
            }

            /* ذرات با اندازه نسبی کوچیک‌تر */
            .my-avatar::before,
            .my-avatar::after {
                height: calc(var(--avatar-size) * 0.05) !important;
                width: calc(var(--avatar-size) * 0.05) !important;
            }
     

        @media (max-width: 360px) {
            .my-avatars-container {
                gap: 8px;
                padding: 3px;
            }

            .my-avatar {
                --avatar-size: 65px !important;
                border-width: 2px !important;
                padding: 3px !important;
            }

            .my-avatar-wrapper {
                padding: 5px;
            }

            .my-avatar-item .my-label {
                font-size: 0.45rem;
                padding: 2px 8px;
                letter-spacing: 0px;
            }

            .my-avatar::before,
            .my-avatar::after {
                height: calc(var(--avatar-size) * 0.06) !important;
                width: calc(var(--avatar-size) * 0.06) !important;
            }
        }
		.wrap {
  height:100%;
  top:0px;
}
svg {
  width:560px;
  position:relative;
  height:280px;
  margin:0 auto;
  display:block;
}
svg line {
  stroke-width:2px;
   stroke:rgba(2,162,239,1);
}
svg #svg_2 {
	stroke-dasharray: 1680;
  stroke-dashoffset: 1680;
}
svg #svg_4 {
	stroke-dasharray: 1680;
  stroke-dashoffset: -280;
}
svg #svg_3 {
	stroke-dasharray: 1680;
  stroke-dashoffset: -580;
}
svg #svg_5 {
	stroke-dasharray: 1680;
  stroke-dashoffset: -280;
}
@keyframes anim-dash {
  90% {
    stroke:rgba(2,162,239,1);
  }
  100% {
    stroke:#ffffff;
    stroke-dashoffset: 0;
    opacity:1;
  }
}
 /* ============================================================ */
        /* ===== مودال ===== */
        /* ============================================================ */
        .my-overlay {
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            opacity: 0;
            z-index: -999;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .my-overlay.active {
            opacity: 1;
            z-index: 9999;
        }

        .my-modal {
            position: relative;
            width: 520px;
            max-width: 90vw;
            background: linear-gradient(145deg, #ffffff, #f5f5f5);
            border-radius: 20px;
            padding: 0;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
            transform: translateY(30px) scale(0.95);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            overflow: hidden;
        }

        .my-overlay.active .my-modal {
            transform: translateY(0) scale(1);
            opacity: 1;
        }

        /* ===== هدر مودال ===== */
        .my-modal-header {
            padding: 25px 30px 0 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .my-modal-header .my-modal-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1a1a2e;
            letter-spacing: 0.5px;
        }

        .my-modal-close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: rgba(0, 0, 0, 0.05);
            color: #666;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .my-modal-close:hover {
            background: rgba(255, 23, 68, 0.1);
            color: #FF1744;
            transform: rotate(90deg);
        }

        /* ===== بدنه مودال ===== */
        .my-modal-body {
            padding: 25px 30px 30px 30px;
            display: flex;
            gap: 25px;
            align-items: center;
        }

        .my-modal-body .my-modal-image {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            border: 4px solid var(--modal-border-color, #00C853);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .my-modal-body .my-modal-info {
            flex: 1;
        }

        .my-modal-body .my-modal-info .my-modal-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 4px;
        }

        .my-modal-body .my-modal-info .my-modal-role {
            font-size: 0.85rem;
            color: #888;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .my-modal-body .my-modal-info .my-modal-desc {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.6;
        }

        /* ===== فوتر مودال ===== */
        .my-modal-footer {
            padding: 0 30px 30px 30px;
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            padding-top: 20px;
        }

        .my-modal-footer .my-btn {
            padding: 10px 30px;
            border-radius: 30px;
            border: none;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .my-modal-footer .my-btn-primary {
            background: linear-gradient(135deg, var(--btn-color, #00C853), var(--btn-color-dark, #009624));
            color: white;
            box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
        }

        .my-modal-footer .my-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
        }

        .my-modal-footer .my-btn-secondary {
            background: rgba(0, 0, 0, 0.05);
            color: #666;
        }

        .my-modal-footer .my-btn-secondary:hover {
            background: rgba(0, 0, 0, 0.1);
        }

        /* ===== رنگ‌های مختلف مودال ===== */
        .my-modal-green .my-modal-body .my-modal-image {
            --modal-border-color: #00C853;
        }
        .my-modal-green .my-modal-footer .my-btn-primary {
            --btn-color: #00C853;
            --btn-color-dark: #009624;
        }

        .my-modal-white .my-modal-body .my-modal-image {
            --modal-border-color: #888;
        }
        .my-modal-white .my-modal-footer .my-btn-primary {
            --btn-color: #666;
            --btn-color-dark: #444;
        }

        .my-modal-red .my-modal-body .my-modal-image {
            --modal-border-color: #FF1744;
        }
        .my-modal-red .my-modal-footer .my-btn-primary {
            --btn-color: #FF1744;
            --btn-color-dark: #d50000;
        }

        /* ============================================================ */
        /* ===== ریسپانسیو ===== */
        /* ============================================================ */
        @media (max-width: 768px) {
            .my-avatars-container {
                gap: 30px;
                padding: 10px;
            }
            .my-avatar {
                --avatar-size: 110px !important;
            }
            .my-avatar-wrapper {
                padding: 12px;
            }
            .my-avatar-item .my-label {
                font-size: 0.65rem;
                padding: 4px 12px;
            }
            .my-modal {
                width: 90vw;
            }
            .my-modal-body {
                flex-direction: column;
                text-align: center;
                padding: 20px;
            }
            .my-modal-body .my-modal-image {
                width: 80px;
                height: 80px;
            }
            .my-modal-footer {
                flex-direction: column-reverse;
                padding: 0 20px 20px 20px;
            }
            .my-modal-footer .my-btn {
                justify-content: center;
            }
            .my-modal-header {
                padding: 20px 20px 0 20px;
            }
        }

        @media (max-width: 480px) {
            .my-avatars-container {
                gap: 15px;
                padding: 5px;
            }
            .my-avatar {
                --avatar-size: 80px !important;
                border-width: 3px !important;
                padding: 4px !important;
            }
            .my-avatar-wrapper {
                padding: 8px;
            }
            .my-avatar-item .my-label {
                font-size: 0.55rem;
                padding: 3px 10px;
                letter-spacing: 0.5px;
            }
            .my-avatar::before,
            .my-avatar::after {
                height: calc(var(--avatar-size) * 0.05) !important;
                width: calc(var(--avatar-size) * 0.05) !important;
            }
            .my-modal-body .my-modal-image {
                width: 60px;
                height: 60px;
            }
            .my-modal-body .my-modal-info .my-modal-name {
                font-size: 1.1rem;
            }
        }
		.status-bar{
    display:flex;
    align-items:center;
    gap:10px;           /* فاصله بین لوگو و تیکر */
    width:100%;
}

.status-logo{
    width:8%;
    min-width:32px;
    max-width:45px;
    flex-shrink:0;
}

.news-ticker{
    flex:1;             /* تمام فضای باقی‌مانده را بگیرد */
    overflow:hidden;
    white-space:nowrap;
}
/* ===== استایل اسکرول صفحه نقشه ===== */
#view-map .view-content {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    height: calc(100vh - 130px) !important;
    max-height: calc(100vh - 130px) !important;
    padding: 12px 12px 30px 12px !important;
    display: block !important;
    scroll-behavior: smooth;
}

#view-map .view-content::-webkit-scrollbar {
    width: 4px;
}

#view-map .view-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#view-map .view-content::-webkit-scrollbar-thumb {
    background: #11814b;
    border-radius: 4px;
}

/* اطمینان از اینکه نقشه کوچک نمیشه */
#view-map .view-content > div {
    height: auto !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

#kindness-map {
    flex-shrink: 0 !important;
    height: 400px !important;
    min-height: 300px !important;
    width: 100% !important;
}	