.line {
    background-color: #e404b4;
}

.dropdown-menu .dropdown-item.highlight-post-service {
    background: linear-gradient(135deg, #e404b4, #ff7ad9);
    color: #ffffff;
    border-radius: 10px;
    margin: 6px 12px 10px;
    width: calc(100% - 24px);
    padding: 10px 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(228, 4, 180, 0.25);
}

.dropdown-menu .dropdown-item.highlight-post-service i {
    color: #ffffff;
}

.dropdown-menu .dropdown-item.highlight-post-service:hover,
.dropdown-menu .dropdown-item.highlight-post-service:focus {
    background: linear-gradient(135deg, #c9039a, #ff5fcd);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-header {
    background: #343957;
}

.nav-header .brand-logo {
    color: #ffffff;
}

.nav-header .hamburger .line {
    background-color: #ffffff;
}

.nav-control-mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .nav-header {
        z-index: 10000;
    }

    .nav-header .nav-control {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0.75rem;
        top: 0.75rem;
        right: auto;
        transform: none;
        z-index: 10000;
        opacity: 1;
        visibility: visible;
    }

    .nav-header .nav-control .hamburger {
        display: inline-block !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-control-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0.75rem;
        top: 0.75rem;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        z-index: 10001;
    }

    .nav-control-mobile .hamburger {
        top: 0;
    }

    .nav-control-mobile .hamburger .line {
        background-color: #343957;
        margin-top: 4px;
        margin-bottom: 4px;
    }
}

.navbar-wallet-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(228, 4, 180, 0.22);
    background: rgba(255, 255, 255, 0.9);
    color: #343957;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.navbar-wallet-toggle .wallet-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(228, 4, 180, 0.16);
    box-shadow: inset 0 0 0 1px rgba(228, 4, 180, 0.3);
}

.navbar-wallet-toggle .wallet-icon svg {
    width: 14px;
    height: 14px;
    fill: #e404b4;
}

.navbar-wallet-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-wallet-text span:first-child {
    font-size: 0.72rem;
    color: rgba(52, 57, 87, 0.7);
    font-weight: 600;
}

.navbar-wallet-text span:last-child {
    font-size: 0.9rem;
    font-weight: 700;
    color: #343957;
}

.navbar-wallet-toggle.is-loading .wallet-icon,
.navbar-wallet-toggle.is-loading .navbar-wallet-text {
    opacity: 0.2;
}

.navbar-wallet-toggle.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(228, 4, 180, 0.08), rgba(228, 4, 180, 0.35), rgba(228, 4, 180, 0.08));
    transform: translateX(-100%);
    animation: navbar-wallet-shimmer 1.1s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navbar-wallet-shimmer {
    100% { transform: translateX(100%); }
}

.navbar-wallet-menu {
    min-width: 220px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(228, 4, 180, 0.5);
    box-shadow: 0 16px 36px rgba(228, 4, 180, 0.18);
    position: relative;
    overflow: hidden;
}

.navbar-wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.navbar-wallet-value {
    font-size: 1rem;
    font-weight: 700;
    color: #343957;
}

.navbar-wallet-loader {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid rgba(228, 4, 180, 0.25);
    border-top-color: #e404b4;
    animation: navbar-wallet-spin 0.9s linear infinite;
}

@keyframes navbar-wallet-spin {
    to { transform: rotate(360deg); }
}

.navbar-wallet-refresh {
    border: none;
    background: #e404b4;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(228, 4, 180, 0.28);
}

.navbar-wallet-refresh:hover,
.navbar-wallet-refresh:focus {
    background: #c9039a;
}

.navbar-wallet-menu.is-loading .navbar-wallet-row,
.navbar-wallet-menu.is-loading .navbar-wallet-link {
    opacity: 0.35;
}

.navbar-wallet-menu.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(228, 4, 180, 0.12), rgba(228, 4, 180, 0.32), rgba(228, 4, 180, 0.12));
    transform: translateX(-100%);
    animation: navbar-wallet-shimmer 1.1s ease-in-out infinite;
    pointer-events: none;
}

.navbar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 6px 12px rgba(17, 24, 39, 0.12);
    border: 2px solid rgba(228, 4, 180, 0.25);
}

.navbar-notify-list {
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.notification_dropdown .navbar-notify-menu {
    min-width: 320px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    transform: translateX(18px);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    overflow: hidden;
}

.notification_dropdown .navbar-notify-menu.show {
    transform: translateX(0);
    opacity: 1;
}

.navbar-notify-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    transition: background .15s ease, box-shadow .15s ease;
}

