.main-sidebar {
    background: #001A33 !important;
    color: #f4f6ff;
    border-right: none;
    box-shadow: 0 20px 40px rgba(7, 12, 22, 0.55);
}

.main-sidebar .brand-link {
    border-bottom: none;
    text-align: center;
    padding: 1.25rem 1rem;
    background: #001A33 !important;
}

.nav-sidebar .nav-header {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #ffb84d;
    margin: 1.5rem 1.25rem 0.5rem 1.25rem;
    text-transform: uppercase;
}

.nav-sidebar .nav-link {
    border-radius: 14px;
    margin: 0.15rem 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    transition: all 0.2s ease;
}

.nav-sidebar .nav-link:hover,
.nav-sidebar .nav-link:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateX(4px);
}

.nav-sidebar .nav-link.active {
    background: linear-gradient(135deg, #ffb84d, #f29f05);
    color: #1c2163;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.nav-sidebar .nav-link i {
    width: 28px;
    text-align: center;
}

.sidebar-bottom-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px 16px;
    margin: 18px 12px 26px;
    gap: 14px;
}

.sidebar-bottom-avatar {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease;
}

.sidebar-bottom-avatar:hover {
    transform: translateY(-2px);
}

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

.sidebar-language .btn-language {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
}

.sidebar-language .flag-icon {
    font-size: 1.1rem;
}

.sidebar-language .dropdown-menu {
    min-width: 160px;
    border-radius: 12px;
    box-shadow: 0 22px 45px -25px rgba(6, 12, 24, 0.5);
}

.sidebar-language .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-mini.sidebar-collapse .sidebar-bottom-panel {
    margin: 12px;
}

.main-header,
.main-header.navbar-white {
    background: #001A33 !important;
    color: #fff !important;
    box-shadow: none;
}

.main-header .navbar-nav {
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.main-header .navbar-nav::-webkit-scrollbar {
    display: none;
}

.main-header .navbar-nav .nav-item {
    display: flex;
    flex: 0 0 auto;
}

.main-header .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    white-space: nowrap;
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .show > .nav-link {
    color: #ffb84d !important;
}

.main-header .navbar-nav .nav-link.nk-top-action {
    background: linear-gradient(135deg, #ffb84d 0%, #f29f05 100%);
    color: #0f1741 !important;
    border-radius: 18px;
    font-weight: 700;
    padding: 0.55rem 1.2rem;
    margin-right: 0.6rem;
    box-shadow: 0 18px 32px -18px rgba(255, 184, 77, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
    letter-spacing: 0.01em;
}

.main-header .navbar-nav .nav-link.nk-top-action-ready {
    opacity: 1;
}

.main-header .navbar-nav .nav-link.nk-top-action i {
    font-size: 0.95rem;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(15, 23, 65, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-header .navbar-nav .nav-link.nk-top-action .nk-top-action-label {
    margin-left: 8px;
}

.nk-action-contact i {
    color: #43d5c8;
}

.nk-action-quote i {
    color: #ffb84d;
}

.nk-action-order i {
    color: #63c5ff;
}

.nk-action-purchase i {
    color: #c184ff;
}

.main-header .navbar-nav .nav-link.nk-top-action:hover {
    color: #0f1741 !important;
    box-shadow: 0 18px 40px -18px rgba(242, 159, 5, 0.95);
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .main-header .navbar-nav {
        justify-content: flex-start;
    }

    .main-header .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.45rem 0.8rem;
    }

    .main-header .navbar-nav .nav-link.nk-top-action {
        margin: 0.1rem 0;
    }

    .main-header .navbar-nav .nav-link.nk-top-action i {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 575.98px) {
    .main-header .navbar-nav .nav-link {
        font-size: 0.85rem;
    }

    .main-header .navbar-nav .nav-link.nk-top-action {
        padding: 0.5rem 0.75rem;
        justify-content: center;
    }

    .main-header .navbar-nav .nav-link.nk-top-action .nk-top-action-label {
        display: none;
    }

    .main-header .navbar-nav .nav-link.nk-top-action i {
        margin-right: 0;
    }
}

.nav-sidebar .nk-sidebar-purchase > a > i {
    color: #c184ff;
}

/* NUKL IA */
.nuklia-chat-toggle {
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 1040;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-weight: 700;
    border: none;
    background: linear-gradient(135deg, #ffb84d 0%, #f29f05 100%);
    color: #0f1741;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 28px 45px -32px rgba(0, 0, 0, 0.6);
}
.nuklia-chat-toggle-icon {
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    justify-content: center;
}
.nuklia-chat-toggle i {
    font-size: 1.05rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 65, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nuklia-chat-toggle:hover,
.nuklia-chat-toggle:focus {
    background: linear-gradient(135deg, #ffd27a 0%, #ffb84d 100%);
    color: #061032;
    box-shadow: 0 32px 52px -30px rgba(255, 184, 77, 0.85);
}
.nuklia-chat-panel {
    position: fixed;
    bottom: 4.5rem;
    right: 1rem;
    width: clamp(320px, 30vw, 420px);
    max-height: 70vh;
    background: #ffffff;
    color: #1c2163;
    border-radius: 22px;
    box-shadow: 0 35px 60px -28px rgba(15, 26, 51, 0.35);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    z-index: 1039;
    border: 1px solid rgba(28,33,99,0.08);
}
.nuklia-chat-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.nuklia-chat-header {
    padding: 1rem 1.25rem;
    background: #001a33;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}
.nuklia-chat-body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}
.nuklia-message {
    margin-bottom: 0.75rem;
    display: flex;
}
.nuklia-message-user {
    justify-content: flex-end;
}
.nuklia-message-content {
    background: #f4f6ff;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    width: fit-content;
    max-width: 90%;
    border: 1px solid rgba(28,33,99,0.08);
}
.nuklia-message-user .nuklia-message-content {
    background: linear-gradient(135deg, #ffb84d, #f29f05);
    color: #0f1741;
    border: none;
    box-shadow: 0 12px 30px -18px rgba(255, 184, 77, 0.8);
}
.nuklia-json {
    background: rgba(15, 26, 51, 0.05);
    color: #1c2163;
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px dashed rgba(28,33,99,0.2);
}
.nuklia-result {
    background: rgba(28,33,99,0.05);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(28,33,99,0.08);
}
.nuklia-result-item + .nuklia-result-item {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}
.nuklia-chat-input {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.nuklia-attach-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.nuklia-attachment-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    background: #f0f2f5;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
}
.nuklia-chat-input textarea {
    resize: none;
}
@media (max-width: 575.98px) {
    .nuklia-chat-panel {
        width: calc(100vw - 1.6rem);
        right: 0.8rem;
        left: 0.8rem;
    }
    .nuklia-chat-toggle {
        padding: 0.7rem 0.85rem;
        gap: 0.4rem;
        bottom: 1rem;
        right: 1rem;
        min-width: auto;
    }
    .nuklia-chat-toggle i {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}
