/* Font Awesome Icons - offline/local */
@import url('../vendor/fontawesome/css/all.min.css');

/* Override font-face برای استفاده فقط از woff2 (فایل‌های TTF موجود نیست) */
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../vendor/fontawesome/webfonts/fa-brands-400.woff2') format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../vendor/fontawesome/webfonts/fa-regular-400.woff2') format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('../vendor/fontawesome/webfonts/fa-solid-900.woff2') format("woff2");
}

/* اطمینان از لود شدن آیکون‌ها */
.fa, .fas, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.fa, .fas, .far, .fab {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

/* نکته مهم:
   این بخش‌های emoji مثل .fa-sun::before همیشه آیکون اصلی رو override می‌کنن.
   اگه می‌خوای خود FontAwesome نمایش داده بشه، این بلاک‌های emoji رو کامنت/حذف کن.
*/

/* استایل‌های اضافی برای آیکون‌های فلت */
.fas {
    font-weight: 900;
}

.far {
    font-weight: 400;
}

.fab {
    font-weight: 400;
}

/* آیکون‌های جایگزین با emoji */
.fa-sun::before {
    content: "☀️";
}

.fa-moon::before {
    content: "🌙";
}

.fa-cloud::before {
    content: "☁️";
}

.fa-rain::before {
    content: "🌧️";
}

.fa-snowflake::before {
    content: "❄️";
}

.fa-bolt::before {
    content: "⚡";
}

.fa-wind::before {
    content: "💨";
}

.fa-globe::before {
    content: "🌍";
}

/* آیکون‌های جایگزین برای آیکون‌های قدیمی */
.fa-car-side::before {
    content: "🚗"; /* نماد ماشین emoji به عنوان fallback */
}

/* انیمیشن‌ها */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-pulse {
    animation: fa-spin 1s infinite steps(8);
}

/* اندازه‌ها */
.fa-xs { font-size: 0.75em; }
.fa-sm { font-size: 0.875em; }
.fa-lg { font-size: 1.33em; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }
.fa-4x { font-size: 4em; }
.fa-5x { font-size: 5em; }
.fa-6x { font-size: 6em; }
.fa-7x { font-size: 7em; }
.fa-8x { font-size: 8em; }
.fa-9x { font-size: 9em; }
.fa-10x { font-size: 10em; }

/* رنگ‌بندی آیکون‌ها */

/* آیکون‌های اصلی با رنگ #4caf50 */
.fa-home,
.fa-globe,
.fa-users,
.fa-chart-line,
.fa-shield-alt,
.fa-crown,
.fa-tachometer-alt,
.fa-server,
.fa-database,
.fa-sms,
.fa-hdd,
.fa-memory,
.fa-money-bill-wave,
.fa-bell,
.fa-inbox,
.fa-sort-amount-up,
.fa-list,
.fa-eye,
.fa-check,
.fa-plus,
.fa-save,
.fa-download,
.fa-upload,
.fa-print,
.fa-share,
.fa-heart,
.fa-star,
.fa-thumbs-up,
.fa-comment,
.fa-reply,
.fa-link,
.fa-undo,
.fa-redo,
.fa-sync,
.fa-refresh,
.fa-toggle-on,
.fa-unlock,
.fa-user-shield,
.fa-user-check,
.fa-user-plus,
.fa-user-edit,
.fa-user-cog,
.fa-user-tie,
.fa-user-graduate,
.fa-user-ninja,
.fa-user-astronaut,
.fa-user-secret,
.fa-user-md,
.fa-user-nurse,
.fa-user-injured,
.fa-user-headset,
.fa-user-clock,
.fa-user-tag,
.fa-user-friends,
.fa-user-circle,
.fa-bars,
.fa-plus-circle,
.fa-check-circle,
.fa-mobile-alt,
.fa-tag,
.fa-align-left,
.fa-tasks,
.fa-eye-slash,
.fa-camera,
.fa-location-arrow,
.fa-calendar,
.fa-clock,
.fa-map-marker-alt,
.fa-chart-bar,
.fa-phone,
.fa-envelope,
.fa-file-alt,
.fa-heading,
.fa-car,
.fa-car-side {
    color: #4caf50;
}

.fa-address-book
{
    color: #000000;
}

.fa-receipt {
    color: #ffffff;
}

.fa-route {
    color: #ffffff;
}
.fa-user {
    color: #000000;
}

.fa-edit{
    color: #000000;
}

/* آیکون‌های خاکستری (جستجو، اطلاعات) */

.fa-chevron-left,
.fa-chevron-right,
.fa-chevron-up,
.fa-chevron-down,
.fa-arrow-up,
.fa-question-circle,
.fa-info-circle,
.fa-spinner,
.fa-circle-notch,
.fa-copy,
.fa-paste {
    color: #6c757d;
}
.fa-arrow-left{
    color: #ffffff;
}

.fa-search{
    color: #000000 !important;
}

.fa-arrow-right {
    color: #000000;
}

/* آیکون‌های زرد (تنظیمات، هشدار) */

.fa-wrench,
.fa-tools,
.fa-settings,
.fa-sliders-h,
.fa-key {
    color: #ffc107;
}
.fa-cog{
    color:rgb(255, 255, 255);
}
/* آیکون خروج - سبز */
.fa-sign-out-alt {
    color: #4caf50;
}

/* آیکون‌های قرمز (حذف، خطا، منفی) */

.fa-times,
.fa-exclamation-triangle,
.fa-minus,
.fa-cut,
.fa-thumbs-down,
.fa-user-times,
.fa-user-minus,
.fa-user-slash,
.fa-user-lock,
.fa-toggle-off {
    color: #4caf50;
}

.fa-trash{
    color: #b91c1c;
}

.fa-lock {
    color: #303030;
}

/* آیکون‌های آبی (اطلاعات، لینک) */
.fa-link,
.fa-sync,
.fa-refresh,
.fa-location-arrow,
.fa-calendar,
.fa-chart-bar,
.fa-phone,
.fa-envelope {
    color: #17a2b8;
}

/* آیکون‌های بنفش (ویژه) */
.fa-users,
.fa-hdd,
.fa-list,
.fa-share,
.fa-reply,
.fa-user-graduate,
.fa-user-headset {
    color: #ffffff;
}
.fa-mobile-alt {
    color: #ffffff;
}
.fa-list {
    color: #000000}

/* آیکون‌های نارنجی (هشدار، آپلود) */
.fa-chart-line,
.fa-memory,
.fa-upload,
.fa-redo,
.fa-user-injured {
    color: #fd7e14;
}

/* آیکون‌های صورتی (عشق، پرستار) */
.fa-heart,
.fa-user-nurse {
    color: #e83e8c;
}

/* آیکون‌های سبز تیره (موفقیت) */
.fa-home,
.fa-money-bill,
.fa-check,
.fa-thumbs-up,
.fa-user-check,
.fa-user-plus,
.fa-plus-circle,
.fa-check-circle,
.fa-toggle-on,
.fa-unlock,
 {
    color: #28a745;
}
.fa-phone {
    color: #ffffff;
}

.fa-user-friends {
    color: #ffffff;
}
.fa-plus{
    color: #ffffff;
}


/* آیکون‌های آبی تیره (اطلاعات) */
.fa-tachometer-alt,
.fa-save,
.fa-user-edit,
.fa-user-md,
.fa-location-arrow {
    color: #ffffff;
}


/* آیکون‌های سبز آبی (اطلاعات) */
.fa-shield-alt,
.fa-user-shield,
.fa-user-astronaut,
.fa-user-tag,
.fa-tag,
.fa-calendar {
    color: #4caf50;
}
.fa-envelope {
    color: #111827;
}

/* آیکون‌های زرد طلایی (ستاره، تاج) */
.fa-star,
.fa-user-clock {
    color: #ffd700;
}

.fa-crown {
    color: #ffffff;
}

/* آیکون‌های خاکستری تیره (سرور، سیستم) */
.fa-server,
.fa-inbox,
.fa-print,
.fa-user-tie,
.fa-user-ninja,
.fa-user-secret,
.fa-bars,
.fa-align-left,
.fa-tasks,
.fa-eye-slash,
.fa-camera,
.fa-clock,
.fa-file-alt,
.fa-heading {
    color: #6c757d;
}
.fa-user-circle {
    color: #ffffff;
}
/* آیکون‌های قرمز (مکان) */
.fa-map-marker-alt {
    color: #ffffff;
}