
.header_1 {
    padding: 1rem 0;
}

.header_1 .header_1-wrapper {
    height: 78px;

    padding: 0 1.25rem;

    border-radius: 24px;

    backdrop-filter: blur(18px);

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.15);

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

    transition: 0.3s ease;
}
.header_1-actions .header-user
{
    background: #411bbd;
    color: #fff;
}
.header_1-mobile-btn
{
    font-size: 30px;
}
.header_1-actions .header-user .ti
{

    color: #fff !important;;
}
.header.dynamic.scrolled .header_1-wrapper {
    background: rgba(255,255,255,0.75);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

[data-bs-theme=dark] .header.dynamic.scrolled .header_1-wrapper {
    background: rgba(17,24,39,0.85);
}

.header_1-logo {
    gap: 0.75rem;
    text-decoration: none;
}

.header_1-logo h1 {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0;
}

.header_1-nav {
    gap: 0.5rem;
}

.header_1-nav .btn {
    height: 48px;

    border-radius: 14px;

    font-weight: 700;

    transition: 0.25s ease;
}

.header_1-nav .btn:hover {
    background: rgba(255,255,255,0.12);
}

[data-bs-theme=dark] .header_1-nav .btn:hover {
    background: rgba(255,255,255,0.05);
}

.header_1-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header_1-theme,
.header_1-mobile-btn {
    width: 48px;
    height: 48px;

    border-radius: 14px !important;

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

    transition: 0.25s ease;
}

.header_1-theme:hover,
.header_1-mobile-btn:hover {
    transform: translateY(-2px);
}

.header_1-user {
    height: 48px;

    border-radius: 14px !important;

    padding-inline: 1rem;

    display: flex;
    align-items: center;
    gap: 0.5rem;

    transition: 0.25s ease;
}

.header_1-user:hover {
    transform: translateY(-2px);
}

.header_1-nav .dropdown-menu {
    border: none;
    border-radius: 20px;

    padding: 0.75rem;

    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.header_1-nav .dropdown-item {
    border-radius: 12px;

    padding: 0.9rem 1rem;

    display: flex;
    align-items: center;
    gap: 0.75rem;

    font-weight: 700;
}

@media (max-width: 768px) {

    .header_1 .header_1-wrapper {
        height: 68px;
        border-radius: 18px;
        padding: 0 0.75rem;
    }

    .header_1-user div {
        display: none;
    }

}




/* ===== جایگذاری کامل رنگ‌ها به صورت کد (بدون var) ===== */

/* :root را هم اگر می‌خواهی نگه دار، مشکلی ندارد؛
   ولی در این نسخه هیچ جایی از var(...) استفاده نشده. */

.header_2 {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    position: absolute;
    top: 0;
    z-index: 999;
}
.header_2_nav a
{
    color: #ffffff;
}
.header_2_topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header_2_topbar_container {
    max-width: 1450px;
    margin: auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #cbd5e1;
    font-size: 14px;
}

.header_2_container {
    max-width: 1450px;
    height: 90px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 20px;
}

.header_2_logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    flex-shrink: 0;
}

.header_2_logo img {
    width: 70px;
}

.header_2_logo h2 {
    font-size: 28px;
    font-weight: 900;
}

.header_2_nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header_2_item {
    position: relative;
}

.header_2_link {
    text-decoration: none;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 500;
    transition: 0.35s;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 8px 0;
}

.header_2_link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background: #6d4cff;          /* primary-light */
    border-radius: 999px;
    transition: 0.35s;
}

.header_2_link:hover {
    color: #6d4cff;               /* primary-light */
}

.header_2_link:hover::after {
    width: 100%;
}

.header_2_dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    min-width: 230px;
    background: #ffffff;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.header_2_item:hover .header_2_dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header_2_dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f172a;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
}

.header_2_dropdown a i {
    font-size: 20px;
    color: #4619df;               /* primary */
}

.header_2_dropdown a:hover {
    background: #ede7ff;          /* primary-soft */
    color: #4619df;               /* primary */
}

.header_2_actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header_2_theme {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.35s;
}

.header_2_theme i {
    font-size: 22px;
}

.header_2_theme:hover {
    background: #ffffff;
    color: #0f172a;               /* black */
}

.header_2_user {
    border: none;
    background: linear-gradient(135deg, #4619df 0%, #6d4cff 100%); /* gradient-primary */
    color: #ffffff;
    padding: 13px 24px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.35s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header_2_user i {
    font-size: 22px;
}

.header_2_user:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(70, 25, 223, 0.2); /* shadow */
}

@media (max-width: 992px) {
    .header_2_nav,
    .header_2_theme {
        display: none;
    }

    .header_2_container,
    .header_2_topbar_container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .header_2_topbar_container {
        font-size: 12px;
        gap: 10px;
    }

    .header_2_logo h2 {
        font-size: 22px;
    }

    .header_2_user span {
        display: none;
    }

    .header_2_user {
        padding: 12px 16px;
    }
}

@media (max-width: 576px) {
    .header_2_topbar {
        display: none;
    }

    .header_2_container {
        height: 80px;
        padding: 0 14px;
    }

    .header_2_logo img {
        width: 38px;
    }

    .header_2_logo h2 {
        font-size: 20px;
    }
}
