/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* Custom Arsamnet styles */
html, body {
    font-family: Dana;
    direction: rtl;
    text-align: right;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

.sidebar .sidebar-menu-item-icon-wrapper {
    margin: 0 0 0 8px;
}

.dropdown-toggle::after {
    margin: 0 4px 0 0;
}

.card-sidebar .card-header h3.card-title i.fas.card-minimise {
    float: left !important;
}

/* ==========================================================
   ARSAMNET Header
   ========================================================== */

@font-face {
    font-family: "Dana";
    src: url("https://arsamnet.com/wp-content/uploads/2026/07/DanaVF.woff2")
        format("woff-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.arsam-header,
.arsam-header *,
.arsam-header *::before,
.arsam-header *::after {
    box-sizing: border-box;
}

.arsam-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background-color: #ffffff;

    box-shadow:
        0 5px 13px rgba(15, 23, 42, 0.08),
        0 2px 4px rgba(15, 23, 42, 0.035);

    font-family: "Dana", "Vazirmatn", Tahoma, sans-serif;
}

.arsam-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1260px;
    height: 70px;
    margin-right: auto;
    margin-left: auto;
    direction: rtl;
}

.arsam-header__side {
    display: flex;
    align-items: center;

    flex: 1 1 0;
    min-width: 0;
}

.arsam-header__logo-area {
    justify-content: flex-start;
}

.arsam-header__portal-area {
    justify-content: flex-end;
}

.arsam-header__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    max-width: 100%;

    color: inherit;
    text-decoration: none;
}

.arsam-header__logo-link:hover,
.arsam-header__logo-link:focus {
    color: inherit;
    text-decoration: none;
}

.arsam-header__logo {
    display: block;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

.arsam-header__navigation {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 1 auto;
    min-width: 0;
}

.arsam-header__menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 42px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.arsam-header__menu-item {
    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    white-space: nowrap;
}

.arsam-header__menu-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 19px 0;

    color: #4d4f59;

    font-family: inherit;
    font-size: 16px;
    line-height: 32px;

    text-decoration: none;
    font-variation-settings: "KASH" 6;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.arsam-header__menu-link:hover,
.arsam-header__menu-link:focus {
    color: #ff5429;
    text-decoration: none;
}

.arsam-header__portal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    height: 34px;
    padding: 9px 20px;
    border-radius: 8px;
    background-color: #ff5429;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    text-decoration: none;
    border: 1px solid #ff5429;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.arsam-header__portal-button i {
    font-size: 12px;
}

.arsam-header__portal-button:hover,
.arsam-header__portal-button:focus {
    border-color: #ec431d;
    outline: none;
    background-color: #ec431d;
    color: #ffffff;

    text-decoration: none;
}

.arsam-header__portal-button:active {
    transform: translateY(0);
}

.arsam-header__portal-text {
    display: inline-block;
}

.arsam-header__portal-icon {
    display: block;

    flex: 0 0 auto;

    width: 24px;
    height: 24px;

    color: currentColor;
}

/* =========================================
   ArsamNet - User Account Dropdown
   ========================================= */

.arsam-header__portal-area {
    position: relative;
}

.arsam-header__account {
    position: relative;
}

.arsam-header__account-button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.arsam-header__account-button::after {
    display: none;
}

.arsam-header__account-arrow {
    font-size: 10px;
    margin-right: 3px;
    transition: transform 0.2s ease;
}

.arsam-header__account.show .arsam-header__account-arrow {
    transform: rotate(180deg);
}


/* Dropdown */

.arsam-header__account-menu {
    width: 270px;
    padding: 8px;
    margin-top: 12px;

    right: auto;
    left: 0;

    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(0, 0, 0, 0.04);

    text-align: right;
}


/* User information */

.arsam-header__account-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 7px 10px;
}

.arsam-header__account-avatar {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f3f4f6;

    font-size: 16px;
}

.arsam-header__account-user {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.arsam-header__account-user strong {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arsam-header__account-user small {
    margin-top: 2px;

    color: #8a8f98;
    font-size: 11px;

    direction: ltr;
    text-align: right;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Menu items */

.arsam-header__account-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 9px 10px;

    border-radius: 8px;

    color: #333;
    font-size: 13px;
    font-weight: 500;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.arsam-header__account-item i {
    width: 18px;
    text-align: center;
    color: #858b94;
    font-size: 13px;
}

.arsam-header__account-item:hover,
.arsam-header__account-item:focus {
    background: #f6f7f9;
    color: #111;
}

.arsam-header__account-item:hover i {
    color: inherit;
}


/* Dividers */

.arsam-header__account-menu .dropdown-divider {
    margin: 6px 3px;
    border-color: #eeeeee;
}


/* Logout */

.arsam-header__account-logout {
    color: #ce0000;
}

.arsam-header__account-logout i {
    color: #ce0000;
}

.arsam-header__account-logout:hover {
    color: #ce0000;
    background: #fff7ed;
}


/* Mobile */

@media (max-width: 767px) {

    .arsam-header__account-menu {
        width: 260px;
        max-width: calc(100vw - 30px);
    }

    .arsam-header__portal-text {
        white-space: nowrap;
    }

}

/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 1200px) {
    .arsam-header__container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .arsam-header__menu {
        gap: 25px;
    }

    .arsam-header__menu-link {
        font-size: 16px;
    }

    .arsam-header__logo {
        max-width: 200px;
        height: 46px;
    }

    .arsam-header__portal-button {
        min-width: 165px;
        min-height: 46px;

        padding-right: 16px;
        padding-left: 16px;

        font-size: 15px;
    }
}

/* ==========================================================
   Mobile and small tablet
   ========================================================== */

@media (max-width: 900px) {
    .arsam-header__container {
        flex-wrap: wrap;

        min-height: auto;

        padding-top: 14px;
        padding-bottom: 11px;

        row-gap: 11px;
    }

    .arsam-header__side {
        flex-basis: 50%;
    }

    .arsam-header__navigation {
        order: 3;

        flex: 1 1 100%;

        width: 100%;

        justify-content: flex-start;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .arsam-header__navigation::-webkit-scrollbar {
        display: none;
    }

    .arsam-header__menu {
        justify-content: flex-start;

        width: max-content;
        min-width: 100%;

        gap: 26px;
    }

    .arsam-header__menu-link {
        padding-top: 8px;
        padding-bottom: 8px;

        font-size: 15px;
    }
}

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 600px) {
    .arsam-header__container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .arsam-header__logo {
        max-width: 148px;
        height: 40px;
    }

    .arsam-header__portal-button {
        min-width: auto;
        min-height: 42px;

        padding: 8px 12px;

        border-radius: 8px;

        font-size: 13px;

        gap: 6px;
    }

    .arsam-header__portal-icon {
        width: 20px;
        height: 20px;
    }

    .arsam-header__menu {
        gap: 22px;
    }

    .arsam-header__menu-link {
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .arsam-header__portal-text {
        display: none;
    }

    .arsam-header__portal-button {
        width: 42px;
        height: 42px;

        padding: 8px;
    }
}