/* ============================================================
   TravelTro Supplier - Standard Executive Header Styles
   ============================================================ */

:root {
    --header-bg: #ffffff;
    --header-border: #e2e8f0;
    --brand-primary: #b01616;
    --brand-gradient: linear-gradient(135deg, #c81e1e 0%, #8f0d0d 100%);
    --nav-text: #334155;
    --nav-hover: #b01616;
    --nav-active-bg: #fef2f2;
}

.app-standard-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.app-navbar-wrap {
    padding: 10px 0;
    background: #ffffff !important;
}

/* Brand Identity */
.app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 0;
}

.brand-logo-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-meta {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Center Nav Menu */
.app-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--nav-text) !important;
    padding: 8px 16px !important;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.app-nav-link i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.2s ease;
}

.app-nav-link:hover {
    color: var(--brand-primary) !important;
    background: var(--nav-active-bg);
    border-color: #fee2e2;
}

.app-nav-link:hover i {
    color: var(--brand-primary);
}

.app-nav-link.active {
    color: var(--brand-primary) !important;
    background: var(--nav-active-bg);
    border-color: #fecaca;
    font-weight: 700;
}

.app-nav-link.active i {
    color: var(--brand-primary);
}

/* Right Section */
.app-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Support Pill */
.support-pill-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px 14px;
}

.support-icon-pulse {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid #bbf7d0;
}

.support-meta {
    display: flex;
    flex-direction: column;
}

.support-meta small {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.1;
}

.support-meta a {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.2;
}

.support-meta a:hover {
    color: var(--brand-primary);
}

/* User Profile Dropdown */
.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 5px 6px;
    border-radius: 30px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-profile-btn:hover,
.user-profile-btn[aria-expanded="true"] {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.user-profile-btn::after {
    display: none;
}

.avatar-ring {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.user-avatar-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #ffffff;
}

.online-status-dot {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.user-text-meta {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-company-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.1;
}

.dropdown-chevron {
    font-size: 16px;
    color: #94a3b8;
}

/* Dropdown Menu */
.app-dropdown-menu {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 6px;
    min-width: 200px;
    margin-top: 8px !important;
}

.app-dropdown-item {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
}

.app-dropdown-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.app-dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #dc2626 !important;
}

/* Mobile Toggler */
.app-nav-toggler {
    border: 1.5px solid #e2e8f0;
    padding: 6px 10px;
    border-radius: 8px;
    color: #0f172a;
    font-size: 20px;
}

.app-nav-toggler:focus {
    box-shadow: none;
    border-color: var(--brand-primary);
}

@media (max-width: 991px) {
    .app-nav-menu {
        padding: 14px 0;
        border-top: 1px solid #f1f5f9;
        margin-top: 10px;
        align-items: flex-start;
    }

    .app-header-right {
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
        justify-content: space-between;
        width: 100%;
    }
}
