.header .header-left .header-search form {
    position: relative;
}

.header .header-left .header-search form input {
    padding-left: 16px !important;
    padding-right: 50px !important;
}

.header .header-left .header-search form .search-btn-emphasis {
    position: absolute !important;
    right: 8px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.header .header-left .header-search form .search-btn-emphasis:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

.header .header-left .header-search form .search-btn-emphasis i {
    font-size: 16px;
}

.menu-toggle-btn button i {
    font-size: 20px;
}

/* Profile info text overflow handling */
.header .header-right .profile-box .profile-info .info > div {
    max-width: 200px;
}

.header .header-right .profile-box .profile-info .info p {
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.header .header-right .profile-box .profile-info .info small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .header .header-right .profile-box .profile-info .info > div {
        max-width: 120px;
    }
    
    .header .header-right .profile-box .profile-info .info p {
        font-size: 13px;
    }
    
    .header .header-right .profile-box .profile-info .info small {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .header .header-right .profile-box .profile-info .info > div {
        max-width: 80px;
    }
    
    .header .header-right .profile-box .profile-info .info p {
        font-size: 12px;
    }
    
    .header .header-right .profile-box .profile-info .info small {
        font-size: 9px;
    }
}