.navbar-notify-item:hover,
.navbar-notify-item:focus-within {
    background: rgba(15, 23, 42, 0.04);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.navbar-notify-item:last-child {
    border-bottom: none;
}

.navbar-notify-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.navbar-notify-content a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.navbar-notify-time {
    font-size: 0.72rem;
    color: #8a94a6;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.navbar-notify-text {
    display: block;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.35;
    white-space: pre-line;
}

.navbar-notify-trash {
    border: none;
    background: transparent;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
}

.navbar-notify-trash:hover {
    background: rgba(239, 68, 68, 0.12);
}

.navbar-notify-empty {
    padding: 10px 12px;
    text-align: center;
    color: #6b7280;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .notification_dropdown .navbar-notify-menu {
        position: fixed;
        min-width: 0;
        width: auto;
        max-width: 420px;
        left: 12px !important;
        right: 12px !important;
        top: 64px;
        transform: translateY(8px);
        margin-top: 0;
        z-index: 10002;
    }

    .notification_dropdown .navbar-notify-menu.show {
        transform: translateY(0);
    }

    .navbar-notify-list {
        max-height: 60vh;
    }
}

.notification_dropdown .all-notification {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 24px);
    margin: 10px 12px 12px;
    min-height: 44px;
    padding: 10px 36px 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(228, 4, 180, 0.35);
    background: #ffffff;
    color: #343957;
    font-weight: 600;
    font-size: 0.82rem;
    transition: background .15s ease, transform .15s ease, border-color .15s ease;
    text-align: center;
    line-height: 1;
    position: relative;
}

.notification_dropdown .all-notification i {
    margin-left: 0;
    font-size: 0.85rem;
    color: #e404b4;
    position: absolute;
    right: 14px;
}

.notification_dropdown .all-notification:hover {
    background: rgba(228, 4, 180, 0.06);
    border-color: rgba(228, 4, 180, 0.36);
    transform: translateY(-1px);
    text-decoration: none;
    color: #343957;
}

.navbar-wallet-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e404b4, #ff7ad9);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(228, 4, 180, 0.25);
}

.navbar-wallet-link-secondary {
    background: #ffffff;
    color: #b6038e;
    border: 1px solid rgba(228, 4, 180, 0.22);
    box-shadow: none;
}

.navbar-wallet-link-secondary:hover,
.navbar-wallet-link-secondary:focus {
    color: #930070;
    background: #fff4fc;
}

.navbar-wallet-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #343957;
    margin: 8px 12px 6px;
    border: 1px solid rgba(228, 4, 180, 0.5);
    box-shadow: 0 10px 18px rgba(228, 4, 180, 0.16);
    position: relative;
    overflow: hidden;
}

.navbar-wallet-mobile .wallet-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(228, 4, 180, 0.12);
    box-shadow: inset 0 0 0 1px rgba(228, 4, 180, 0.25);
}

.navbar-wallet-mobile .wallet-icon svg {
    width: 14px;
    height: 14px;
    fill: #e404b4;
}

.navbar-wallet-mobile .wallet-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-weight: 600;
}

.navbar-wallet-mobile .wallet-text span:first-child {
    font-size: 0.72rem;
    color: rgba(52, 57, 87, 0.65);
    font-weight: 600;
}

.navbar-wallet-mobile .wallet-text span:last-child {
    font-size: 0.9rem;
    font-weight: 700;
    color: #343957;
}

.navbar-wallet-mobile.is-loading .wallet-icon,
.navbar-wallet-mobile.is-loading .wallet-text {
    opacity: 0.35;
}

.navbar-wallet-mobile.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.1));
    transform: translateX(-100%);
    animation: navbar-wallet-shimmer 1.1s ease-in-out infinite;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .navbar-wallet-mobile {
        display: flex;
    }
}

.navbar-post-service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(228, 4, 180, 0.5);
    background: linear-gradient(135deg, #e404b4, #ff7ad9);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(228, 4, 180, 0.25);
    text-decoration: none;
}

.navbar-post-service:hover,
.navbar-post-service:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.navbar-post-service-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.navbar-post-service-icon i {
    color: #fff;
    font-size: 14px;
}

.header .navbar {
    position: relative;
}

.header .navbar .navbar-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 3;
}

.navbar-brand img {
    max-height: 50px;
}

@media (max-width: 767.98px) {
    .header .navbar .navbar-brand {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
    }
    .navbar-brand img {
        max-height: 44px;
    }
}

.navbar-auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-auth-actions .post-service-auth-btn {
    min-width: 110px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.post-service-auth-btn {
    text-align: center;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease;
}

.post-service-auth-btn.outline {
    border: 1px solid #e404b4;
    color: #e404b4;
    background: #fff;
}

.post-service-auth-btn.solid {
    background: linear-gradient(135deg, #e404b4, #ff7ad9);
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 8px 16px rgba(228, 4, 180, 0.25);
}

.post-service-auth-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .navbar-auth-actions {
        gap: 8px;
    }
    .navbar-auth-actions .post-service-auth-btn {
        min-width: 96px;
        padding: 8px 12px;
    }
}
