/* /business/_components/Header/Header.css */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 30px;

    /* Updated for new design */
    position: relative; /* No longer sticky */
    background-color: #ffffff;
    z-index: 99;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 25px; /* Space between header and content cards */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
}

.header-search {
    position: relative;
    width: 300px;
}
.header-search i {
    position: absolute;
    inset-inline-start: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    pointer-events: none;
}
.header-search input {
    width: 100%;
    padding-block: 10px;
    padding-inline-start: 40px;
    padding-inline-end: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: white;
    font-size: 14px;
    box-sizing: border-box;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-preview {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}
.btn-preview:hover {
    background: #2980b9;
}

.user-profile {
    position: relative; /* For anchoring the dropdown */
}
.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* =================================
   MOBILE/TABLET STATE
   ================================= */
@media (max-width: 991px) {
    .top-header {
        padding: 0 15px;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 767px) {
    .header-search {
        display: none; /* Hide search bar on small phones */
    }
    .btn-preview-text {
        display: none; /* Show icon only */
    }
    .btn-preview {
        padding: 8px 10px;
    }
    .header-right {
        gap: 15px;
    }
}

/* --- Language Switcher (Restored from original) --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ecf0f1;
    padding: 4px 8px;
    border-radius: var(--border-radius);
}

.lang-switcher span {
    color: #95a5a6;
    font-size: 14px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #7f8c8d;
    border-radius: 4px;
    line-height: 1;
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}