/* UnifiTelekom - Zoho Desk Header Custom Styling */

/* Main Header Container */
.Header__header {
    background: #000000;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #00bfff 0%, #8a2be2 50%, #ff1493 100%);
    border-image-slice: 1;
    box-shadow: 0 4px 16px rgba(0, 191, 255, 0.3);
    position: relative;
}

/* Header Background Image/Gradient */
.Header__headerImg {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15) 0%, rgba(138, 43, 226, 0.15) 50%, rgba(255, 20, 147, 0.15) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Header Container */
.Header__headerContainer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Header Row */
.Header__headerRow {
    display: flex;
    align-items: center;
    padding: 20px 0;
    gap: 30px;
}

/* Brand Section */
.Header__brandLogo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.Header__brandLogo img:hover {
    transform: scale(1.05);
}

.Header__brandName {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(90deg, #00bfff 0%, #8a2be2 50%, #ff1493 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 15px;
    letter-spacing: -0.5px;
    filter: brightness(1.3);
}

.Header__brand {
    display: flex;
    align-items: center;
}

/* Search Section */
.Header__headerSearch {
    flex: 1;
    max-width: 500px;
}

.Header__headerSearchInner input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    color: #ffffff;
}

.Header__headerSearchInner input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.Header__headerSearchInner input:focus {
    border-color: #00bfff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
    outline: none;
}

/* Navigation Tabs */
.Header__headerNav {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
}

.Header__tabsList {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.Header__tabsTab {
    position: relative;
}

.Header__tabsTab a {
    display: block;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.Header__tabsTab a:hover {
    color: #00bfff;
    background: rgba(0, 191, 255, 0.1);
}

.Header__tabsTab.active a,
.Header__tabsTab a.active {
    color: #00bfff;
    background: rgba(0, 191, 255, 0.15);
}

.Header__tabsTab.active a::after,
.Header__tabsTab a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bfff 0%, #8a2be2 50%, #ff1493 100%);
    border-radius: 3px 3px 0 0;
}

/* User Preference */
.Header__headerRow > div:last-child {
    margin-left: auto;
}

/* User menu button */
.Header__headerRow button,
.Header__headerRow .btn {
    background: linear-gradient(135deg, #00bfff 0%, #8a2be2 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 191, 255, 0.4);
}

.Header__headerRow button:hover,
.Header__headerRow .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 191, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .Header__headerContainer {
        padding: 0 20px;
    }
    
    .Header__headerRow {
        flex-wrap: wrap;
        padding: 15px 0;
    }
    
    .Header__headerSearch {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .Header__tabsList {
        flex-wrap: wrap;
    }
    
    .Header__tabsTab a {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .Header__brandName {
        font-size: 16px;
    }
    
    .Header__brandLogo img {
        height: 40px;
    }
}

/* Additional utility styles */
.Header__headerBrand {
    flex-shrink: 0;
}

/* Smooth scrolling effect */
.Header__header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 191, 255, 0.4);
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #00bfff;
    outline-offset: 2px;
}

/* Loading state */
.Header__header.loading {
    opacity: 0.7;
    pointer-events: none;
}
/* ===================================================================
   ZOHO DESK ADDITIONAL OVERRIDES - Dark Theme
   Add this AFTER the main custom CSS to ensure proper styling
   =================================================================== */

/* Override any Zoho default white backgrounds */
.Header__header,
.Header__header * {
    box-sizing: border-box;
}

/* Ensure header stays black */
#headerContainer {
    background: #000000 !important;
}

/* Force brand name gradient to show */
.Header__brandName {
    color: transparent !important;
}

/* Search bar overrides */
.Header__headerSearchInner input,
.Header__headerSearchInner input[type="text"],
.Header__headerSearchInner input[type="search"] {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.Header__headerSearchInner input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Navigation links - ensure they're visible */
.Header__tabsTab a,
.Header__tabsTab a:link,
.Header__tabsTab a:visited {
    color: rgba(255, 255, 255, 0.7) !important;
}

.Header__tabsTab a:hover,
.Header__tabsTab.active a,
.Header__tabsTab a.active {
    color: #00bfff !important;
}

/* Sign In/Sign Out button overrides */
.Header__headerRow .signInOut a,
.Header__headerRow .signInOut button {
    background: linear-gradient(135deg, #00bfff 0%, #8a2be2 100%) !important;
    color: white !important;
    border: none !important;
}

/* User preference dropdown */
.Header__headerRow .userPref,
.Header__headerRow .userPref button,
.Header__headerRow .userPref a {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Dropdown menus (if any) */
.Header__headerRow .dropdown-menu,
.Header__headerRow .userPref .dropdown {
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.Header__headerRow .dropdown-menu a,
.Header__headerRow .userPref .dropdown a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.Header__headerRow .dropdown-menu a:hover,
.Header__headerRow .userPref .dropdown a:hover {
    background: rgba(0, 191, 255, 0.1) !important;
    color: #00bfff !important;
}

/* Mobile menu toggle (hamburger) */
.Header__headerNav .menuToggle,
.Header__headerNav .hamburger {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

/* Form shortcuts in navigation */
.Header__tabsList .formShortcut a {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Ensure icons are visible */
.Header__header svg,
.Header__header i,
.Header__header .icon {
    color: rgba(255, 255, 255, 0.7) !important;
    fill: rgba(255, 255, 255, 0.7) !important;
}

.Header__tabsTab:hover svg,
.Header__tabsTab:hover i,
.Header__tabsTab:hover .icon {
    color: #00bfff !important;
    fill: #00bfff !important;
}

/* Search icon */
.Header__headerSearchInner .searchIcon,
.Header__headerSearchInner svg {
    color: rgba(255, 255, 255, 0.5) !important;
    fill: rgba(255, 255, 255, 0.5) !important;
}

/* Focus states for accessibility - make them visible on dark bg */
.Header__header input:focus,
.Header__header a:focus,
.Header__header button:focus {
    outline: 2px solid #00bfff !important;
    outline-offset: 2px;
}

/* Active tab indicator enhancement */
.Header__tabsTab.active::after,
.Header__tabsTab a.active::after {
    opacity: 1 !important;
}

/* Notification badges (if any) */
.Header__header .badge,
.Header__header .notification-badge {
    background: linear-gradient(135deg, #ff1493 0%, #ff6b6b 100%) !important;
    color: white !important;
    border: 2px solid #000000 !important;
}

/* User avatar (if present) */
.Header__header .avatar,
.Header__header .user-avatar {
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Responsive - Mobile adjustments */
@media (max-width: 768px) {
    /* Mobile menu when expanded */
    .Header__headerNav.expanded,
    .Header__tabsList.mobile-menu {
        background: #000000 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Mobile search */
    .Header__headerSearch.mobile-search {
        background: #000000 !important;
    }
}

/* Loading states */
.Header__header.loading::after {
    background: rgba(0, 191, 255, 0.2) !important;
}

/* Hover state for logo */
.Header__brandLogo a:hover img {
    opacity: 0.9;
}

/* Text selection within header */
.Header__header ::selection {
    background: rgba(0, 191, 255, 0.3);
    color: white;
}

.Header__header ::-moz-selection {
    background: rgba(0, 191, 255, 0.3);
    color: white;
}

/* Scrollbar styling for search dropdowns */
.Header__header *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.Header__header *::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.Header__header *::-webkit-scrollbar-thumb {
    background: rgba(0, 191, 255, 0.3);
    border-radius: 4px;
}

.Header__header *::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 191, 255, 0.5);
}

